Blog
Fog and the city's microclimates
Myths and facts about San Francisco fog: why it comes in summer, why downtown readings differ from the west side, and what the Weather Service says about it.
Stand on Market Street at two in the afternoon in July, in shirtsleeves, and call a friend in the Outer Sunset. She will tell you she is wearing a wool hat. Both of you are right, and both of you are in San Francisco. No weather in America has been discussed as much as this city's fog, and little has been so thoroughly misunderstood. Some of what people believe is true, some is nonsense, and a good deal depends on which part of town they happen to be standing in. The downtown climate station, which supplies the official normals, sits in one of the milder, drier corners of the city; a few miles west, the same afternoon can run ten degrees cooler and gray. Here are the common beliefs, sorted into myth and fact.
Myth: "Fog comes from the cold ocean cooling the air"
Fact: Partly, but the engine is heat inland. In summer the Central Valley bakes. Hot air rises there and leaves a low-pressure hole, and cooler, heavier air from the ocean rushes in to fill it. The Golden Gate, the only sea-level gap in the Coast Range for hundreds of miles, is one of the main doors for that flow, along with other gaps in the hills. Out on the coast the ocean surface is cold, because winds push surface water away and colder water rises from below, a process called upwelling. Moist air sliding over that cold water cools until its moisture condenses into a low cloud layer called the marine layer. When the layer is deep enough and gets pushed inland, it becomes the fog that rolls through the Golden Gate and over the hills.
The National Park Service's description of the region's climate says the same thing in plain terms: gaps in the coastal ranges let ocean fog move inland during summer, moderating summer heat and drought. The hotter the inland valley, the harder the pull, and the more fog the city gets. It is a thermostat of a kind, and the city has never had to pay for it.
Myth: "Fog is a winter thing"
Fact: It is mostly a summer thing. In winter the air masses are different: storms bring rain and cloud, and the inland valley is cool, so the pull on marine air is weak. In summer the contrast between the hot valley and the cold ocean is at its sharpest, and the fog is most persistent from about June through August. By September and October the ocean has warmed and the valley has cooled, so less fog gets drawn in. That is why the warmest month downtown is September, with an average high of 70.2 degrees, while July's average high is only 66.3. september, the warmest month downtown takes up that month.
Myth: "Mark Twain said the coldest winter he ever spent was a summer in San Francisco"
Fact: The line is a famous misattribution. No one has reliably traced it to Twain. It endures because it fits the experience: a San Francisco summer afternoon, high in the 60s, stiff wind, gray sky, can feel colder than an inland winter. Treat the quotation as local folklore, which it is, and not as history.
Myth: "The whole city has the same weather"
Fact: The city is a quilt of microclimates, and that is one of its defining features. The reasons are geography:
- Hills. The city's hills, Twin Peaks and the ridges around it among them, act as barriers. Fog pours over some gaps, stalls on windward slopes and may never reach the east side at all.
- Distance from the ocean. The Richmond and Sunset districts, west of the hills, sit squarely in the path of marine air. They collect the fog first and keep it longest, which is why summers there feel cooler.
- Exposure. Districts along the northern shoreline, the Marina and the Presidio included, face the Golden Gate and take the wind and the marine air head on.
- Sheltered pockets. East of the hills, neighborhoods such as Potrero Hill have a name for sunshine, and the east side generally gets less fog than the west.
The depth of the marine layer matters too. When it is shallow, perhaps 500 feet or less, it hugs the coast and the hilltops can stand clear above it. When it is deeper, 1,000 to 2,000 feet, it covers the bay and the lower parts of the city. That is why one day the fog seems to lap at the foot of the hills and the next it swallows everything.
Temperatures can differ sharply over short distances. A walk from the Outer Sunset to a sunnier part of town can feel like a trip to another climate. Outer Sunset and Potrero Hill sit at opposite ends of that range.
Myth: "The downtown readings are the city's weather"
Fact: They are one station's weather. The numbers in this article and its companion pieces come from the NOAA 1991-2020 normals for the San Francisco Downtown station. That station gives a reliable official record, but it does not describe the Outer Sunset's foggy afternoons or the Mission's sunnier ones. The city's own forecasts come from the National Weather Service's San Francisco Bay Area office, which issues forecasts that reflect the area's microclimates, at weather.gov/mtr. Anyone planning an outdoor event on the west side should check the forecast for that part of town and expect cooler conditions than the downtown average suggests.
A useful habit is to compare. If the downtown high is in the mid-60s, the west side may sit several degrees lower on a foggy day and the east side may run warmer. How wide the gap gets depends on the marine layer and on the heat inland.
Myth: "Fog is just water vapor and does nothing"
Fact: Fog affects living things and daily life. In a season with almost no rain, it is the main moisture in the air. The Park Service notes that local microclimates, created by coastal mountains and valleys, contribute to the area's many endemic species. alcatraz as lighthouse and bird sanctuary and Golden Gate Park's 1,017 acres touch on how the city's natural areas live with it. Fog shapes travel, too: low visibility slows the ferries and the traffic on the bridges, and it is part of the reason a bridge crossing can feel like entering a different country.
Myth: "You can tell by looking at the sky downtown"
Fact: Sometimes you cannot. A bright downtown morning can hide a fog bank over the west side, and a gray morning can burn off by noon on the east. The edge of the marine layer moves. Fog often retreats during the afternoon and comes back in the evening, a pattern locals plan their errands around.
A day in the life of a summer fog bank
Anyone who watches the sky learns the daily rhythm. It varies, but the typical shape runs like this.
- Morning. The marine layer sits low and thick, often covering the west side and sometimes the whole city. Downtown may be gray at first. The temperature is near the day's low, which in July averages 54.4 degrees at the downtown station.
- Midday. As the sun warms the ground, the layer thins and lifts, and often retreats toward the coast. The east side may clear first while the Avenues stay overcast.
- Afternoon. Inland heat peaks, and the pull on the marine layer strengthens. Wind picks up through the Golden Gate and along the coast, and the fog edge moves back in.
- Evening. The fog often pours over the western hills and down into the city, a sight many residents watch from the hilltops with a jacket on.
Because of that rhythm, the sunniest hours on the west side may be late morning to early afternoon, and the east side may stay clear the longest.
Three hypothetical Saturdays
Say it is a Saturday in July and the downtown normal high is 66.3 degrees. These are invented cases, but they show the logic.
- A family heads to the Outer Sunset beach. The marine layer is thick and the wind off the ocean is strong. They pack sweaters and windbreakers, and the day turns out cool and gray even though the downtown number sounds mild.
- A couple plans a picnic on Potrero Hill. The hill's sunnier reputation holds, and the afternoon is clear. They bring a jacket anyway, for when the wind comes up.
- A group crosses the Golden Gate Bridge on foot. The bridge is exposed, and the fog may come and go in minutes. They carry layers and checked the forecast the night before.
The same rule governs all three: the city's average is a starting point, and the block you stand on decides the rest.
What to do with the facts
A few practical rules follow.
- Check the forecast for the neighborhood, not just the city. The Weather Service's Bay Area office posts forecasts at weather.gov/mtr, and a phone forecast for a specific location beats a citywide one.
- Dress in layers, because the difference between a sunny block and a foggy block can be a few streets or a few hours. seasons and what to pack has a wardrobe list.
- Plan sun by neighborhood. If you want a warm summer afternoon, the east and south neighborhoods generally offer a better chance than the western edge.
- Remember September and October, when the fog retreats and the city has its warmest and often clearest days.
- Allow for visibility. On foggy mornings, expect slower ferries and traffic.
What the numbers give away
The monthly normals in a year of weather in the downtown normals show the fog's signature without ever mentioning it. The mean temperature in July, 60.3 degrees, is only about 8 degrees above January's 52.2, and the summer averages stay in the 60s while the inland valley sits far hotter. The dry months, June through September, add up to 0.37 inch of rain, which makes fog the only moisture in the air. Why San Francisco's summers are dry and winters wet explains why the rain stops.
Fog is no flaw in the city's weather. It comes out of the same bay, ocean and hills that laid out the streets, and once you know what drives it you can read the sky, the hills and the date, and tell roughly what the afternoon will bring.