Palo Alto and Half Moon Bay are less than 20 miles apart, with the Santa Cruz Mountains between them. That short distance and that ridge create one of the sharpest weather contrasts in the Bay Area. On a typical July afternoon, Palo Alto is around 80°F under clear skies. Half Moon Bay, on the ocean side of the same mountains, sits in the low 60s under coastal fog. The Peninsula shows how a single mountain range can split a region into two very different climates. The towns between those two points, along Highway 101 and Highway 1, show how geography shapes everyday weather.
The Santa Cruz Mountains as Weather Divide
The Santa Cruz Mountains run down the spine of the San Francisco Peninsula, from the hills south of San Francisco to the Santa Cruz area. The ridge reaches about 2,000 feet above San Carlos and climbs to more than 3,700 feet at Loma Prieta, above the South Bay. It acts as a wall against the summer marine layer, the cool, foggy air that flows in from the Pacific.
The marine layer flows inland from the coast, rises as it reaches the mountains and usually cannot get over the higher ridges. It fills the coastal valleys and western slopes with fog, much of which never reaches the bay side. Palo Alto, Menlo Park and the other bay-side towns sit in a fog shadow, similar to the rain shadow that keeps them drier in winter. They get only the warmer, drier air that makes it over the crest. The result is a steady rise in temperature and drop in fog from west to east across the Peninsula.
Half Moon Bay: The Coastal Extreme
Half Moon Bay sits on the San Mateo County coast, facing the Pacific directly and squarely in the path of the summer onshore flow. That gives it some of the most persistent marine layer weather in the Bay Area. Summer fog is not an occasional visitor there but the normal state of things, and clear days are the exception.
July and August highs in Half Moon Bay average about 65°F. Mornings are almost always foggy, and on many days the fog never fully clears. When it does break, the sunshine often lasts only a few hours in the early afternoon before the marine layer returns. The ocean off Half Moon Bay runs in the low to mid 50s. Without a wetsuit, a few minutes in that water can be dangerous.
This coastal climate has its advantages, because Half Moon Bay rarely feels the heat waves that hit the inland Peninsula. When Palo Alto reaches 100°F during an inland heat wave, Half Moon Bay may sit in the 60s or low 70s. The coast stays remarkably steady all year, with monthly average temperatures changing by less than 15 degrees between summer and winter. If you prefer cool, steady weather to hot sunshine, Half Moon Bay is hard to beat.

The Peninsula Gradient: From Bay to Coast
The towns along Highway 101, such as Redwood City, Menlo Park and Palo Alto, sit on the sheltered east side of the mountains. Their summer weather is very different from the coast's, often warm and sunny. Palo Alto's July high averages around 80°F, and summer heat waves often push temperatures into the 90s.
There is also a north-south gradient along the 101 corridor. Towns near the gaps that let marine air cross the Peninsula, such as South San Francisco, Burlingame and San Mateo, run cooler and breezier. Farther south, Redwood City and Palo Alto are sheltered by higher hills and run several degrees warmer. San Jose, at the south end of the bay, has summer highs similar to Redwood City's and Palo Alto's.
Foothill towns such as Los Altos Hills, Portola Valley and Woodside sit in a middle zone. They are sheltered enough from the marine layer to be much warmer than the coast. Because they lie close to the ridge, though, they feel the cool marine air that spills over Skyline Boulevard on strong days. Woodside in particular can see fog pour over the crest on summer evenings while the valley floor stays clear.
Fog Gap Communities: San Gregorio and Pescadero
South of Half Moon Bay, the coast is just as foggy and far less developed. San Gregorio, Pescadero and Año Nuevo sit along one of the foggiest stretches of the California coast. Marine fog covers this coast for much of the summer and is common in other seasons too. Local farms, including artichoke and Brussels sprout fields, depend on the cool, moist conditions the fog provides.
Marine air does reach the bay side through a few low spots. The biggest is the San Bruno Gap in the north, which funnels fog toward SFO and South San Francisco. Another low notch near Highway 92 and Crystal Springs Reservoir lets fog spill toward San Mateo. On days with an unusually strong marine push, fog can also pour over the ridge toward Woodside and the upper Peninsula. On most summer days, though, the Santa Cruz Mountains hold the line, and the contrast between coast and bay side stays sharp.
The Peninsula's weather contrast is a small version of California's larger coastal-inland divide, packed into a space you can drive across in about half an hour. Residents can choose between two very different outdoor days just by picking a direction. For visitors, hotel location on the Peninsula matters a great deal. A few miles and a mountain range can separate a foggy 60-degree day from a sunny 85-degree afternoon.















