The Seahawks were without quarterback Russell Wilson in the fourth quarter after he sustained an injury to the middle finger of his right hand, hitting it on the arm of Rams rusher Aaron Donald on a pass attempt.
Wilson finished the night 11 of 16 for 152 yards with one touchdown and one interception.
Darrell Henderson Jr. rushed for a game-high 82 yards and a touchdown on 17 carries for the Rams (4-1). Stafford was 25 of 37, hitting Robert Woods 12 times for 150 yards.
The Seahawks (2-3) had a streak of nine consecutive victories in Thursday night games snapped.
Seattle pulled within 16-14 as backup Geno Smith engineered a 98-yard scoring drive early in the fourth quarter, capped by a 23-yard TD pass to DK Metcalf. Smith was 5 of 5 for 72 yards on the drive and finished 10 of 17 for 131 yards.
The Rams responded with their own a touchdown drive, as Sony Michel scored on a 2-yard run to make it 23-14 with 6:08 remaining.
Seattle’s Jason Myers kicked a 32-yard field goal with 2:45 left to make it 23-17.
The Seahawks got the ball back with 2:09 to play, but Smith’s pass on the next play was intercepted by Los Angeles safety Nick Scott after the intended receiver, Tyler Lockett, tripped over a defender.
Los Angeles’ Matt Gay kicked a 47-yard field goal with 24 seconds remaining to cap the scoring.
After trailing 7-3 at the intermission, the Rams took their first lead on their first possession of the second half, as Henderson scored on a 5-yard run.
The Rams scored again on their next drive, with Stafford hitting tight end Taylor Higbee on a 13-yard touchdown pass to make it 16-7 with 4:46 left in the quarter.
The Seahawks broke a scoreless tie with 9:04 left in the second quarter on a 19-yard pass from Wilson to Metcalf.
Gay’s 31-yarder pulled the Rams within 7-3 with 1:12 left in the half.
Seahawks leading rusher Chris Carson was inactive for the game because of a neck injury. Alex Collins carried 15 times for 47 yards in Carson’s absence.
–Field Level Media