Julio Urías, the winningest pitcher in the majors, homered to the first batter he faced, Jazz Chisholm, but then shut out the Marlins for seven innings Thursday and guided the Dodgers to a 6-1 win.
It was his 11th win of the season.
Chisholm put Miami on top by hitting a 2-0 fastball over center-right field for his 10th home run.
Urías (11-3) allowed another four hits, struck out nine and walked two. He threw 101 pitches, his most so far this season. And at 1-1, he hit a single that set off a five-run bouquet in the fifth inning.
Blake Treinen pitched the eighth, which allowed two hits, and Garrett Cleavinger retired all three batters he faced in the ninth.
Sandy Alcantara (5-8) allowed seven hits and five runs in 4 1⁄2 innings.
The Dodgers came to Florida on a nine-game winning streak, but lost the first three games of the series to the Marlins.
A Chris Taylor single tied the score in the fourth and another by Matt Beaty put Los Angeles up in the fifth, sending Alcántara into the showers.
Taylor hit another with a double and a Zach McKinstry grounder into second failed to be fielded by Chisholm and went to center field, facilitating another two runs. A sacrifice fly by Will Smith reported the other run.
At bat, Urías went 4-1 with a run scored.
For the Marlins, Dominicans Starling Marte and Jesús Sánchez both went 4-0. Venezuelan Miguel Rojas 4-2, his compatriot Jesús Aguilar 3-1 and fellow Venezuelan Sandy León 3-0. (AP)