SAN DIEGO (AP) -- Max Scherzer pitched brilliantly for seven innings, striking out a season-high 11 and holding San Diego to four hits in leading the Washington Nationals to a 4-1 victory Saturday night.
The Nationals won for the 14th time in 18 games.
The Padres were one out from being shut out for the second straight night and the fifth time in 12 games before Alexi Amarista hit an RBI single off Aaron Barrett. Drew Storen came on to strike out Derek Norris for his 11th save.
Wilson Ramos also had an RBI single in the three-run first to extend his career-best hitting streak to 18 games, the longest in the majors this year.
Scherzer (4-3), who walked only two, has struck out at least 10 three times in four starts.
The Padres had runners reach third base three times and Scherzer stranded them each time, including getting out of a bases-loaded jam in the fourth.
Scherzer retired the first 10 batters before walking Will Venable. Matt Kemp followed with a single -- his first hit off the right-hander in 23 career at-bats -- and Yangervis Solarte walked with two outs to load the bases. Scherzer then got Will Middlebrooks to pop up to second base.
Venable doubled with one out in the sixth and advanced on a wild pitch, but Scherzer retired Kemp and Justin Upton on fly balls. Solarte doubled off the base of the fence in right-center leading off the seventh and advanced on Alex Amarista's one-out single to left. Scherzer then struck out pinch-hitters Norris and Abraham Almonte.
The Nationals jumped on Andrew Cashner (1-7) in the first, ending his big league record of allowing two or fewer earned runs in 21 straight home games dating to June 11, 2013.
Ian Desmond doubled down the left field line with one out and came in on Yunel Escobar's single to right. Bryce Harper singled to right, Ryan Zimmerman brought in Escobar with a groundout and Ramos singled in Harper.
The Nationals added an unearned run off Cashner to make it 4-0 in the fourth. Danny Espinosa drew a leadoff walk and ended up on third when Cashner fielded Scherzer's bunt and overthrew second for an error. Espinosa scored on Denard Span's sacrifice fly.
Cashner allowed four runs, three earned, on nine hits in six innings, struck out six and walked two.
The Padres have given Cashner just two runs of support in his last five starts.
Nationals: OF Jayson Werth sat out with a swollen left wrist. He was hit by a pitch in Friday night's victory.
Padres: OF Melvin Upton, on the disabled list with an injured left foot, will begin a rehab assignment with Triple-A El Paso on Monday.
Nationals: Stephen Strasburg (2-3, 4.73 ERA) , who grew up in the San Diego area and played for Tony Gwynn at San Diego State, will pitch against the Padres at Petco Park for the second time in his career. He beat his hometown Padres 6-2 on May 16, 2013.
Padres: RHP Ian Kennedy (2-2, 5.92) has won two of his last three starts.