The 2007 San Francisco Giants season was the Giants' 125th year in Major League Baseball, their 50th year in San Francisco since their move from New York following the 1957 season, and their eighth at AT&T Park. The team finished in fifth place in the National League West with a 71–91 record, 19 games behind the Arizona Diamondbacks. The Giants also hosted the All-Star Game on July 10. Their season began with the team attempting to return to the post-season for the first time since 2003. New manager Bruce Bochy was hired to help the club improve on a 76 win season in 2006. Giants left fielder Barry Bonds entered 2007 with 21 home runs shy of tying Hank Aaron for most career home runs. On August 7, 2007, Bonds broke the all-time home run record with his 756th career home run and 22nd of the season. The rotation was bolstered by the arrival of Barry Zito, who was signed to the largest contract ever for a pitcher during the off-season. On September 21 it was revealed that Bonds would not return to the team following the 2007 season.

Regular season

Season standings

National League West

Record vs. opponents

Game log

|- style="background-color:#ffbbbb" | 1 || April 3 || Padres || 7–0 || Peavy (1-0) || Zito (0-1) || || 42,773 || 0-1 |- style="background-color:#ffbbbb" | 2 || April 4 || Padres || 5–3 || Meredith (1-0) || Hennessey (0-1) || Hoffman (1)|| 39,938 || 0-2 |- style="background-color:#bbffbb" | 3 || April 5 || Padres || 5–3 || Morris (1-0) || Hensley (0-1)|| Benítez (1) || 37,914 || 1-2 |- style="background-color:#ffbbbb" | 4 || April 6 || Dodgers || 2–1 || Penny (1-0) || Lowry (0-1) || Saito (2) || 43,146 || 1-3 |- style="background-color:#ffbbbb" | 5 || April 7 || Dodgers || 4–1 || Lowe (1-1) || Ortiz (0-1) || Saito (3) || 42,098 || 1-4 |- style="background-color:#ffbbbb" | 6 || April 8 || Dodgers || 10–4 || Wolf (1-1) || Zito (0-2) || || 39,343 || 1-5 |- style="background-color:#ffbbbb" | 7 || April 9 || @ Padres || 1–0 || Young (1-0) || Cain (0-1) || Hoffman (2) || 31,388 || 1-6 |- style="background-color:#bbffbb" | 8 || April 10 || @ Padres || 6–5 || Morris (2-0) || Hensley (0-2) || Benítez (2) || 28,878 || 2-6 |- style="background-color:#ffbbbb" | 9 || April 11 || @ Padres || 4–0 || Maddux (1-1) || Lowry (0-2) || || 31,568 || 2-7 |- style="background-color:#bbffbb" | 10 || April 13 || @ Pirates || 8–5 || Ortiz (1-1) || Duke (1-1)|| || 22,117 || 3-7 |- style="background-color:#bbbbbb" | -- || April 14 || @ Pirates || colspan=5|Postponed (rain) || 3-7 |- style="background-color:#bbbbbb" | -- || April 15 || @ Pirates || colspan=5|Postponed (rain) || 3-7 |- style="background-color:#bbffbb" | 11 || April 16 || @ Rockies || 8–0 || Zito (1-2) || Francis (1-1) || || 18,222 || 4-7 |- style="background-color:#ffbbbb" | 12 || April 17 || @ Rockies || 5–3 || Ramírez (1-0) || Correia (0-1) || Fuentes (3) || 18,207 || 4-8 |- style="background-color:#bbffbb" | 13 || April 18 || Cardinals || 6–5 || Sánchez (1-0) || Hancock (0-1) || || 40,532 || 5-8 |- style="background-color:#bbffbb" | 14 || April 19 || Cardinals || 6–2 || Lowry (1-2) || Wells (1-3) || Hennessey (1) || 37,398 || 6-8 |- style="background-color:#bbffbb" | 15 || April 20 || D-backs || 4–2 || Ortiz (2-1) || Davis (1-2) || Benítez (3) || 39,010 || 7-8 |- style="background-color:#bbffbb" | 16 || April 21 || D-backs || 1–0 || Zito (2-2) || González (1-2) || Benítez (4) || 36,281 || 8-8 |- style="background-color:#bbffbb" | 17 || April 22 || D-backs || 2–1 || Cain (1-1) || Petit (0-1) || || 36,868 || 9-8 |- style="background-color:#bbffbb" | 18 || April 24 || @ Dodgers || 5–3 || Morris (3-0) || Lowe (2-3) || Benítez (5) || 44,001 || 10-8 |- style="background-color:#bbffbb" | 19 || April 25 || @ Dodgers || 6–4 ||Lowry (2-2) ||Wolf (3-2) ||Benítez (6) || 43,963|| 11-8 |- style="background-color:#bbffbb" | 20 || April 26 || @ Dodgers || 5–4 ||Correia (1-1) || Beimel (1-1) || Benítez (7)||56,000 || 12-8 |- style="background-color:#ffbbbb" | 21 || April 27 || @ D-backs || 3–2 || Davis (2-2) || Zito (2-3) || Valverde (9) || 24,798 || 12-9 |- style="background-color:#ffbbbb" | 22 || April 28 || @ D-backs || 5–4 || Nippert (1-0) || Chulk (0-1) || Valverde (10) || 32,147 || 12-10 |- style="background-color:#ffbbbb" | 23 || April 29 || @ D-backs || 5–4 || Medders (1-0) || Morris (3-1) || Lyon (1) || 28,818 || 12-11 |- style="background-color:#bbffbb" | 24 || April 30 || Rockies || 9–5 ||Lowry (3-2) ||Fogg (1-2) || || 34,689 || 13-11 |- style=""

|- style="background-color:#ffbbbb" | 25 || May 1 || Rockies || 9–7 ||Árias (1-0) ||Ortiz (2-2) || Fuentes (5)|| 33,210|| 13-12 |- style="background-color:#bbffbb" | 26 || May 2 || Rockies|| 5–3 ||Hennessey (1-1) ||Francis (1-4) || ||32,557 ||14-12 |- style="background-color:#ffbbbb" | 27 || May 3 || Phillies || 9–7 || Eaton (3-2) || Cain (1-2) || Myers (1) || 33,466 || 14-13 |- style="background-color:#bbffbb" | 28 || May 4 || Phillies || 6–2 || Morris (4-1) || Moyer (3-2) || || 39,265 || 15-13 |- style="background-color:#bbffbb" | 29 || May 5 || Phillies || 9–4 || Lowry (4-2) || Lieber (1-1) || || 40,796 || 16-13 |- style="background-color:#ffbbbb" | 30 || May 6 || Phillies || 8–5 || Hamels (4-1) || Chulk (0-2) || Myers (2) || 38,738 || 16-14 |- style="background-color:#bbffbb" | 31 || May 7 || Mets || 9–4 ||Zito (3-3) ||Pérez (3-3) || ||37,365 || 17-14 |- style="background-color:#ffbbbb" | 32 || May 8 || Mets || 4–1 || Glavine (4-1) || Cain (1-3) || Wagner (7) || 39,455 || 17-15 |- style="background-color:#ffbbbb" | 33 || May 9 || Mets || 5–3 || Heilman (3-2) || Benítez (0-1) || Wagner (8) || 41,832 || 17-16 |- style="background-color:#ffbbbb" | 34 || May 10 || @ Rockies || 5–3 || Cook (2-1) || Lowry (4-3) || Fuentes (9) || 20,120 || 17-17 |- style="background-color:#bbffbb" | 35 || May 11 || @ Rockies || 8–3 || Lincecum (1-0) || Fogg (1-4) || || 26,162 || 18-17 |- style="background-color:#ffbbbb" | 36 || May 12 || @ Rockies || 6–2 || Francis (2-4) ||Zito (3-4) || ||33,569 ||18-18 |- style="background-color:#bbffbb" | 37 || May 13 || @ Rockies || 15–2 ||Cain (2-3) ||Buchholz (1-2) || ||24,243 ||19-18 |- style="background-color:#ffbbbb" | 38 || May 15 || @ Astros || 6–5 || Qualls (4-1) || Sánchez (1-1) || || 33,490 || 19-19 |- style="background-color:#ffbbbb" | 39 || May 16 || @ Astros || 2–1 || Sampson (4-3) || Lowry (4-4) || Wheeler (9) || 33,533 || 19-20 |- style="background-color:#bbffbb" | 40 || May 17 || @ Astros || 2–1 || Chulk (1-2) || Lidge (1-2) || Benítez (8) || 36,815 || 20-20 |- style="background-color:#ffbbbb" | 41 || May 18 || @ Athletics || 15–3 || Gaudin (3-1) || Zito (3-5) || || 35,077 || 20-21 |- style="background-color:#ffbbbb" | 42 || May 19 || @ Athletics || 4–2 || Haren (4-2) || Cain (2-4) || Embree (1) || 35,077 || 20-22 |- style="background-color:#bbffbb" | 43 || May 20 || @ Athletics || 4–1 || Morris (5-1) || Kennedy (1-3) || || 35,077 || 21-22 |- style="background-color:#bbffbb" | 44 || May 21 || Astros || 4–0 || Lowry (5-4) || Sampson (4-4) || || 35,768 || 22-22 |- style="background-color:#bbffbb" | 45 || May 22 || Astros || 4–2 || Lincecum (2-0) || Oswalt (6-3) || Benítez (9) || 35,134 || 23-22 |- style="background-color:#bbffbb" | 46 || May 23 || Astros || 9–1 || Zito (4-5) || Albers (1-4) || || 35,521 || 24-22 |- style="background-color:#ffbbbb" | 47 || May 25 || Rockies || 5–3 || Affeldt (2-1) || Benítez (0-2) || Fuentes (14) || 41,274 || 24-23 |- style="background-color:#ffbbbb" | 48 || May 26 || Rockies || 6–1 || Cook (4-1) || Morris (5-2) || || 38,212 || 24-24 |- style="background-color:#ffbbbb" | 49 || May 27 || Rockies || 6–4 || Ramírez (2-1) || Kline (0-1) || Fuentes (15) || 41,708 || 24-25 |- style="background-color:#ffbbbb" | 50 || May 29 || @ Mets || 5–4 || Smith (2-0) || Benítez (0-3) || || 47,940 || 24-26 |- style="background-color:#bbffbb" | 51 || May 30 || @ Mets || 3–0 || Zito (5-5) || Glavine (5-3) || Hennessey (2) || 41,395 || 25-26 |- style="background-color:#ffbbbb" | 52 || May 31 || @ Mets || 4–2 || Hernández (3-1) || Cain (2-5) || Wagner (13) || 44,228 || 25-27 |- style=""

|- style="background-color:#bbffbb" | 53 || June 1 || @ Phillies || 13–0 || Morris (6-2) || Eaton (5-4) || || 38,164 || 26-27 |- style="background-color:#ffbbbb" | 54 || June 2 || @ Phillies || 5–2 || Hamels (8-2) || Lowry (5-5) || || 45,153 || 26-28 |- style="background-color:#ffbbbb" | 55 || June 3 || @ Phillies || 9–8 || Alfonseca (3-1) || Correia (1-2) || || 39,293 || 26-29 |- style="background-color:#bbffbb" | 56 || June 4 || @ Phillies || 8–1 || Zito (6-5) || Lieber (2-4) || || 33,967 || 27-29 |- style="background-color:#ffbbbb" | 57 || June 5 || @ D-backs || 4–3 || Lyon (4-2) || Correia (1-3) || || 25,848 || 27-30 |- style="background-color:#ffbbbb" | 58 || June 6 || @ D-backs || 1–0 || Webb (6-3) || Morris (6-3) || Valverde (21) || 24,398 || 27-31 |- style="background-color:#bbffbb" | 59 || June 7 || @ D-backs || 5–4 || Taschner (1-0) || Medders (1-2) || Kline (1) || 21,984 || 28-31 |- style="background-color:#ffbbbb" | 60 || June 8 || Athletics || 5–3 || Calero (1-4) || Hennessey (1-2) || Embree (6) || 42,427 || 28-32 |- style="background-color:#ffbbbb" | 61 || June 9 || Athletics || 6–0 || Haren (7-2) || Zito (6-6) || || 42,526 || 28-33 |- style="background-color:#ffbbbb" | 62 || June 10 || Athletics || 2–0 || Casilla (2-0) || Cain (2-6) || || 42,345 || 28-34 |- style="background-color:#bbffbb" | 63 || June 11 || Blue Jays || 4–3 || Morris (7-3) || Towers (2-4) || || 38,030 || 29-34 |- style="background-color:#bbffbb" | 64 || June 12 || Blue Jays || 3–2 || Lowry (6-5) || Burnett (5-6) || Hennessey (3) || 37,574 || 30-34 |- style="background-color:#ffbbbb" | 65 || June 13 || Blue Jays || 7–4 || McGowan (3-2) || Lincecum (2-1) || Accardo (7) || 40,086 || 30-35 |- style="background-color:#ffbbbb" | 66 || June 15 || @ Red Sox || 10–2 || Tavárez (4-4) || Zito (6-7) || || 36,508 || 30-36 |- style="background-color:#ffbbbb" | 67 || June 16 || @ Red Sox || 1–0 || Matsuzaka (8-5) || Cain (2-7) || Papelbon (16) || 36,381 || 30-37 |- style="background-color:#ffbbbb" | 68 || June 17 || @ Red Sox || 9–5 || Wakefield (7-7) || Morris (7-4) || || 36,137 || 30-38 |- style="background-color:#ffbbbb" | 69 || June 18 || @ Brewers || 5–4 || Gallardo (1-0) || Lowry (6-6) || || 41,631 || 30-39 |- style="background-color:#ffbbbb" | 70 || June 19 || @ Brewers || 6–2 || Sheets (8-3) || Lincecum (2-2) || || 35,238 || 30-40 |- style="background-color:#ffbbbb" | 71 || June 20 || @ Brewers || 7–5 || Vargas (6-1) || Zito (6-8)|| Cordero (27) || 35,151 || 30-41 |- style="background-color:#ffbbbb" | 72 || June 22 || Yankees || 7–3 || Vizcaíno (4-1) || Cain (2-8) || Rivera (9) || 43,425 || 30-42 |- style="background-color:#bbffbb" | 73 || June 23 || Yankees || 6–5 || Chulk (2-2) || Proctor (1-4) || || 43,485 || 31-42 |- style="background-color:#bbffbb" | 74 || June 24 || Yankees || 7–2 || Lowry (7-6) || Mussina (3-5) || || 43,503 || 32-42 |- style="background-color:#bbffbb" | 75 || June 25 || Padres || 4–3 || Chulk (3-2) || Hampson (2-2) || || 41,140 || 33-42 |- style="background-color:#ffbbbb" | 76 || June 26 || Padres || 3–2 || Meredith (3-5) || Messenger (0-1) || Hoffman (20) || 41,329 || 33-43 |- style="background-color:#ffbbbb" | 77 || June 27 || Padres || 4–2 || Maddux (7-4) || Cain (2-9) || Hoffman (21) || 42,527 || 33-44 |- style="background-color:#ffbbbb" | 78 || June 29 || D-backs || 4–3 || Peña (3-1) || Hennessey (1-3) || Valverde (26) || 39,146 || 33-45 |- style="background-color:#bbffbb" | 79 || June 30 || D-backs || 4–1 || Lowry (8-6) || Davis (5-9) || Hennessey (4) || 41,515 || 34-45 |- style=""

|- style="background-color:#bbffbb" | 80 || July 1 || D-backs || 13–0 || Lincecum (3-2) || Owings (5-3) || || 42,154 || 35-45 |- style="background-color:#ffbbbb" | 81 || July 3 || @ Reds || 7–3 || Harang (9-2) || Correia (1-4) || || 37,299 || 35-46 |- style="background-color:#bbffbb" | 82 || July 4 || @ Reds || 9–5 || Cain (3-9) || Belisle (5-6) || || 24,092 || 36-46