After loading the bases in the bottom of the first inning and failing to score, the Pirates failed to threaten to score the rest of the game, as Mat Latos, J.J. Hoover, Aroldis Chapman and Alfredo Simon combined for the shutout.
Latos pitched six innings, striking out a career-high 11 batters and allowing just two hits.
His mound opponent, Charlie Morton, struggled to find a rhythm as he allowed five runs (four earned) in six innings on seven hits, including the two homers.
The Pirates return to action at home on Tuesday, as they begin a series with the NL East-leading Washington Nationals.
For more news and analysis on the Pirates, check out Bucs Dugout.