San Francisco

City in San Francisco County, California

View of San Francisco, California
Photo: Lightandtruth · CC BY-SA 4.0

San Francisco is a city in San Francisco County, California, with 873,965 residents (2020 Census). It sits at 52 ft (16 m) above sea level. The nearest town is Bolinas, 22.0 miles NE.

About San Francisco

San Francisco, officially the City and County of San Francisco, is the 17th-largest city and second-densest major city in the United States, with a 2025 population of 826,079. It is the fourth-most populous city in California and the second most-populous in the Bay Area. Some 4.6 million residents live in the city's metropolitan statistical area. Around 9.2 million live in the San Jose–San Francisco–Oakland combined statistical area, the fifth-largest in the United States. San Francisco is a global center for technology and finance, and is well-known for its affluence, eclectic architecture, and mild climate.

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.

In 2024, San Francisco had a GDP of $268 billion and a GDP per capita of $324,000, ranking first by per capita income and sixth by aggregate income among U.S. cities with a population of 300,000 or more. The city's productivity is spurred by its leading universities, and by its 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, varied neighborhoods (including Chinatown and the Mission District); 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.

Text: Wikipedia · CC BY-SA 4.0

San Francisco weather: 7-day forecast

Loading the National Weather Service forecast…

Hourly forecast & alerts ›

Source: National Weather Service (NOAA).

Live webcams in San Francisco

All 8 webcams near San Francisco ›

Webcams: Windy.com

Living in San Francisco

Median household income
$140,970
Median home value
$1,394,500
Median rent
$2,476/mo
Median age
40
Cost of living and demographics of San Francisco ›

Do you know San Francisco? Tell us about it

Help other travelers: share what makes San Francisco special. We review every message before publishing it.

Map of San Francisco

Tap any street on the map to see it in Street View below. Map: © OpenStreetMap contributors.

San Francisco Street View

Loading Street View…

Drag the image to look around and tap the arrows on the ground to move. If it says there is no imagery, tap a nearby street on the map above.

Open in Google Maps ›

San Francisco, CA population

San Francisco had 873,965 residents in the 2020 Census.

2020 Census873,965
Density18,720 per sq mi (7,228 per km²)

Source: U.S. Census Bureau, Decennial Census.

San Francisco at a glance

StateCalifornia (CA)
CountySan Francisco County
TypeCity
Population873,965 (2020)
Land area46.69 sq mi (120.9 km²)
Water area185.21 sq mi (479.70 km²)
Elevation52 ft (16 m)
Coordinates37.7272° N, 123.0322° W
Official websitesf.gov
Census code (GEOID)0667000

Sources: U.S. Census Bureau (Gazetteer, ZCTA), USGS GNIS, Wikidata.

Towns near San Francisco

Straight-line distance between town centers.

Frequently asked questions about San Francisco

What county is San Francisco in?

San Francisco is in San Francisco County, California.

What is the population of San Francisco, CA?

873,965 people lived in San Francisco at the 2020 Census.

What is the elevation of San Francisco?

52 feet (16 m) above sea level.

What towns are near San Francisco?

Bolinas (22.0 mi), Stinson Beach (24.1 mi), Muir Beach (26.4 mi), Inverness (26.4 mi), Lagunitas-Forest Knolls (27.4 mi).

Last updated: