San Francisco, situated at the northern tip of the San Francisco Peninsula in California, is one of the most geographically dramatic cities in North America—a compact, densely built city of roughly 870,000 people occupying just 121 km² of hilly terrain between the Pacific Ocean to the west and San Francisco Bay to the east.
Introduction
The city's geography is defined by its extraordinary setting: a fog-shrouded peninsula guarding the Golden Gate—the narrow strait connecting the Pacific to the Bay—with 43 named hills, active earthquake faults, and some of the most famous urban vistas on Earth. San Francisco sits astride the boundary between the Pacific and North American tectonic plates, making it one of the most seismically hazardous major cities in the world.
Location & Setting
- Coordinates: 37.7749°N, 122.4194°W
- Elevation Range: 0–282 m (Mount Davidson)
- Area: 121.4 km² (land area); 600.6 km² including water
- Country: United States
San Francisco lies at 37.8°N latitude on the central California coast, occupying the tip of a roughly 50 km long, 10 km wide peninsula that separates the Pacific Ocean from San Francisco Bay. The Golden Gate, a mile-wide, 100 m deep strait, connects the Bay to the ocean at the peninsula's northern tip, spanned by the iconic 1937 suspension bridge. The Bay itself is a large tidal estuary covering roughly 1,600 km² that receives freshwater from the Sacramento and San Joaquin rivers draining California's Central Valley.
The city is bounded by water on three sides—the Pacific to the west, the Golden Gate and Bay to the north, and the Bay to the east. Only the southern boundary connects to the rest of the peninsula. This constrained geography has made San Francisco one of the most densely populated major U.S. cities and driven its distinctive vertical development pattern of densely packed Victorian and Edwardian row houses climbing steep hillsides.
Terrain & Landscape
- Hills: 43 named hills; Twin Peaks (276 m), Mount Davidson (282 m)
- Golden Gate: Strait 1.6 km wide, 113 m deep at center
- Coastal Cliffs: Pacific cliffs at Lands End and Fort Funston
- Sand Dunes: Western half historically covered in sand dunes
San Francisco's 43 named hills create the city's signature steeply graded streets—some exceeding 30% gradient. The hills are formed from a complex geology of chert, serpentinite, sandstone, and shale, folded and faulted by tectonic activity. Twin Peaks (276 m) and Mount Davidson (282 m, the highest point) sit near the geographic center, while Telegraph Hill, Nob Hill, and Russian Hill define the iconic northeastern skyline. The hilly terrain has preserved many stunning viewpoints and created the famous cable car system.
The western half of the city was historically an expanse of sand dunes covering what is now the Sunset and Richmond districts. Golden Gate Park (412 hectares) was created in the late 1800s by engineering these dunes into a massive urban park. The Pacific coastline features dramatic cliffs at Lands End and the Presidio, wide sandy Ocean Beach (6 km), and the rocky shores beneath the Cliff House. The Bay side is more developed, with extensive areas of filled land—the Marina, South of Market, and Treasure Island are all built on fill.
Climate & Weather
- Climate Type: Mediterranean with cool summers (Köppen Csb)
- Summer Temps: 13–21°C (June–August, cooled by fog)
- Winter Temps: 8–14°C (December–February)
- Annual Rainfall: ~508 mm
San Francisco has a cool-summer Mediterranean climate with remarkably mild, narrow temperature ranges—the difference between the warmest and coolest months averages only 5°C. The defining weather feature is the summer fog: as California's Central Valley heats up, it draws cool marine air through the Golden Gate, generating thick advection fog that blankets the western half of the city. Summer temperatures are famously cool for a California city, with daytime highs often below 18°C when fog persists—prompting the quote often attributed to Mark Twain about cold San Francisco summers.
The fog creates dramatic microclimates within the small city—the Mission District, sheltered by hills, can be 8–10°C warmer and sunnier than the fog-shrouded Sunset district just 5 km away. Rain falls almost exclusively between November and April, with virtually no precipitation from May through September. The warm, dry "Indian summer" in September and October is typically the city's warmest period, when offshore winds suppress the fog.
Natural Hazards & Geology
- Seismic Risk: Very high; San Andreas and Hayward faults
- Liquefaction: Filled land highly vulnerable to ground failure
- Landslide Risk: Steep hills with unstable soils
- Tsunami Risk: Low-moderate; Pacific coast and Bay exposure
San Francisco sits directly on the San Andreas Fault system—the boundary between the Pacific and North American plates. The 1906 earthquake (estimated magnitude 7.9) and resulting fires destroyed 80% of the city and killed over 3,000 people. The 1989 Loma Prieta earthquake (magnitude 6.9), centered 100 km south, caused the collapse of the Cypress Freeway and a section of the Bay Bridge, killing 63 people. Scientists estimate a 72% probability of one or more magnitude 6.7+ earthquakes in the Bay Area by 2043.
Filled land areas pose the greatest seismic risk due to liquefaction—during strong shaking, the saturated artificial fill behaves like liquid, causing buildings to sink, tilt, and collapse. The Marina District, built on rubble dumped after 1906 and landfill from the 1915 Panama-Pacific Exposition, suffered extensive liquefaction damage in 1989. South of Market and Treasure Island face similar risks. Landslides affect steep hillsides during heavy winter rains, particularly in areas with serpentinite bedrock, which becomes extremely slippery when wet.
Rivers & Waterways
- San Francisco Bay: Tidal estuary, ~1,600 km²
- Golden Gate: Strait connecting Bay to Pacific, 1.6 km wide
- Islais Creek: Largest remaining stream, mostly culverted
- Alcatraz Island: Rocky island in Bay, 1.7 km offshore
San Francisco has no significant rivers—its compact, hilly terrain means streams are short and most have been buried in culverts beneath the city. Islais Creek, the largest remaining waterway, drains the southern neighborhoods into the Bay. Historical streams like Mission Creek and Lobos Creek have been filled or channeled underground. The city's relationship with water is defined by the Bay and the ocean rather than rivers.
San Francisco Bay is the largest estuary on the Pacific coast of the Americas, receiving freshwater from the Sacramento-San Joaquin River Delta and flushing through the Golden Gate with powerful tidal currents that can exceed 6 knots. The Bay's size has been reduced by roughly one-third through land reclamation and fill since the Gold Rush era. Alcatraz Island, Angel Island (California's largest Bay island at 3.1 km²), and the Farallon Islands (43 km offshore in the Pacific) are prominent features of the city's marine geography.
Key Facts
- San Francisco occupies just 121 km² at the tip of a peninsula between the Pacific Ocean and a 1,600 km² bay.
- The city has 43 named hills, with Mount Davidson (282 m) the highest point.
- The Golden Gate strait is 1.6 km wide and 113 m deep, with tidal currents exceeding 6 knots.
- The 1906 earthquake (M7.9) destroyed 80% of the city; a similar event is statistically overdue.
- Summer fog keeps San Francisco 8–10°C cooler than inland areas just a few kilometers away.
Fun Facts
- Much of San Francisco's Marina District is built on rubble from the 1906 earthquake used as landfill.
- Golden Gate Park was engineered from barren sand dunes into one of America's great urban parks.
- San Francisco's famous cable cars were invented specifically to climb the city's steep hills.
- The Farallon Islands, 43 km offshore, host the largest seabird colony in the contiguous United States.
Final Thoughts
San Francisco's geography packs extraordinary drama into a compact space—43 hills, two waterfronts, the Golden Gate strait, earthquake faults, and a climate defined by summer fog all within 121 km². The city's position on the San Andreas Fault makes it one of the world's most seismically hazardous urban areas, while its peninsular setting between a vast bay and the Pacific Ocean creates the microclimates and maritime character that define the San Francisco experience. Understanding this geography is essential to appreciating both the city's beauty and the geological forces that will inevitably reshape it.
Test Your Knowledge!
Think you know world city geography? Test your knowledge with our interactive games!
Play Geography Games →