Christian McCaffrey caught touchdown passes of 74 and 66 yards, Deebo Samuel ran 70 yards for a score and the San Francisco 49ers beat the Dallas Cowboys 46-40 on Sunday at AT&T Stadium in Arlington, the official box score showed, in what CBS Sports said was the first 46-40 game in NFL history.

The 49ers improved to 8-1. The Cowboys fell to 4-6. San Francisco outgained Dallas 584 yards to 439 and held the ball for 31:47, according to the box score. Brock Purdy completed 22 of 28 passes for 389 yards and three touchdowns without an interception. Dak Prescott went 30 of 51 for 343 yards and five touchdowns, with one interception.

McCaffrey finished with 13 carries for 62 yards and a touchdown and four catches for 161 yards and two scores, the box score said. His longest reception was 74 yards. CBS Sports said he also scored on a 16-yard run early in the fourth quarter, then caught a 66-yard touchdown from Purdy and the two-point conversion that made it 46-32. That is 223 yards from scrimmage and three touchdowns.

Samuel had three carries for 78 yards, including a 70-yard touchdown run, and three catches for 31 yards and another score, the box score said. Rookie Kaelon Black, who was among Sunday's trending topics on X in San Francisco, ran 11 times for 53 yards and a 25-yard touchdown. George Kittle caught six passes for 74 yards, and Keenan Allen had five for 61.

For Dallas, George Pickens caught 11 passes for 145 yards and three touchdowns, CeeDee Lamb had seven for 72 yards and a score, and Ryan Flournoy added six for 71 yards and a touchdown, the box score said.

CBS Sports reported that the 49ers led 31-19 entering the fourth quarter, a strange number created in part by a missed Brandon Aubrey extra point earlier in the game. The fourth quarter then produced five touchdowns, one failed two-point try and two successful two-point conversions. After McCaffrey's 16-yard run, Dallas answered but failed on the two-point conversion to make it 38-25, CBS Sports said. The Cowboys scored again and kicked the extra point to cut it to 38-32, before Purdy and McCaffrey connected on the 66-yard score and the two-point play. Prescott's final touchdown pass and a successful two-point conversion made it 46-40. CBS Sports noted that 46-38 had happened before; 46-40 had not, becoming the 1,099th unique score in league history and the fourth Scorigami of the 2026 season.

San Francisco was flagged 11 times for 100 yards, Dallas five times for 35. The result keeps the 49ers among the NFC's top teams heading into the heart of November, after a game whose final score fans will be searching all night.