The 2012 Pittsburgh Pirates season was the franchise's 126th season as a member of the National League, their 131st season overall, and their 12th season at PNC Park. Despite being 67–54 on August 19, the Pirates finished the season 79–83. This set a record for the longest losing season streak in all of North American professional sports history at 20.

The Pirates played just six extra inning games during the season, the fewest of any MLB team in 2012.

2012 Pittsburgh Pirates season

Game log

|- style="background:#fbb;" | 1 || April 5 || Phillies || 0–1 || Halladay (1–0) || Bédard (0–1) || Papelbon (1) || 39,585 || 0–1 |- style="background:#cfc;" | 2 || April 7 || Phillies || 2–1 (10) || Cruz (1–0) || Blanton (0–1) || — || 38,885 || 1–1 |- style="background:#cfc;" | 3 || April 8 || Phillies || 5–4 || Hanrahan (1–0) || Herndon (0–1) || — || 19,856 || 2–1 |- style="background:#fbb;" | 4 || April 10 || @ Dodgers || 1–2 || Jansen (1–0) || Grilli (0–1) || Guerra (3) || 56,000 || 2–2 |- style="background:#fbb;" | 5 || April 11 || @ Dodgers || 1–4 || Billingsley (2–0) || Bédard (0–2) || Guerra (4) || 29,729 || 2–3 |- style="background:#fbb;" | 6 || April 12 || @ Dodgers || 2–3 || Capuano (1–0) || Karstens (0–1) || Guerra (5) || 28,328 || 2–4 |- style="background:#fbb;" | 7 || April 13 || @ Giants || 0–5 || Cain (1–0) || McDonald (0–1) || — || 41,138 || 2–5 |- style="background:#fbb;" | 8 || April 14 || @ Giants || 3–4 || López (1–0) || Resop (0–1) || — || 41,657 || 2–6 |- style="background:#cfc;" | 9 || April 15 || @ Giants || 4–1 || Correia (1–0) || Vogelsong (0–1) || Hanrahan (1) || 41,766 || 3–6 |- style="background:#fbb;" | 10 || April 16 || @ Diamondbacks || 1–5 || Saunders (1–0) || Bédard (0–3) || — || 17,366 || 3–7 |- style="background:#cfc;" | 11 || April 17 || @ Diamondbacks || 5–4 || Grilli (1–1) || Shaw (0–2) || Cruz (1) || 19,198 || 4–7 |- style="background:#cfc;" | 12 || April 18 || @ Diamondbacks || 2–1 || Lincoln (1–0) || Hudson (1–1) || Cruz (2) || 18,369 || 5–7 |- style="background:#fbb;" | 13 || April 20 || Cardinals || 1–4 || Lynn (3–0) || Morton (0–1) || Motte (3) || 23,509 || 5–8 |- style="background:#cfc;" | 14 || April 21 || Cardinals || 2–0 || Burnett (1–0) || Westbrook (2–1) || Hanrahan (2) || 25,218 || 6–8 |- style="background:#fbb;" | 15 || April 22 || Cardinals || 1–5 || Lohse (3–0) || Bédard (0–4) || — || 30,437 || 6–9 |- style="background:#bbb;" | — || April 23 || Rockies || colspan=6| Postponed (rain); Makeup: April 25 |- style="background:#cfc;" | 16 || April 24 || Rockies || 5–4 || Watson (1–0) || Belisle (1–1) || Hanrahan (3) || 10,484 || 7–9 |- style="background:#fbb;" | 17 || April 25 || Rockies || 1–2 || Reynolds (2–0) || Resop (0–2) || Betancourt (6) || N/A || 7–10 |- style="background:#cfc;" | 18 || April 25 || Rockies || 5–1 || Morton (1–1) || Chacín (0–2) || — || 15,218 || 8–10 |- style="background:#fbb;" | 19 || April 27 || @ Braves || 1–6 || Hanson (3–2) || Burnett (1–1) || Medlen (1) || 36,215 || 8–11 |- style="background:#cfc;" | 20 || April 28 || @ Braves || 4–2 || Bédard (1–4) || Delgado (2–2) || Hanrahan (4) || 34,086 || 9–11 |- style="background:#fbb;" | 21 || April 29 || @ Braves || 3–4 || Hudson (1–0) || Correia (1–1) || Kimbrel (8) || 30,419 || 9–12 |- style="background:#cfc;" | 22 || April 30 || @ Braves || 9–3 || McDonald (1–1) || Minor (2–2) || — || 17,181 || 10–12 |-

2012 Pittsburgh Pirates season