The 2009 San Francisco Giants season was the Giants' 127th year in Major League Baseball, their 52nd year in San Francisco since their move from New York following the 1957 season, and their tenth at AT&T Park. After four consecutive losing seasons, the team finished in third place in the National League West with an 88–74 record, 7 games behind the Los Angeles Dodgers. Following Peter Magowan's retirement, Bill Neukom served as general managing partner of the Giants. After a season with the fewest home runs of any team since the 1993 Florida Marlins, general manager Brian Sabean said the Giants would attempt to bring in a power hitter as well as strengthening a bullpen that held a 4.45 ERA in 2008, 14th in the National League.

After leading the National League Wild Card race for most of the season, the Giants were ultimately passed by the Colorado Rockies. The team finished third in the NL West and second in the Wild Card. Though they missed the playoffs, the Giants surpassed most expectations for their season; for example, Sports Illustrated projected that the Giants would finish with a record of 77–85. Sports Illustrateds Lee Jenkins noted San Francisco's promising farm system (including products Pablo Sandoval and Madison Bumgarner) and the perceived weakness of the NL West as reasons to be optimistic about the Giants' potential. Additionally, the Giants' starting rotation boasted three Cy Young Award winners: Randy Johnson, Tim Lincecum, and Barry Zito. After the season ended, Lincecum won his second straight Cy Young. The Giants would build on their surprising 2009 season the following year, winning the World Series. It would be their first in San Francisco.

Regular season

Notable events June 4 — Randy Johnson joins the 300 win club with a 5–1 victory over the Washington Nationals July 10 — Jonathan Sánchez throws a no-hitter against the San Diego Padres, the first by a Giant since September 29, 1976 July 14 — Starting pitchers Tim Lincecum and Matt Cain are voted to the 2009 All-Star Game, with Lincecum being named the NL starting pitcher July 19 – Team majority owner Sue Burns dies of lung cancer July 27 — Giants trade pitching prospect Scott Barnes to the Cleveland Indians for first baseman Ryan Garko July 29 — Giants trade pitching prospect Tim Alderson to the Pittsburgh Pirates for second baseman Freddy Sanchez September 23 — Giants defeat the Arizona Diamondbacks 5–2, guaranteeing their first winning season since the 2004 campaign November 19 — Tim Lincecum wins his second consecutive Cy Young Award

Season standings

Record vs. opponents

Game log Legend Giants Win Giants Loss Postponed

|- align="center" bgcolor="bbffbb" | 1 || April 7 || Brewers || 10–6 || Martinez (1–0) || Suppan (0–1) || || 42,767 || 1–0 |- align="center" bgcolor="#ffbbbb" | 2 || April 8 || Brewers || 4–2 || Gallardo (1–0) || Johnson (0–1) || Villanueva (1) || 40,764 || 1–1 |- align="center" bgcolor="bbffbb" | 3 || April 9 || Brewers || 7–1 || Cain (1–0) || Parra (0–1) || || 30,027 || 2–1 |- align="center" bgcolor="#ffbbbb" | 4 || April 10 || @ Padres || 7–3 || Hill (1–0) || Zito (0–1) || || 20,507 || 2–2 |- align="center" bgcolor="#ffbbbb" | 5 || April 11 || @ Padres || 6–3 || Peavy (1–1) || Sánchez (0–1) || Bell (3) || 35,305 || 2–3 |- align="center" bgcolor="#ffbbbb" | 6 || April 12 || @ Padres || 6–1 || Young (2–0) || Lincecum (0–1) || || 19,415 || 2–4 |- align="center" bgcolor="#ffbbbb" | 7 || April 13 || @ Dodgers || 11–1 || Billingsley (2–0) || Johnson (0–2) || || 57,099 || 2–5 |- align="center" bgcolor="#ffbbbb" | 8 || April 15 || @ Dodgers || 5–4 || Broxton (1–0) || Howry (0–1) || || 42,511 || 2–6 |- align="center" bgcolor="#ffbbbb" | 9 || April 16 || @ Dodgers || 7–2 || Stults (2–0) || Zito (0–2) || || 36,553 || 2–7 |- align="center" bgcolor="bbffbb" | 10 || April 17 || Diamondbacks || 2–0 || Sánchez (1–1) || Haren (0–3) || Wilson (1) || 34,898 || 3–7 |- align="center" bgcolor="#ffbbbb" | 11 || April 18 || Diamondbacks || 2–0 || Davis (1–2) || Affeldt (0–1) || Qualls || 37,409 || 3–8 |- align="center" bgcolor="bbffbb" | 12 || April 19 || Diamondbacks || 2–0 || Johnson (1–2) || Scherzer (0–1) || Wilson (2) || 35,350 || 4–8 |- align="center" bgcolor="bbffbb" | 13 || April 21 || Padres || 8–3 || Cain (2–0) || Peavy (2–2) || || 39,314 || 5–8 |- align="center" bgcolor="bbffbb" | 14 || April 22 || Padres || 1–0 (10) || Wilson (1–0) || Moreno (0–2) || || 26,593 || 6–8 |- align="center" bgcolor="bbffbb" | 15 || April 24 || @ Diamondbacks || 5–1 || Lincecum (1–1) || Davis (1–3) || || 27,865 || 7–8 |- align="center" bgcolor="bbffbb" | 16 || April 25 || @ Diamondbacks || 5–3 || Miller (1–0) || Scherzer (0–2) || Wilson (3) || 37,253 || 8–8 |- align="center" bgcolor="#ffbbbb" | 17 || April 26 || @ Diamondbacks || 5–4 (12) || Gutiérrez (1–1) || Medders (0–1) || || 31,862 || 8–9 |- align="center" bgcolor="bbffbb" | 18 || April 27 || Dodgers || 5–4 || Valdéz (1–0) || Belisario (0–2) || Wilson (4) || 30,091 || 9–9 |- align="center" bgcolor="#ffbbbb" | 19 || April 28 || Dodgers || 5–3 || Broxton (2–0) || Howry (0–2) || Ohman (1) || 30,482 || 9–10 |- align="center" bgcolor="bbffbb" | 20 || April 29 || Dodgers || 9–4 || Lincecum (2–1) || Stults (2–1) || Wilson (5) || 37,717 || 10–10

|- align="center" bgcolor="bbffbb" | 21 || May 1 || Rockies || 3–2 || Johnson (2–2) || Jiménez (1–4) || Wilson (6) || 30,791 || 11–10 |- align="center" bgcolor="#ffbbbb" | 22 || May 2 || Rockies || 5–1 || Marquis (4–1) || Cain (2–1) || || 30,166 || 11–11 |- align="center" bgcolor="bbffbb" | 23 || May 3 || Rockies || 1–0 (10) || Medders (1–1) || Corpas (0–3) || || 30,650 || 12–11 |- align="center" bgcolor="ffbbbb" | 24 || May 4 || @ Cubs || 4–2|| Dempster (2–1) || Sánchez (1–2) || Gregg (4) || 39,112 || 12–12 |- align="center" bgcolor="bbffbb" | 25 || May 5 || @ Cubs || 6–2 || Lincecum (3–1) || Marshall (0–2) || || 39,497 || 13–12 |- align="center" bgcolor="ffbbbb" | 26 || May 6 || @ Rockies || 11–1 || Jiménez (2–4) || Johnson (2–3) || || 22,105 || 13–13 |- align="center" bgcolor="bbffbb" | 27 || May 7 || @ Rockies || 8–3 || Cain (3–1) || Marquis (4–2) || || 23,453 || 14–13 |- align="center" bgcolor="bbffbb" | 28 || May 8 || @ Dodgers || 3–1 || Zito (1–2) || Billingsley (5–1) || Wilson (7) || 51,209 || 15–13 |- align="center" bgcolor="ffbbbb" | 29 || May 9 || @ Dodgers || 8–0 || Stults (4–1) || Sánchez (1–3) || || 41,425 || 15–14 |- align="center" bgcolor="bbffbb" | 30 || May 10 || @ Dodgers || 7–5 (13) || Wilson (2–0) || Mota (2–1) || || 37,529 || 16–14 |- align="center" bgcolor="bbffbb" | 31 || May 11 || Nationals || 11–7 || Johnson (3–3) || Cabrera (0–4) || Wilson (8) || 23,934 || 17–14 |- align="center" bgcolor="bbffbb" | 32 || May 12 || Nationals || 9–7 || Medders (2–1) || Beimel (0–2) || || 25,701 || 18–14 |- align="center" bgcolor="ffbbbb" | 33 || May 13 || Nationals || 6–3 || Martis (5–0) || Zito (1–3) || Wells (2) || 30,120 || 18–15 |- align="center" bgcolor="ffbbbb" | 34 || May 14 || Mets || 7–4 || Parnell (2–0) || Wilson (2–1) || Rodríguez (10) || 30,154 || 18–16 |- align="center" bgcolor="ffbbbb" | 35 || May 15 || Mets || 8–6 || Stokes (1–1) || Wilson (2–2) || Rodríguez (11) || 41,684 || 18–17 |- align="center" bgcolor="ffbbbb" | 36 || May 16 || Mets || 9–6 || Santana (5–2) || Johnson (3–4) || Putz (1) || 41,366 || 18–18 |- align="center" bgcolor="bbffbb" | 37 || May 17 || Mets || 2–0 || Cain (4–1) || Pelfrey (4–1) || Wilson (9) || 43,012 || 19–18 |- align="center" bgcolor="ffbbbb" | 38 || May 19 || @ Padres || 2–1 || Young (3–2) || Zito (1–4) || Bell (10) || 16,175 || 19–19 |- align="center" bgcolor="ffbbbb" | 39 || May 20 || @ Padres || 2–1 || Gaudin (1–3) || Sánchez (1–4) || Bell (11) || 15,208 || 19–20 |- align="center" bgcolor="ffbbbb" | 40 || May 21 || @ Padres || 3–2 || Bell (2–0) || Wilson (2–3) || || 19,921 || 19–21 |- align="center" bgcolor="ffbbbb" | 41 || May 22 || @ Mariners || 2–1 (12) || White (1–0) || Miller (1–1) || || 38,520 || 19–22 |- align="center" bgcolor="bbffbb" | 42 || May 23 || @ Mariners || 5–1 || Cain (5–1) || Lowe (0–2) || || 33,348 || 20–22 |- align="center" bgcolor="ffbbbb" | 43 || May 24 || @ Mariners || 5–4 || Hernández (5–3) || Zito (1–5) || Aardsma (6) || 36,616 || 20–23 |- align="center" bgcolor="bbffbb" | 44 || May 25 || Braves || 8–2 || Sánchez (2–4) || Vázquez (4–4) || || 40,034 || 21–23 |- align="center" bgcolor="bbffbb" | 45 || May 26 || Braves || 4–0 || Lincecum (4–1) || Medlen (0–2) || || 29,485 || 22–23 |- align="center" bgcolor="bbffbb" | 46 || May 27 || Braves || 6–3 || Johnson (4–4) || Kawakami (3–6) || Wilson (10) || 27,744 || 23–23 |- align="center" bgcolor="bbffbb" | 47 || May 29 || Cardinals || 4–2 || Cain (6–1) || Piñeiro (5–5) || Wilson (11) || 35,266 || 24–23 |- align="center" bgcolor="ffbbbb" | 48 || May 30 || Cardinals || 6–2 || Carpenter (3–0) || Zito (1–6) || || 35,592 || 24–24 |- align="center" bgcolor="bbffbb" | 49 || May 31 || Cardinals || 5–3 || Valdéz (2–0) || Wainwright (5–3) || Wilson (12) || 41,440 || 25–24

|- align="center" bgcolor="ffbbbb" | 50 || June 2 || @ Nationals || 10–6 || Villone (3–0) || Howry (0–3) || || 17,331 || 25–25 |- align="center" bgcolor="bbbbbb" | – || June 3 || @ Nationals || colspan=6|Postponed (rain) Rescheduled for June 4 |- align="center" bgcolor="bbffbb" | 51 || June 4 || @ Nationals || 5–1 || Johnson (5–4) || Zimmermann (2–3) || Wilson (13) || || 26–25 |- align="center" bgcolor="bbffbb" | 52 || June 4 || @ Nationals || 4–1 (6) || Cain (7–1) || Detwiler (0–2) || || 16,787 || 27–25 |- align="center" bgcolor="bbffbb" | 53 || June 5 || @ Marlins || 2–1 || Zito (2–6) || Volstad (4–5) || Wilson (14) || 12,841 || 28–25 |- align="center" bgcolor="ffbbbb" | 54 || June 6 || @ Marlins || 5–4 || Miller (2–2) || Sánchez (2–5) || Núñez (2) || 16,294 || 28–26 |- align="center" bgcolor="bbffbb" | 55 || June 7 || @ Marlins || 3–2 || Lincecum (5–1) || Nolasco (2–6) || Wilson (15) || 11,505 || 29–26 |- align="center" bgcolor="ffbbbb" | 56 || June 8 || @ Marlins || 4–0 || West (1–1) || Johnson (5–5) || || 12,068 || 29–27 |- align="center" bgcolor="bbffbb" | 57 || June 9 || @ Diamondbacks || 9–4 || Cain (8–1) || Buckner (2–2) || || 22,428 || 30–27 |- align="center" bgcolor="bbffbb" | 58 || June 10 || @ Diamondbacks || 6–4 || Zito (3–6) || Davis (3–7) || Wilson (16) || 19,837 || 31–27 |- align="center" bgcolor="ffbbbb" | 59 || June 11 || @ Diamondbacks || 2–1 || Scherzer (3–4) || Sánchez (2–6) || Qualls (13) || 24,389 || 31–28 |- align="center" bgcolor="bbffbb" | 60 || June 12 || Athletics || 3–0 || Lincecum (6–1) || Mazzaro (2–1) || || 36,035 || 32–28 |- align="center" bgcolor="bbffbb" | 61 || June 13 || Athletics || 5–2 || Johnson (6–5) || Outman (4–1) || Wilson (17) || 37,874 || 33–28 |- align="center" bgcolor="bbffbb" | 62 || June 14 || Athletics || 7–1 || Cain (9–1) || Anderson (3–7) || || 37,728 || 34–28 |- align="center" bgcolor="ffbbbb" | 63 || June 15 || Angels || 9–7 || Lackey (2–2) || Zito (3–7) || Fuentes (17)|| 33,613 || 34–29 |- align="center" bgcolor="ffbbbb" | 64 || June 16 || Angels || 8–1 || O'Sullivan (1–0) || Sánchez (2–7) || || 34,716 || 34–30 |- align="center" bgcolor="ffbbbb" | 65 || June 17 || Angels || 4–3 || Jepsen (1–2) || Lincecum (6–2) || Fuentes (18) || 37,431 || 34–31 |- align="center" bgcolor="bbffbb" | 66 || June 19 || Rangers || 6–4 || Romo (1–0) || Feldman (5–2) || Wilson (18) || 31,241 || 35–31 |- align="center" bgcolor="bbffbb" | 67 || June 20 || Rangers || 2–1 (11) || Romo (2–0) || Jennings (2–3) || || 33,312 || 36–31 |- align="center" bgcolor="bbffbb" | 68 || June 21 || Rangers || 3–2 || Zito (4–7) || Millwood (7–5) || Wilson (19) || 41,292 || 37–31 |- align="center" bgcolor="ffbbbb" | 69 || June 22 || @ Athletics || 5–1 || Cahill (5–5) || Sánchez (2–8) || Ziegler (6) || 27,324 || 37–32 |- align="center" bgcolor="bbffbb" | 70 || June 23 || @ Athletics || 4–1 || Lincecum (7–2) || Mazzaro (2–2) || || 32,854 || 38–32 |- align="center" bgcolor="bbffbb"