The Giants were unable to sustain success in their first fifty years in San Francisco . They made nine playoff appearances and won two NL pennants between 1958 and 2009 . The Giants were swept in the 1989 World Series by their cross-town rival Oakland Athletics , a series best known for the 1989 Loma Prieta earthquake causing a 10-day delay between Games 2 and 3 . The Giants also lost the 2002 World Series to the Anaheim Angels . One of the team 's biggest highlights during this time was the 2001 season , in which OF Barry Bonds hit 73 home runs , breaking the record for most home runs in a season . In 2007 , Bonds would surpass Hank Aaron 's career record of 755 home runs . Bonds finished his career with 762 home runs ( 586 hit with the Giants ) , still the MLB record . The Giants won three World Series championships in 2010 , 2012 , and 2014 , giving the team eight total World Series titles , including the five won as the New York Giants
1989 Loma Prieta earthquake
1989 Loma Prieta earthquake
San Francisco Giants