Within San Francisco, a distance of three miles can separate a foggy, 58-degree afternoon from a sunny, 70-degree one. The Outer Sunset District, facing the Pacific on San Francisco's western edge, is among the foggiest and coolest urban neighborhoods in the continental United States on summer afternoons. The Mission District, tucked behind the Twin Peaks ridge in the city's interior, is reliably warmer, sunnier, and more sheltered from the ocean wind. The difference is so consistent and so large that San Francisco residents use it to plan their afternoons: when friends say "let's meet in the Mission because it's sunny," they are making a meteorological observation with practical consequences. That temperature gap is a core feature of San Francisco's microclimate system, and the explanation is entirely geographic.
Twin Peaks as a Weather Barrier
The primary explanation for the Mission District's warmth is the Twin Peaks ridge. Twin Peaks rises to 922 feet above sea level, and its paired summits function as a geographic barrier that the marine air flowing in from the Pacific must either pass over or flow around. The Outer Sunset District, located on the ocean-facing side of Twin Peaks, receives the full force of the marine push, cool, moist air at sea level flowing directly off the Pacific. The marine layer settles into the Outer Sunset, the winds are strong, and the fog hangs low.
The Mission District sits on the leeward (eastern) side of Twin Peaks and the associated hills of Noe Valley and the Castro. The marine air that flows over the ridge descends and warms slightly as it moves down the eastern slopes. This warming, called adiabatic compression, raises the temperature of the descending air, reducing its tendency to form fog. The Mission receives a version of the marine air that has been modified by its passage over the ridge. It is still cooler than Oakland or the inland East Bay, but warmer and sunnier than the Outer Sunset or Outer Richmond on the same afternoon.

How Much Warmer Is the Mission?
On a typical July afternoon when the marine layer is moderate, the Mission District runs about 8 to 12 degrees warmer than the Outer Sunset. On strong marine push days, the foggiest July afternoons when fog persists all day in the western neighborhoods, the difference can exceed 15 degrees. The Mission at 68 degrees and sunny while the Outer Sunset is at 53 degrees and completely fogged in is not unusual. The two neighborhoods are 2.5 miles apart.

The practical consequence for San Francisco residents is that the Mission has a distinctly different outdoor culture than the western neighborhoods. Outdoor restaurants, parks, and sidewalk cafes in the Mission are routinely usable in weather that would make the same spaces in the Outer Sunset uncomfortably cold and windy. Dolores Park, on the Mission-Castro border, fills with sunbathers on summer days precisely because it is in the microclimate warm zone. Fog rolls in from the west, but Dolores Park often stays sunny two to three hours longer than the city's western parks.
Other San Francisco Warm Zones
The Mission's warmth is part of a broader pattern of leeward warming in San Francisco. The neighborhoods east of the Twin Peaks and Noe Valley ridge system, the Castro, Noe Valley itself, and the lower Mission, all share this sheltered characteristic. Further east, the SoMa district and the Embarcadero waterfront are warmer and sunnier than the western neighborhoods because they face the bay rather than the Pacific, and the bay air is generally warmer than the ocean air on summer afternoons.
Neighborhoods that are on elevated ground with clear sky exposure and eastward orientation, like Potrero Hill and the slopes of Bernal Heights, also capture more afternoon sun than the western neighborhoods, for a combination of lee-side sheltering and sun angle reasons. The map of San Francisco neighborhood weather is a detailed one, and it runs counter to intuition: the city's inland neighborhoods are sunnier than its coastal ones, because "coastal" here means Pacific-facing and marine-exposed, not bay-facing and sheltered.
