San Francisco

San Francisco
City and County of San Francisco
Interactive map outlining San Francisco
San Francisco
Location within California
San Francisco
Location within the United States
San Francisco
San Francisco (North America)
Coordinates: 37°46′39″N 122°24′59″W / 37.77750°N 122.41639°W / 37.77750; -122.41639
Country United States
State California
CountySan Francisco
MetroSan Francisco–Oakland–Fremont
CSASan Jose–San Francisco–Oakland
MissionJune 29, 1776 (June 29, 1776)
IncorporatedApril 15, 1850 (April 15, 1850)
Founded byJuan Bautista de Anza
José Joaquín Moraga
Francisco Palóu
Named afterSt. Francis of Assisi
Government
 • TypeMayor-council
 • BodyBoard of Supervisors
 • MayorDaniel Lurie (California Democratic Party)
 • Supervisors
 • Assembly membersMatt Haney (D)
Catherine Stefani (D)
 • State senatorScott Wiener (D)
 • United States RepresentativesNancy Pelosi (D)
Kevin Mullin (D)
Area
 • City and county
231.91 sq mi (600.65 km2)
 • Land46.92 sq mi (121.51 km2)
 • Water185.00 sq mi (479.15 km2)  79.77%
 • Metro
3,524.4 sq mi (9,128 km2)
Elevation
52 ft (16 m)
Highest elevation934 ft (285 m)
Lowest elevation
(Pacific Ocean)
0 ft (0 m)
Population
 (2020)
 • City and county
873,965
 • Estimate 
(2024)
827,526
 • Rank49th in North America
17th in the United States
4th in California
 • Density18,634.65/sq mi (7,194.88/km2)
 • Urban
3,515,933 (US: 14th)
 • Urban density6,843/sq mi (2,642.1/km2)
 • Metro
4,648,486 (US: 13th)
 • CSA
9,164,058 (US: 5th)
DemonymSan Franciscan
Languages
 • OfficialEnglish, Spanish, Cantonese, Mandarin, Filipino, Vietnamese
GDP
 • City and county$268.3 billion (2024)
 • Metro$801.3 billion (2024)
 • CSA$1.408 trillion (2024)
Time zoneUTC−08:00 (PST)
 • Summer (DST)UTC−07:00 (PDT)
ZIP Codes
List
  • 94102–94105
  • 94107–94112
  • 94114–94134
  • 94137
  • 94139–94147
  • 94151
  • 94158–94161
  • 94163–94164
  • 94172
  • 94177
  • 94188
Area codes415/628
FIPS code06-67000
GNIS feature IDs277593, 2411786
Websitesf.gov
Symbols
NicknameSee list
MottoOro en Paz, Fierro en Guerra
(Spanish for 'Gold in Peace, Iron in War')
Song"Theme from San Francisco", "I Left My Heart in San Francisco"
AnimalRed-masked parakeet
FlowerDahlia

San Francisco, officially the City and County of San Francisco, is the fourth-most populous city in California and the 17th-most populous in the United States, with a population of 827,526 in 2024. Among U.S. cities with a population of 300,000 or more, San Francisco is ranked first by per capita income, second by population density, and sixth by aggregate income as of 2023. Some 4.6 million residents live in the city's metropolitan statistical area, which is the 13th-largest in the United States. Around 9.2 million live in the San Jose–San Francisco–Oakland combined statistical area, the fifth-largest in the United States.

Prior to European settlement, San Francisco was inhabited by the Yelamu Ohlone. On June 29, 1776, settlers from New Spain established the Presidio of San Francisco at the Golden Gate, and the Mission San Francisco de Asís a few miles away, both named for Francis of Assisi. The California gold rush of 1849 brought rapid growth, making it the largest city on the West Coast at the time. In 1856, San Francisco became a consolidated city-county. After three-quarters of the city was destroyed by the 1906 earthquake and fire, it was quickly rebuilt, hosting the Panama–Pacific International Exposition nine years later. In World War II, it was a major port of embarkation for naval service members shipping out to the Pacific Theater. After the war, the confluence of returning servicemen, significant immigration, liberalizing attitudes, the rise of the beatnik and hippie countercultures, the sexual revolution, opposition to U.S. involvement in the Vietnam War, and other factors led to the Summer of Love and the gay rights movement, cementing San Francisco as a center of liberal activism.

The San Francisco Bay Area is among the most economically productive large urban areas in the United States and the world, with a GDP of $1.332 trillion in 2024, higher than all but 17 countries. As of 2020, the OECD-defined metropolitan area, with 6.7 million residents, ranked 5th by GDP ($874 billion) and 2nd by GDP per capita ($131,082) across all metropolitan areas in the OECD countries. In 2024, San Francisco proper had a GDP of $268 billion and a GDP per capita of $324,000. This productivity is spurred by its leading universities, high-tech, healthcare, finance, insurance, real estate, and professional services sectors. The city is home to numerous companies—many in the technology sector—including Salesforce, Uber, Airbnb, Levi's, Gap, OpenAI, Chime, Anthropic, Databricks, Dropbox, and Lyft.

In 2022, San Francisco had more than 1.7 million international visitors and approximately 20 million domestic visitors. It is known for its steep rolling hills and eclectic mix of architecture across varied neighborhoods; its Chinatown and Mission districts; mild climate; and landmarks including the Golden Gate Bridge, cable cars, and Alcatraz. The city is home to educational and cultural institutions such as the University of California, San Francisco, the University of San Francisco, San Francisco State University, the San Francisco Conservatory of Music, the Legion of Honor, the de Young Museum, the San Francisco Museum of Modern Art, the San Francisco Symphony, the San Francisco Ballet, the San Francisco Opera, the SFJAZZ Center, and the California Academy of Sciences. Two major league sports teams, the San Francisco Giants and the Golden State Warriors, play their home games within San Francisco. San Francisco International Airport (SFO) is one of the world's busiest airports, while a light rail and bus network, in tandem with the BART and Caltrain systems, connects nearly every part of San Francisco with the wider region.