The 38-year-old right-hander agreed to a one-year contract, the Pirates said Friday, rejoining the team he pitched for from 2001-6.
Vogelsong helped the Giants win World Series titles in 2012 and `14, then was 9-11 with a 4.67 ERA this year in 22 starts and 11 relief appearances. He was 8-10 as a starter.
Drafted by the Giants in the fifth round in 1998, Vogelsong was traded to Pittsburgh in July 2001 and went 10-20 with a 6.06 ERA in 33 starts and 76 relief appearances. He spent three years pitching in Japan, played for Philadelphia and the Los Angeles Angels in 2010, then rejoined the Giants ahead of the 2011 season.
He is 58-68 with a 4.45 ERA in 11 big league seasons and 3-0 with a 2.92 ERA in seven postseason starts and one relief appearance.