SAN FRANCISCO -- Trea Turner got five hits, Matt Adams homered and drove in six runs, and the Washington Nationals broke out of their offensive funk in a big way, routing the San Francisco Giants 15-2 Wednesday to end a four-game losing streak.
The Nationals had totaled just eight runs during their skid. Andrew Stevenson had two doubles, two singles and four RBIs as Washington set season highs for runs and hits (18).
Manager Dave Martinez's ballclub has been stunted by a rash of injuries this season but salvaged the final game of the three-game series at AT&T Park series to end a rough 4-5 road trip. Max Scherzer (5-1) did his part, striking out 10 in six innings.
Turner came into the game batting .232, and the leadoff man's slow start had contributed to the Nationals' struggles. He raised his batting average 35 points, tying a career high for hits in a game. He also scored twice, drove in two runs and stole his 10th base this season.
Adams matched his career best for RBIs. He singled as part of a three-run first, put the Nationals up 6-1 with a three-run homer off Jeff Samardzija (1-1) in the fourth and added a two-run single in the eighth.
The Nationals scored 14 of their 15 runs with two outs.
Scherzer earned his fourth consecutive win, all of them coming after a Washington loss. He allowed two runs and five hits, and reached double figures in strikeouts for the fourth time in six starts this season.
Brandon Belt and Pablo Sandoval each two hits apiece for the Giants.
Samardzija labored through a 30-pitch first inning and was done after retiring 11 batters. He gave up six runs on eight hits with three walks.
Nationals: 1B Ryan Zimmerman and 2B Howie Kendrick were given the day off.
Giants: Mac Williamson was a late scratch because of neck stiffness, one day after stumbling over the bullpen pitching mound and crashing into a low fence while chasing a foul ball. ... RHP Chris Stratton was placed on the paternity list. ... RHP Roberto Gomez was called up from Triple-A Sacramento.
Nationals: RHP Stephen Strasburg (2-2, 2.97 ERA) pitches against the Diamondbacks on Friday in Washington. He has yielded six earned runs and three homers over his last 13 innings.
Giants: LHP Derek Holland (0-3, 4.98) faces the Los Angeles Dodgers in the opener of a four-game series at AT&T Park on Friday night. Holland is winless in two career starts against the Dodgers.