fogclimate sciencemicroclimateshiking weather

Upslope Fog: Why the Bay Area Hills Get Fog When the Flats Stay Clear

By SFBayWeather|Published |Last updated |6 min read
Marine fog flowing up a forested coastal ridge in late afternoon, thinning below a sunlit crest

Key Takeaways

  • ✓Upslope fog forms when wind pushes moist, stable air up a slope and the air cools as it rises until it reaches its dew point.
  • ✓Rising air cools about 5.5°F for every 1,000 feet it climbs, so marine air that is already near saturation needs only a short climb to condense.
  • ✓In one year of NOAA HRRR analysis, Oakland’s Montclair hills logged 76% more fog hours than downtown Oakland, Twin Peaks 73% more than the Mission, and Skyline Ridge three times as many as Palo Alto.
  • ✓Slopes facing the onshore wind get the fog first; valleys in the lee of a ridge, such as Orinda and Woodside, often stay clearer.
  • ✓Upslope fog lasts as long as the wind keeps pushing. When a summit rises above the top of the marine layer, it sits in sunshine while the slopes below stay foggy.

Upslope fog forms when moist, stable air is pushed up a slope and cools as it rises until it reaches its dew point. In the Bay Area, the onshore wind lifts marine air up the hills every summer: over one year of NOAA HRRR analysis, Oakland's Montclair hills logged 76% more fog hours than downtown Oakland.

That is why a street in the Oakland hills can sit in gray mist while downtown, a few miles away and 800 feet lower, stays sunny. The marine air covers both places. Only the hillside gets the fog, because only the hillside makes the air climb.

What Is Upslope Fog?

Upslope fog is fog made by terrain. The National Weather Service defines it as a fog that forms when moist, stable air is carried up a mountain slope. The everyday version is simpler: the wind pushes damp air uphill, the air cools on the way up, and the hillside ends up inside a cloud.

The rest of this page follows one idea. The same air sits over the flats and the hills, but the climb is what turns it into fog. Once you see that, you can predict which slopes will be socked in on a given day.

How Does Upslope Fog Form?

Upslope fog needs three things. First, wind has to push air toward rising ground, so the air has no choice but to climb. Second, the rising air expands and cools: unsaturated air cools about 5.5°F for every 1,000 feet it rises, according to the NWS. Third, the air has to be moist enough to reach its dew point on the way up, and stable enough that it stays in a layer instead of boiling up into showers.

Schematic of onshore wind pushing moist air up a hill, cooling it until fog forms on the windward slope while the lee side stays clear
Schematic, not to scale. Fog forms where the rising air reaches its dew point, on the side facing the wind.

Upslope fog lasts as long as the wind keeps pushing. When the wind weakens, turns, or the air dries out, the fog stops forming and thins out. Unlike radiation fog, it does not need a clear night; it can form under cloudy skies and in the middle of the day.

In the Bay Area, the wind doing the pushing is the same onshore flow that brings the marine layer ashore, so the air arriving at the hills is already cool and nearly saturated. It doesn't have to climb far before it condenses.

Why Are the Bay Area Hills Foggier Than the Flats Below Them?

The Bay Area hills are foggier because they make marine air climb. In every area we checked, the hillside logged more fog hours than the flats below it: Oakland's Montclair hills about 76% more than downtown, Twin Peaks about 73% more than the Mission, and Skyline Ridge three times as many as Palo Alto.

Grouped column chart showing Bay Area hill locations log more fog hours than the flats below them, from NOAA HRRR analysis
NOAA HRRR model analysis, nearest 3 km grid cell, June 2025 to May 2026.
Fog hours on Bay Area hills versus the flats below them
AreaFlatsFog hoursHillsFog hoursCoast
OaklandDowntown, 42 ft1,631Montclair, 850 ft2,871n/a
San FranciscoMission, 49 ft1,351Twin Peaks, 922 ft2,3423,108 (Outer Sunset)
PeninsulaPalo Alto, 30 ft700Skyline Ridge, 2,300 ft2,0983,373 (Half Moon Bay)
MarinMill Valley, 52 ft1,752Mt. Tam East Peak, 2,571 ft2,0232,622 (Stinson Beach)

The pattern runs in a clear order. The coast is foggiest because that is where the marine air comes ashore. The windward hills come next because they lift that air. The sheltered flats behind the hills are clearest. That is also part of why San Francisco is foggier than Oakland.

Not every extra hour on the hills is pure upslope fog. Some of it is a low cloud deck whose base already sits below the hilltops, so the hills simply poke into it. On the windward side, the lifting lowers that base further, and in practice the two work together.

Where Does Upslope Fog Hit Hardest in the Bay Area?

Upslope fog hits hardest on slopes that face the onshore wind. In the Bay Area, that means the Oakland and Berkeley hills, which face the Golden Gate across the bay; Twin Peaks and Mount Sutro in San Francisco; San Bruno Mountain above Daly City; the Santa Cruz Mountains along Skyline Boulevard; and the west face of Mount Tamalpais.

The other side of each ridge tells the rest of the story. Valleys and slopes in the lee, such as Orinda behind the Oakland hills, Woodside below Skyline, and the canyons of Mill Valley, often stay clearer, because the air sinks and warms as it comes down the far side.

When Does Climbing Get You Above the Fog?

Climbing gets you above the fog when a ridge rises higher than the top of the marine layer. The summit then sits in sunshine while the slopes below are socked in. That is why Mount Tamalpais's East Peak, at 2,571 feet, logged fewer fog hours than Stinson Beach at the foot of the mountain.

How high you need to go depends on how deep the marine layer is that day. For the heights that usually rise above it, and where to find them, see how elevation affects Bay Area fog.

Driving, Hiking and Flying in Upslope Fog

On the road, upslope fog can drop visibility to near zero within minutes on an onshore afternoon, especially on Skyline Boulevard, Grizzly Peak Boulevard and the roads over the coast ranges. Slow down, use low beams, and read driving in Bay Area fog before a foggy commute.

On the trail, ridge hikes can go from sun to cold, wind-driven fog quickly, and trails under redwoods stay wet from fog drip. Carry a windproof layer even on a warm inland day. For pilots, upslope fog is a classic hazard because it can hide rising terrain and hangs on as long as the upslope wind keeps blowing.

The thread through all of it is the wind. Watch which way it is blowing, not just the sky overhead: if it is pushing ocean air toward a slope, that slope will get the fog first.

Before heading up Skyline or Grizzly Peak on an onshore day, check the Bay Area fog map to see how far inland the marine layer reaches and how high it sits, and the Mount Tamalpais forecast to see whether the summit is above it. For the same lifting process in winter storms, see Bay Area orographic rain.

Frequently Asked Questions

Is upslope fog dangerous?

Upslope fog can drop visibility to near zero on hillside roads and hide terrain from pilots, and it can form within minutes once the wind starts pushing moist air uphill. Slow down, use low beams, and watch for it on ridge roads on onshore afternoons.

When does upslope fog clear?

Upslope fog lasts as long as the wind keeps pushing moist air up the slope. It clears when the wind weakens or turns, or when the air dries out.

Is upslope fog the same as orographic fog?

Orographic fog is a broader term for fog shaped by terrain; upslope fog is the specific case where air rising up a slope cools to its dew point. Most writers use them interchangeably.

Is upslope fog the same as hill fog?

Hill fog is any cloud that touches high ground, including a low cloud deck the hills simply poke into. Upslope fog is formed by the lifting itself, though in the Bay Area the two often happen together.

Why do pilots study upslope fog?

Pilots study upslope fog because it can hide rising terrain, form quickly, and persist for as long as the upslope wind blows, which makes it a hazard near hills and mountains.

Why is the top of Mount Tamalpais sunny when the slopes below are foggy?

The summit of Mount Tamalpais often rises above the top of the marine layer, so the fog forms on the slopes below while the peak stays in sunshine.

Can upslope fog happen in winter?

Upslope fog can form in any season when moist, stable air is pushed up a slope, but in the Bay Area it is most common with the summer onshore flow that brings the marine layer.

Related Destinations

Live Bay Area Conditions

Compare temperature, wind, clouds, and comfort across the map.

See which microclimates are clear, cool, windy, smoky, or warming up right now.

Open the Weather Map