There’s something undeniably magical about standing atop a mountain and gazing out over a thick blanket of clouds. And in the Bay Area, it’s a sight we’re lucky enough to experience frequently, at spots like Marin’s Mount Tamalpais or Mission Peak in the East Bay.
But this phenomenon — commonly called a “marine inversion” or “fog blanket” — isn’t just a feast for the eyes. It’s also rooted in some fascinating atmospheric science.
Keep reading to learn how this “sea of clouds” actually forms, and where (and when) to go hiking in the Bay Area for the chance to see it for yourself.
Jump straight to:
- Tips for successfully spotting a marine layer inversion
- Where to hike “above the clouds” in the Bay Area

The science behind the sea of clouds
Under typical conditions, as you move higher in altitude, the air temperature decreases and gets cooler — a pattern known as the “lapse rate,” which describes the change in temperature with elevation.
But occasionally, this rule flips.
When colder air gets trapped near the ground beneath a layer of warmer air, it forms a marine layer inversion. And in the Bay Area, this inversion is often tied to the Pacific Ocean’s influence, explained meteorologist Jan Null, especially during the summer.
“You have all this air along the coast sitting over this 55-degree water,” said Null, who founded Golden Gate Weather Service. “That water is cooling the air right above it. So you have cool air at the surface of the water, and then you have warmer air above that, and then it gradually cools off.”
That warm air acts like a lid, trapping the cooler air and moisture below and forming a shallow but dense marine layer, especially along the California coast.
During the summer, these inversions commonly occur around sunrise and dissipate during the day as the sun heats the surface, “breaking” the inversion layer — although Null said they can occur during sunset, too.
When an inversion happens, the marine layer is typically 1,000 to 2,000 feet thick, but its exact height can vary depending on offshore pressure systems. “Just like how water will always flow from a higher elevation to a lower elevation, air flows from high pressure to low pressure, trying to reach equilibrium,” Null said.
When that high pressure dominates, it suppresses the marine layer, keeping it low and closer to the ground. When a trough of low pressure moves in, that’s when the layer can deepen and rise to higher altitudes — and what allows hikers on summits to feel like they’re climbing above the clouds.
Inland areas, like the Central Valley, heat up more rapidly than the coast, creating a pressure difference that pulls this cool, moist air inland.
“The marine layer is primarily a summertime phenomenon as far as it coming inland because then you get the heating in the inland areas that generate that sea breeze pattern,” Null said.









