PHILADELPHIA — For most pitchers, flirting with a no-hitter might be one of the most memorable days of your career. For Max Scherzer, it was just another day at the office.

Scherzer didn't allow a hit until the sixth inning and he was dominant through eight as the Washington Nationals continued their mastery of the Philadelphia Phillies with a 3-2 victory Tuesday night.

Scherzer (15-7) allowed three hits and struck out 11 while walking one. He was perfect through the first four innings, striking out five consecutive batters - all swinging - between the second and third innings.

He has taken a no-hitter into the sixth in nine of his 61 all-time starts with the Nationals, and has allowed just five total hits in his last two outings.

"Hey man, I mean that's why he's Max," Washington manager Dusty Baker said. "You know we had a good chance to win when Max pitches, and there's a good chance of him going deep in the game."

Ryan Howard, who got the start despite being 1 for 18 with 11 strikeouts against Scherzer coming in, hit an opposite-field two-run home run in the seventh inning to break up the shutout and pull the Phillies within 3-2.

But Scherzer closed the door from there, striking out three more in the seventh and eighth en route to his 15th win of the season.

"I knew I was throwing the ball well, I knew I had all the pitches working, I knew I could go out there and keep different looks going multiple times throughout the lineup and really sequence guys right," Scherzer said. "When I'm able to throw all my pitches for strikes it really allows (catcher Wilson Ramos) to do his job back there and come up with the right sequence."

Mark Melancon pitched a scoreless ninth for his 37th save, getting a strikeout and inducing a big game-ending double play after issuing a leadoff walk.

Freddy Galvis and Odubel Herrera collected the only other hits for the Phillies, who have lost six of eight to fall 12 games below .500. They have dropped their last eight games to first-place Washington, which matches the team record for consecutive losses vs. the Nationals/Expos franchise.

"We need to improve our plate discipline," Phillies manager Pete Mackanin said. "We're just not getting hits. But Scherzer was dominant, you've got to give him credit. He's a tough cookie."

Scherzer, who pitched two no-hitters last season, didn't allow a runner to reach base until Phillies catcher Cameron Rupp walked with one out in the fifth. Galvis ripped a double to right-field to lead off the sixth to break up Scherzer's no-hit bid, but was picked off second base by Scherzer to end the scoring threat.

The Washington ace also had a sacrifice-bunt RBI in the fourth after Ryan Zimmerman walked and Danny Espinosa ripped a single.

The Nationals staked Scherzer to an early lead in the first inning. With two outs and nobody on, Daniel Murphy doubled before scoring on a double by Bryce Harper, his 19th RBI in the last 19 games. Ramos brought Harper home with an RBI single to put the Nats ahead 2-0.

"He can smell it," Baker said. "When he gets some runs, it's usually a shutdown inning. He doesn't give it right back. It usually takes a while for them to score off of Max."

Phillies starter Jerad Eickhoff (9-13), who walked just six batters in his last eight starts coming in, issued three walks and allowed five hits and three earned runs through six innings.

Scherzer's double-digit strikeout game was the 12th of the season, setting a Nationals record. He improved his career record to 7-1 against the Phillies, including a 6-0 mark since he joined the Nats in 2015.

HOWARD'S STILL GOT POP

Howard's homer was the 20th of the season and the 377th of his career, tying him with Jeff Kent and Norm Cash for 73rd on MLB's all-time list. His next home run will tie him with Matt Williams for 72nd place.

He has 10 career 20-homer seasons, the second most in Phillies history behind only Hall of Famer Mike Schmidt (14).

HOME-PLATE COLLISION

The fourth inning ended when Espinosa was thrown out at the plate on a dart from Phillies right fielder Aaron Altherr. On the play, Espinosa collided with Rupp at home, which seemed to anger some Phillies.

Afterwards, Mackanin admitted that "he didn't think he had to bowl him over," but Howard laughed that Rupp probably "liked it" and "that's baseball."

OWNING PHILLY

The Nationals, who opened their six-game road trip with a 4-0 victory over the Phillies on Monday, are 7-1 at Citizens Bank Park this season.

TRAINER'S ROOM

Phillies: Peter Bourjos missed his second straight game after getting hit in the left wrist by a pitch Sunday.

UP NEXT

The Phillies and Nationals wrap up their three-game series Wednesday night with Philadelphia LHP Adam Morgan (1-8, 6.50) opposing LHP Gio Gonzalez (9-9, 4.25).