Los Angeles Rams kicker Greg Zuerlein missed a 44-yard field goal with 11 seconds left as Seattle held on for a 30-29 home victory on Thursday night.
Russell Wilson threw a five-yard touchdown pass to Chris Carson on fourth-and-goal with 2:28 remaining to give the Seahawks the lead.
Carson finished with 118 yards rushing on 27 carries and the touchdown was his only reception.
Jared Goff and the Rams appeared on the verge of a stunning victory after driving into field-goal range in the final 90 seconds. Zuerlein hit three field goals earlier – his longest from 47 yards – but his final attempt went wide right.
It gave the Seahawks (4-1) the win they needed against their NFC West foe after losing six of the past eight to the Rams.
Wilson was 17 of 23 for 268 and four touchdowns – a 13-yard pass to Tyler Lockett and 40 yards to DK Metcalf in the first half.
He threw a 10-yarder to David Moore in the third quarter and had a final answer after the Rams’ had taken a 29-24 lead.
Goff finished 29 of 49 for 395 yards and one touchdown just days after throwing for a career-high 517 yards and tying an NFL record with 45 completions in a loss to Tampa Bay.
Gerald Everett had seven catches for 136 yards, and Cooper Kupp had nine grabs for 118 yards and a TD as the Rams dropped to 3-2.
Todd Gurley had 15 carries for 51 yards and two second-half touchdowns.