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 logged 73% more than the Mission, and Skyline Ridge three times as many as Palo Alto.
  • ✓Slopes facing the onshore wind get the fog first, while 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 ocean air up the hills every summer. Over one year of NOAA weather model records, 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 same ocean air covers both places, but only the hillside gets the fog, because only the hillside makes the air climb.

What Is Upslope Fog?

Upslope fog is fog made by the shape of the land. The National Weather Service defines it as fog that forms when moist, stable air is carried up a mountain slope. In everyday terms, 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, which is that the same air sits over the flats and the hills, but the climb 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 to form, and the first is wind. It has to push air toward rising ground, so the air has no choice but to climb. Second, the rising air expands and cools, by 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. It also has to be stable enough to stay 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 or turns, or the air dries out, the fog stops forming and thins out. Unlike the fog that forms on clear, calm nights, 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. The air arriving at the hills is already cool and nearly full of moisture, so 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 ocean air climb. In every area we checked, the hillside logged more fog hours than the flats below it. Oakland's Montclair hills had 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 across the region. The coast is foggiest, because that is where the ocean air comes ashore, and the hills facing the wind come next because they lift that air. The sheltered flats behind the hills get the least fog of all. 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. It also means Twin Peaks and Mount Sutro in San Francisco and San Bruno Mountain above Daly City. Farther out, the Santa Cruz Mountains along Skyline Boulevard and the west face of Mount Tamalpais get it too.

The other side of each ridge tells the rest of the story. Valleys and slopes on the sheltered side, such as Orinda behind the Oakland hills, Woodside below Skyline and the canyons of Mill Valley, often stay clearer. There, 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.

Deep Dive: How High Must Air Rise Before Fog Forms?

The height at which climbing air turns to fog depends on how close it already is to saturation. Meteorologists call that height the lifting condensation level. For the damp ocean air that reaches the Bay Area hills in summer, it is often only a few hundred feet above sea level.

How Can You Estimate Where Fog Will Form?

Rising air cools by about 5.5°F for every 1,000 feet. Its dew point, the temperature at which it would condense, also falls as it rises, but only by about 1°F per 1,000 feet. The gap between temperature and dew point therefore closes by about 4.5°F for every 1,000 feet of climb.

By our calculation, that works out to about 220 feet of climb for each degree Fahrenheit between the air temperature and the dew point. Marine air at 58°F with a dew point of 55°F has a 3-degree gap. It would reach saturation after climbing about 670 feet. That is why the Oakland hills, several hundred feet above downtown, so often sit in fog while downtown stays clear.

Above that level, the air keeps rising and condensing, and the fog grows wetter and thicker with height. That is why visibility often drops further near a ridgetop than it does partway up the slope.

Why Doesn't the Fog Just Flow Over the Ridge?

Whether air climbs over a hill or flows around it depends on the wind speed, the height of the hill and how stable the air is. Mountain weather textbooks, such as C. David Whiteman's Mountain Meteorology, describe this with a value called the Froude number. When the number is below 1, much of the air cannot get over the ridge and is blocked or turned aside.

The marine layer is very stable, because it sits under a strong inversion. By our calculation, an 11-mph wind pushing air that stable against a 1,600-foot ridge gives a Froude number of about 0.5. Much of the air stalls against the slope or slides sideways toward lower gaps, instead of pouring straight over the top.

That is why fog often piles up along the western face of the Berkeley and Oakland hills like water against a dam. It spills over first through low passes and canyons. Where the ridge stands taller than the top of the marine layer, the fog cannot cross at all, and the far side stays in sunshine.

Driving, Hiking and Flying in Upslope Fog

On the road, upslope fog can drop visibility to near zero within minutes on an afternoon with onshore wind. That is especially true on Skyline Boulevard, Grizzly Peak Boulevard and the roads over the coast ranges. Slow down and 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, because a slope with ocean air pushing toward it will get the fog first.

Before heading up Skyline or Grizzly Peak on a day with onshore wind, check the Bay Area fog map. It shows how far inland the marine layer reaches and how high it sits. The Mount Tamalpais forecast shows 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. 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 last as long as the upslope wind blows. That 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. 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