HENDERSON, Nev.>> Las Vegas Raiders quarterback Derek Carr has missed only three games in nine years, all because of injury.

Now, for the first time, he won’t play because of what coach Josh McDaniels said Wednesday were offensive performance reasons.

McDaniels not only will start Jarrett Stidham the final two weeks, including Sunday’s home game against the San Francisco 49ers, but Carr will be inactive. Practice squad quarterback Chase Garbers will be the backup.

The Raiders (6-9) have lost two of the past three games to all but fall out of the playoff race just a year after making the postseason.

Carr has not completed more than 55 percent of his passes over the past four games, and has thrown seven interceptions and six touchdown passes.

“I don’t think anybody feels like we’ve done enough offensively certainly in a couple of these games,” McDaniels said.

By not playing Carr, the Raiders eliminate the possibility of a serious injury affecting his contract status. The club has until Feb. 15 to decide whether to release or trade Carr — who has a no-trade clause but could waive it — or he would receive $33 million for 2023. A serious injury would guarantee that money plus another $7.5 million for 2024.

McDaniels is more than familiar with Stidham, who spent the previous three seasons with New England. McDaniels was the Patriots offensive coordinator.