The San Francisco 49ers are 6-0 — but only just. San Francisco held on for a 23-17 Monday Night Football victory over the Washington Commanders at Levi's Stadium that came down to the last play, after the 49ers led 20-3 at halftime and 23-3 with 18 seconds left in the third quarter.

The first half was a rout: Washington managed 17 plays, two first downs and 90 yards, while San Francisco ran 41 plays for 303 yards and 17 first downs. Christian McCaffrey scored twice on the ground, and Brock Purdy finished 29 of 40 for 300 yards and two touchdowns in the box score.

The second half was all Washington, which outgained San Francisco 224 to 72. Jayden Daniels threw two touchdown passes, including a nine-yard score to Rachaad White that cut the lead to 23-17 with under nine and a half minutes left. The night was costly for both sides: Commanders star Terry McLaurin was carted off with an apparent left knee injury in the first half, and 49ers receiver Mike Evans left with an Achilles problem and did not return.

Washington had two late chances. On fourth down at the San Francisco 17, Malik Mustapha forced Treylon Burks to drop a would-be touchdown with 1:54 remaining, and on the final snap, after the Commanders reached the 28, a grounding call and a combined sack by Ogbo Okoronkwo and Romello Height ended it. Washington fell to 1-4-1.