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.
Susan Sarandon 'very excited' about daughter's pregnancy
Teacher apologizes for showing sexual image of herself in class