San Francisco's summer fog follows a pattern nearly as predictable as the tides, driven by the same weather systems that shape the whole Bay Area. It peaks in July, not June or August, and it is thickest in the evening and overnight rather than the afternoon. In some neighborhoods it burns off by noon, and in others it never does. The foggiest days are not the coldest ones but the days when the temperature gap between the coast and the inland valleys is widest. Once you know the pattern, you can plan around it. For what is causing the fog on a particular day, see why it is so foggy today.
July Is the Foggiest Month
July is San Francisco's foggiest month, measured by how often marine layer fog forms, how long it lasts and how thick it gets. That can seem odd, since July has the longest days and the highest sun. But July is also when the North Pacific High, the big area of high pressure off the coast, is strongest. It is when the inland valleys are hottest compared with the cold ocean, so the pull of ocean air toward them is greatest. Together, those conditions drive the most ocean air ashore and make the most fog.
June is often called "June Gloom" for its persistent morning overcast, but that gray usually burns off by midday or early afternoon. In July, the marine layer deepens and the warm lid of air above it gets stronger, so the fog burns off less reliably. Some July days in San Francisco see no afternoon sun at all. In August, ground fog becomes a little less frequent than in July, though the low cloud deck stays thick over the coast. Our guide to San Francisco weather in August has the details.

When During the Day Is Fog Most Intense?
San Francisco's fog is most intense in the late evening through early morning. After the afternoon burn-off, the marine layer reforms as the land cools and the temperature gradient between land and ocean reverses or weakens. The fog flows back in through the Golden Gate, typically in the late afternoon or evening, and densifies overnight. By dawn, the marine layer is at its maximum depth and density. Then the morning cycle begins: solar heating warms the surface, gradually weakening the inversion, and the fog burns off from inland and high-elevation areas outward toward the coast.

Whether and when the fog burns off depends on the marine layer depth and the strength of the inversion. On weak marine layer days in late June or September, the fog burns off by 9 a.m. and the afternoon is sunny and warm. On strong marine push days in July, the fog may not burn off until 2 or 3 p.m., or it may persist all day. The weather forecast phrase "patchy morning fog, clearing by noon" describes the median July day. "Dense fog advisory through the afternoon" describes the strong marine push days that characterize the foggiest parts of the fog season.
Neighborhood Variation in SF Fog
Not all of San Francisco gets the same fog on the same day. The western neighborhoods, including the Outer Sunset, Outer Richmond and Ocean Beach, are consistently foggier than the east side. They face the Pacific directly and get the ocean air first. The Mission District, sheltered to the west by the Twin Peaks ridge, is often sunny and 10 to 15 degrees warmer than the Sunset on the same afternoon. Some high spots also rise above the top of the marine layer and see sun on foggy mornings while the streets below stay gray.
The practical implication for visitors is that San Francisco's fog is not a uniform blanket. A July day that seems completely fogged in from the outside may offer sunshine in the Mission District by noon, while the Sunset remains gray. Planning activities for the eastern neighborhoods or the mid-afternoon hours can provide far better weather than assuming the city is uniformly overcast.















