The Rockies held a 4-1 lead in the top of the ninth and appeared on their way to a victory, but Rex Brothers (5-2) surrounded a two-out, three-run homer to Pedro Alvarez, tying the score.
Eric Young stroked a two-run double to cap a four-run fifth for the Rockies, who claimed the first of a three-game set.
The second-place Pirates remained one game behind Cincinnati in the National League Central despite the loss.
Megyn Kelly: Santa Claus and Jesus are both white men
Costly malfunction causes beer flood at Boston-area brewery