If you're going to play extra innings, especially on a getaway day, you might as well win the game.

Finally getting a timely hit from who else but Jonathan Lucroy, the Milwaukee Brewers did just that Thursday night. His home run down the left-field line in the 13th off Carlos Torres lifted Milwaukee over the New York Mets, 5-1, at Citi Field.

The victory sent the Brewers back home with a 5-3 record on their eight-game, nine-day road trip and left them at 13 games over .500 for the second time this season at 40-27.

"It's a real good one to win," said Brewers manager Ron Roenicke. "We got great pitching today. Took a long time to get some offense, but we had great pitching today."

Ryan Braun led off the 13th with a single to center, then as he headed for second on a steal attempt Lucroy turned on a Torres curveball on an 0-1 count and deposited it into the seats in left to put the Brewers ahead, 3-1.

"Believe me, I was trying to do it earlier than that," said Lucroy, whose homer was an early 28th birthday present. "He hung a curveball. We had our chances. After Brauny hit the leadoff (single), I was just up there trying to hit the ball hard and drive it. He left me a pitch up and I was able to hit it hard."

They then padded the lead, with Carlos Gomez singling, Aramis Ramirez doubling, Khris Davis walking and Mark Reynolds singling to center to score Gomez and make it 4-1. Rickie Weeks later was hit by a pitch from Dana Eveland that made it 5-1.

Francisco Rodriguez finished the game in the bottom of the 13th for the Brewers.

Lost in the extra innings was the tremendous job turned in by both starting pitchers — Jonathon Niese for the Mets and Kyle Lohse for the Brewers.

Niese limited the Brewers to six hits, one run (earned) and one walk while striking out a season-high eight in 72/3 innings. The lone mistake he made was allowing a solo home run to Ramirez in the second.