Skip to main content
seasonalfogmicroclimatesdestinations

San Francisco Weather in July: What to Expect

By SFBayWeatherPublished Last updated 7 min read
San Francisco Weather in July: Fog and Cool Summer Days

Key Takeaways

  • ✓July in San Francisco averages a high of 66.3°F and a low of 54.4°F downtown, slightly cooler than June and almost 4 degrees cooler than September.
  • ✓Fog defines the month, covering the Outer Sunset on about half of July afternoons but almost never downtown.
  • ✓The Mission District averages about 69.5°F at 3 PM, 12 degrees warmer than the Outer Sunset.
  • ✓Inland is nearly 30 degrees warmer, with Walnut Creek near 86°F at 3 PM while the Outer Sunset sits near 57°F.
  • ✓Rain is almost unheard of, and 63% of Julys from 1991 to 2020 had none.

Live fog map

Check the San Francisco Bay Area fog forecast

Reading about Bay Area fog is useful. Seeing where it is right now is better. Use the live fog map to compare the next 36 hours, or open the fog heat map to see which Bay Area microclimates receive the most fog over a typical year.

July in San Francisco is cool, dry and often foggy, with an average downtown high near 66°F and almost no rain. Fog hangs on longest over the west side of the city. The Mission and the East Bay are sunnier, and inland towns reach the mid-80s.

Mark Twain never wrote “The coldest winter I ever spent was a summer in San Francisco,” but the weather records back up the joke. Downtown's average July high is a little lower than June's and nearly 4 degrees below September's.

What Is July Weather Like in San Francisco?

July weather in San Francisco feels like summer almost everywhere in California except the city itself. Inland valleys bake in the mid-80s while the west side of the city sits under fog. Visitors who packed for California heat often end up buying sweatshirts. The useful question is not whether July is cold, but where and when it is cold, and how far you have to go to find sun.

San Francisco in July at a Glance
Average high / low66.3°F (19.1°C) / 54.4°F (12.4°C)
Average rainAlmost none: 0.01 in (under 1 mm)
Days at 70°F or warmerAbout 7
Foggy morningsMost days on the west side; fog often lingers all afternoon at the coast
Inland at 3 PMAbout 86°F in Walnut Creek, 83°F in San Jose
Ocean temperatureAbout 56°F offshore; about 68°F in the bay at Alameda
Record high99°F on July 3, 1931
Wettest July0.73 in, nearly all on July 8, 1974
SunsetAbout 8:36 PM on July 1, 8:19 PM on July 31

San Francisco Downtown station (USW00023272), NOAA 1991-2020 normals and records via RCC-ACIS. Fog and inland temperatures from NOAA High-Resolution Rapid Refresh (HRRR) model analysis, September 2014 to April 2026. Ocean temperatures from the NOAA NCEI Coastal Water Temperature Guide (buoy 46026 and Alameda 9414750). Sunset times computed for 2027.

Why Is San Francisco So Cold in July When It's Hot Inland?

San Francisco is cold in July because the heat inland pulls cool ocean air into the city. Hot air over the Central Valley rises, and cool, damp air from the ocean rushes in to replace it. That ocean air flows through the Golden Gate and carries the fog with it. The hotter the valley gets, the harder it pulls, and July is when that pull is strongest.

That is why July's average high downtown is slightly below June's and almost 4 degrees below September's, the warmest month of the year in the city. Our guides to why San Francisco is so cold in summer and the science of Karl the Fog explain the pattern in more detail.

Where in San Francisco Is It Sunny in July?

The east side of San Francisco is the sunny side in July. In NOAA weather model records going back to 2014, fog still covers the Outer Sunset on about half of July afternoons. Golden Gate Park is foggy on about a quarter of them, and downtown almost never.

A July Afternoon Across San Francisco and the Bay
Outer SunsetFog in about 50% of 2 PM hours; about 57°F at 3 PM
Golden Gate ParkFog in about 25% of 2 PM hours
DowntownFog in about 2% of 2 PM hours (35% at 7 AM)
Mission DistrictAbout 69.5°F at 3 PM
OaklandAbout 71°F at 3 PM
Walnut CreekAbout 86°F at 3 PM

Share of July hours with fog at the surface and average July 3 PM temperature, NOAA HRRR model analysis, September 2014 to April 2026. In July 2025, the model put the Outer Sunset at about 7 hours of sun a day and downtown at about 11.

The Mission District is about 12 degrees warmer than the Outer Sunset on a typical July afternoon. Plan afternoons in the Mission, SoMa, Potrero Hill or along the bay-side waterfront, and save the coast for a sunny break.

The time of day matters as much as the place. Downtown, July fog is mostly a morning event that covers the area on about one morning in three. By 2 PM it is almost always gone, so a gray morning downtown usually turns into a bright afternoon.

Along the bay shore, the price of sun is wind. At Crissy Field, the afternoon wind averages about 18 mph in July and reaches 15 mph or more on nine afternoons in ten. Sunny and windy is a normal July afternoon on the waterfront. For more, see San Francisco weather by neighborhood and why some neighborhoods are foggier.

People in jackets walking on a San Francisco ocean beach in thick gray fog on a July afternoon
On the west side, July fog often lasts through the afternoon.

How Much Warmer Is It Across the Bay in July?

At the extremes, it is about 25 to 30 degrees warmer across the bay and inland. On a typical July afternoon, the Outer Sunset sits in the upper 50s while Oakland is in the low 70s. Inland, Walnut Creek, San Jose and Napa all reach the 80s.

Bar chart of average July afternoon temperatures, from about 56 degrees in Pacifica and 57 in the Outer Sunset to 84 to 86 degrees in Napa and Walnut Creek
In July, a short drive inland adds nearly 30 degrees. Model values; station highs run a few degrees warmer.

In practice, a one-hour BART ride or drive is the difference between a fleece and a T-shirt. For more on the gap, see whether San Francisco is really 20 degrees colder than inland and the 30-degree coastal-inland gap.

Does It Ever Rain or Get Hot in San Francisco in July?

Rain almost never falls in San Francisco in July. Nearly two of every three Julys from 1991 to 2020 had no measurable rain at all. The wettest July on record had less than an inch, nearly all of it on July 8, 1974. Thick fog can still leave drizzle on windshields and sidewalks on the west side.

Real heat is just as rare, with about one day at 80°F or warmer downtown in a typical July. Only about one July in ten reached 90°F from 1991 to 2020. Most of the cold-weather complaints in July come from windy afternoons in the 60s, not from extremes. For the records, see the hottest temperatures on record.

The ocean stays cold all summer, at about 56°F off San Francisco in July. Swimmers at Ocean Beach need wetsuits, and the surf there has dangerous rip currents. The shallow bay is much warmer, and at Alameda it is warm enough in July for a comfortable wade. Our guide to Bay Area water temperatures has the details.

What Is the Weather Like for July 4, the Fillmore Jazz Festival and the San Francisco Marathon?

The Fourth of July is reliably dry in San Francisco. The downtown station has recorded no measurable rain on any July 4 since at least 1950, and the day averages a high near 67°F. The real risk for the evening fireworks is fog over the bay. Our guide to Fourth of July weather and fireworks fog covers where to watch.

The Fillmore Jazz Festival fills Fillmore Street on Fourth of July weekend. It is a daytime street fair in the middle of the city, where midday sun is common. The afternoon sea breeze turns cool by late day, so bring a layer.

The San Francisco Marathon runs on the last weekend of July with very early starts. The marine layer, the cool and cloudy ocean air over the coast, usually keeps runners cool. The Golden Gate Bridge crossing is often in fog and wind. The free Stern Grove Festival plays on summer Sundays on the foggy southwest side of the city. Bring a warm layer and a blanket for the afternoon shows.

Is July a Good Time to Visit San Francisco?

July is a good time to visit San Francisco if you plan for cool weather. It is dry, the days are long, and sunset comes after 8:15 PM all month. Real summer heat is only a short trip inland. Pack long pants and a warm fleece or light down jacket for the coast and evenings. Add a T-shirt and sunglasses for sunny afternoons in the Mission or across the bay.

If you want warmer days in the city itself, September is the better bet. You can compare months in the best month to visit, or look at the month before in San Francisco weather in June.

On a July day, check the Bay Area fog forecast to see how far the fog reaches before you pick a neighborhood. Then compare the Outer Sunset and Mission District forecasts, or check Walnut Creek if you want heat.

Frequently Asked Questions

What should I wear in San Francisco in July?

Wear long pants or carry a layer, with a warm fleece or light down jacket on top. Downtown afternoons average the mid-60s, but fog and wind near the coast feel like the 50s.

Is July or September warmer in San Francisco?

September is warmer in San Francisco. The downtown station averages a high of 70.2°F in September compared with 66.3°F in July, and the fog thins out after August.

Can you swim at San Francisco beaches in July?

The ocean off San Francisco averages about 56°F in July, so swimmers wear wetsuits, and Ocean Beach has dangerous rip currents. The bay at Alameda is much warmer, about 68°F.

Is it windy in San Francisco in July?

July afternoons are windy along the bay shore. In NOAA HRRR analysis, the 2 PM wind at Crissy Field averages about 18 mph, and 9 in 10 afternoon hours reach 15 mph.

How long are the days in San Francisco in July?

July days run about 14.7 hours on July 1 and 14.1 hours on July 31, with sunset between about 8:36 PM and 8:19 PM.

What is San Francisco's July temperature in Celsius?

San Francisco averages a July high of 19.1°C and a low of 12.4°C at the downtown station.

Was this article helpful?

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