MILWAUKEE -- Jonathan Lucroy hit two home runs, including a walk-off, solo shot in the ninth inning, and the Milwaukee Brewers rallied for a 4-3 victory over the Cincinnati Reds on Tuesday night at Miller Park.

The Brewers earned their second win in a row, while the Reds took their season-worst fifth consecutive loss.

Lucroy gave Milwaukee a 3-1 lead in the sixth with a two-out homer off Reds right-hander Homer Bailey, but Brewers starter Jimmy Nelson couldn't preserve the lead in the seventh.

The Reds opened the inning with back-to-back singles by left fielder Ryan Ludwick and catcher Brayan Pena. Nelson then hit shortstop Zack Cozart with a pitch to load the bases.

Nelson plunked third baseman Ramon Santiago to make it 3-2 before giving way to right-hander Brandon Kinztler, who allowed a game-tying sacrifice fly by pinch hitter Chris Heisey before ending the inning.

Nelson went six-plus innings and allowed three runs on four hits with five strikeouts.

Milwaukee's bullpen prevented further damage, and Lucroy finally broke the deadlock on a 1-1 offering from right-hander Sam LeCure (1-2).

Francisco Rodriguez (4-3) earned the victory after throwing a scoreless inning.

Back-to-back home runs by right fielder Ryan Braun and third baseman Rickie Weeks gave the Brewers a 2-0 lead in the first, but Bailey responded by retiring 10 in a row.

Billy Hamilton put the Reds on the board in the fourth. Cincinnati's center fielder led off with a single, stole second and moved to third on a groundout by second baseman Skip Schumaker. After Nelson plunked first baseman Todd Frazier with a pitch, right fielder Jay Bruce hit a chopper down the first base line for an RBI double that made it 2-1.

NOTES: Cincinnati placed RHP Logan Ondrusek (strained right shoulder) on the 15-day disabled list, retroactive to July 13, and recalled RHP Curtis Partch from Triple-A Louisville. ... Brewers 2B Scooter Gennett left the game after the fourth inning due to tightness in his left quadriceps. ... Reds RF Jay Bruce returned to the lineup Tuesday. He was given the day off Monday after going 0-for-11 over the weekend against the New York Yankees. ... Cincinnati won or tied 10 of its previous 14 series with Milwaukee. ... The Reds and Brewers wrap up their series Wednesday afternoon. Milwaukee RHP Kyle Lohse (10-4, 3.16 ERA) will oppose Cincinnati RHP Mike Leake (7-8, 3.63 ERA).