Picture eating outside in a T-shirt in the sunny Mission District while a friend in the Outer Sunset texts about gray skies and 62 degrees. That contrast is one of the most striking features of San Francisco weather. The fog settles hard on some neighborhoods and barely touches others. That matters for visitors, day-trippers and anyone choosing where to live in San Francisco.
How Hyper-Local Is the Variation?
The differences can be very local, and on a foggy July afternoon the Outer Sunset can sit near 62 degrees. The Mission, about 4 miles east and sheltered by Twin Peaks, can reach the low 70s. A 10-degree gap across a short drive makes for a very different summer. NOAA's HRRR model analysis shows fog over the Outer Sunset in about half of July's 7 AM hours, far more often than east of Twin Peaks. The Castro and Noe Valley share the Mission's shelter. The Richmond District, open to the ocean and the Golden Gate, is nearly as foggy as the Sunset.
These patterns hold from year to year because they come from fixed geography rather than random weather. The broader pattern of San Francisco microclimates follows the terrain, so learning the terrain tells you most of what you need to know about the fog.
Shelter Matters More Than Height
The marine layer that flows into San Francisco is often 1,000 to 2,000 feet deep, though it can be much shallower on some days. That means most of the city, including its hills, usually sits inside it when it arrives. Height helps on days when the layer is shallow, because the higher neighborhoods can poke out into sunshine. On most foggy days, though, shelter and distance from the ocean matter more than height alone.
Twin Peaks, at 922 feet, shows both sides of this. On mornings with a shallow marine layer, its summit rises above the fog. Watching the city vanish under a white blanket from the top is one of San Francisco's great sights. On deeper fog days, Twin Peaks itself is wrapped in gray, because it stands directly in the path of the ocean air. The Castro, Noe Valley, Diamond Heights and Bernal Heights do better mainly because Twin Peaks and the hills around it block the flow. They are not fog-free, but they see far less fog than the low western neighborhoods.

Ocean Exposure and Wind Direction
Exposure to the ocean explains much of the pattern. A neighborhood facing straight out to the Pacific sees far more fog than one tucked behind a ridge at the same height. The Outer Sunset faces Ocean Beach with no hills in between, so when marine air streams in from the west, it gets the fog first, strongest and longest.
Daly City, just south of the city line, is one of the foggiest places in the Bay Area. It sits on the low ground between the ocean and the bay, right in the gap where marine air pours inland toward SFO. It is not high enough to rise above the marine layer, and nothing shelters it from the west. People who move there from warmer inland towns are often surprised by how gray the summers are.

Gaps in the Hills and Street-Level Effects
Wind and fog also follow the low ground between the hills. Gaps in the terrain let fog reach farther east than you might expect. The marine air flows along Golden Gate Park and the Panhandle toward the Haight, and it spills over low saddles between the hills toward downtown. That is why walking a few blocks can feel like stepping from one microclimate into another.
On the sheltered side, some neighborhoods just east of Twin Peaks and Mount Sutro sit in a wind shadow that is easy to miss on a flat map. Even a few blocks of shelter behind a ridge can mean less wind and earlier sunshine.
A Practical Neighborhood Comparison
On a typical foggy July day, the Outer Richmond and Outer Sunset stay in the upper 50s to low 60s under dense fog. They often see no sun before noon, and sometimes none at all. The Inner Richmond and Inner Sunset run a little warmer and clear a little sooner, and that small edge adds up over a summer. The Marina and Fisherman's Wharf face the bay from the north and get marine air through the Golden Gate at a different angle. Their fog often clears earlier than on the west side.
Noe Valley has a reputation as a fog-sheltered neighborhood, and it has earned it. Twin Peaks and the ridge to its west block much of the marine air. The Mission shares the same shelter and runs consistently warmer and sunnier than the city's western half. In these neighborhoods, a backyard is actually usable in July, which is not something you can say about the Outer Sunset.

Where to Live or Visit If Weather Matters to You
If sunshine matters most when choosing a San Francisco neighborhood, look east of Twin Peaks. The Castro, Noe Valley, the Mission, Bernal Heights and the Upper Market area offer the best odds of afternoon sun in summer. They are often warm on days when the Outer Sunset is still fogged in at 3 PM. For visitors, a hotel near Union Square and one on the west side can mean very different July lunches outdoors.
Crossing the bay makes the choice even simpler for sun seekers. Oakland and Berkeley still get marine air, but it has thinned and warmed by the time it crosses the bay. They run warmer than San Francisco through the summer. The BART ride from the East Bay into San Francisco takes about 15 minutes and often crosses a 10-degree temperature boundary on summer mornings. Many people who work in San Francisco and care about summer weather choose to live in the East Bay for that reason.
The Bottom Line
San Francisco's neighborhood fog patterns are not random. They come from the city's terrain and its exposure to the ocean, acting on a marine layer that arrives in predictable ways. Once you can read the terrain the way the fog does, the weather stops feeling arbitrary. You will also never again book a July vacation rental in the Outer Sunset without knowing what you are choosing.















