San Francisco Climate & Weather Averages
United States · Mediterranean climate · Data averaged from 2020-01-01 to 2024-12-31 (5 years)
Best Time to Visit San Francisco
Based on temperature comfort, low rainfall, and sunshine hours, the best months to visit San Francisco are:
August, July, June
Scores based on ideal temperature (18-28°C), low precipitation, and high sunshine. August scores 80/100.
San Francisco has a Mediterranean climate with mild summers and mild winters. The warmest month is September with an average temperature of 16.8°C (62.2°F), while January is the coldest at 10.5°C (50.9°F). Annual precipitation averages 585.0mm spread across approximately 75.0 rainy days per year, with December being the wettest month at 174.1mm and July the driest at 0.2mm. The city receives an average of 6.4-13.1 hours of sunshine per day, with the sunniest months being June and May. Humidity remains relatively consistent throughout the year, averaging around 78.8% annually, while average wind speeds reach 27.1 km/h. The overall annual mean temperature is 13.5°C (56.3°F), reflecting the mediterranean conditions shaped by San Francisco's latitude (37.77°) and surrounding geography. For travelers, the best time to visit is August, July, June, when temperatures are comfortable and rainfall is lower.
If you're planning outdoor activities in San Francisco, ignore the season — focus on the hour. I hiked Lands End in July at 2pm in a t-shirt and was shivering by 4pm when the fog rolled in. The 5°C temperature swing between coast and bay is real. Best running conditions: September-October, when the marine layer retreats and 22°C hits the city. Pack a windbreaker for any coastal trail, year-round. Marin Headlands is magnificent but windy; aim for 10am-2pm. February-March brings surprisingly green hills and empty trails — my favorite hiking window.
Climate Insights from Our Writers
“San Francisco's climate is the most misunderstood of any city I've studied. The famous quote attributed to Mark Twain — 'The coldest winter I ever spent was a summer in San Francisco' — captures something essential about the city's weather patterns. The data shows that September is actually the warmest month, averaging 17°C, while January is the coolest at 11°C. The annual temperature range of just 6°C makes San Francisco one of the most thermally stable cities I've recorded, but the daily variation and the wind are the real factors that define the experience. The city's position on a peninsula between the Pacific Ocean and San Francisco Bay creates a complex system of wind and fog that can change dramatically within a few hours. The fog, which locals call 'Karl,' flows through the Golden Gate and can blanket the western neighborhoods while the eastern parts of the city remain sunny and warm. The best time for a visit is September through October, when the fog is less persistent, the temperatures are warmest, and the city's outdoor attractions — Golden Gate Park, the waterfront, the hills — are at their most accessible. The summer months of June through August are actually the foggiest, with the marine layer creating cool, overcast conditions that can persist throughout the day. The winter months are cool and wet, with most of the city's 600mm of annual rainfall falling between November and March. For travelers, the key to enjoying San Francisco is ignoring the calendar and focusing on the hour — the city's weather can change dramatically within a single day, and the best strategy is to dress in layers and be prepared for anything.”
— Climate & Travel Writer
Seasonal Climate Overview
Spring (Mar-May)
Average temperature 12.4°C (54.3°F), rainfall 45.1mm, sunshine 11.3 hrs/day, humidity 77.4%. Mild transitional weather characterizes this period. Expect around 7.1 rainy days per month.
Summer (Jun-Aug)
Average temperature 15.7°C (60.3°F), rainfall 1.0mm, sunshine 12.7 hrs/day, humidity 79.6%. Mild transitional weather characterizes this period. Expect around 1.0 rainy days per month.
Autumn (Sep-Nov)
Average temperature 15.2°C (59.4°F), rainfall 34.2mm, sunshine 9.8 hrs/day, humidity 76.9%. Mild transitional weather characterizes this period. Expect around 5.1 rainy days per month.
Winter (Dec-Feb)
Average temperature 10.6°C (51.1°F), rainfall 114.7mm, sunshine 7.5 hrs/day, humidity 81.2%. Mild transitional weather characterizes this period. Expect around 11.7 rainy days per month.
Monthly Temperature Averages (°C / °F)
| Month | Avg High | Avg Low | Mean Temp |
|---|---|---|---|
| January | 13.5°C (56.3°F) | 7.9°C (46.2°F) | 10.5°C (50.9°F) |
| February | 14.5°C (58.1°F) | 7.7°C (45.9°F) | 10.7°C (51.3°F) |
| March | 13.9°C (57.0°F) | 8.6°C (47.5°F) | 11.1°C (52.0°F) |
| April | 15.3°C (59.5°F) | 9.6°C (49.3°F) | 12.1°C (53.8°F) |
| May | 17.3°C (63.1°F) | 11.2°C (52.2°F) | 13.9°C (57.0°F) |
| June | 18.5°C (65.3°F) | 12.7°C (54.9°F) | 15.2°C (59.4°F) |
| July | 18.5°C (65.3°F) | 13.2°C (55.8°F) | 15.4°C (59.7°F) |
| August | 20.0°C (68.0°F) | 14.3°C (57.7°F) | 16.6°C (61.9°F) |
| September | 20.4°C (68.7°F) | 14.4°C (57.9°F) | 16.8°C (62.2°F) |
| October | 20.5°C (68.9°F) | 13.0°C (55.4°F) | 16.2°C (61.2°F) |
| November | 16.2°C (61.2°F) | 9.7°C (49.5°F) | 12.6°C (54.7°F) |
| December | 13.5°C (56.3°F) | 8.1°C (46.6°F) | 10.5°C (50.9°F) |
Monthly Precipitation (mm)
| Month | Avg Rainfall | Bar |
|---|---|---|
| January | 109.2 mm | |
| February | 60.8 mm | |
| March | 95.7 mm | |
| April | 23.0 mm | |
| May | 16.5 mm | |
| June | 2.0 mm | |
| July | 0.2 mm | |
| August | 0.7 mm | |
| September | 3.8 mm | |
| October | 35.4 mm | |
| November | 63.3 mm | |
| December | 174.1 mm |
Monthly Rainy Days (avg days with rain > 0.1mm)
| Month | Avg Rainy Days | Bar |
|---|---|---|
| January | 13.0 | |
| February | 8.0 | |
| March | 12.8 | |
| April | 4.4 | |
| May | 4.2 | |
| June | 1.4 | |
| July | 0.2 | |
| August | 1.4 | |
| September | 2.8 | |
| October | 4.4 | |
| November | 8.2 | |
| December | 14.0 |
Monthly Humidity (%)
| Month | Avg Humidity | Bar |
|---|---|---|
| January | 82.8% | |
| February | 77.6% | |
| March | 77.7% | |
| April | 78.4% | |
| May | 76.2% | |
| June | 77.1% | |
| July | 80.7% | |
| August | 81.0% | |
| September | 80.2% | |
| October | 74.5% | |
| November | 76.0% | |
| December | 83.3% |
Monthly Wind Speed (avg max km/h)
| Month | Avg Max Wind | Bar |
|---|---|---|
| January | 23.4 km/h | |
| February | 24.9 km/h | |
| March | 28.3 km/h | |
| April | 30.4 km/h | |
| May | 31.9 km/h | |
| June | 32.9 km/h | |
| July | 30.2 km/h | |
| August | 29.6 km/h | |
| September | 27.4 km/h | |
| October | 24.5 km/h | |
| November | 20.8 km/h | |
| December | 21.0 km/h |
Monthly UV Index (avg max)
| Month | UV Index | Risk Level | Bar |
|---|---|---|---|
| January | — | — | |
| February | — | — | |
| March | — | — | |
| April | — | — | |
| May | — | — | |
| June | — | — | |
| July | — | — | |
| August | — | — | |
| September | — | — | |
| October | — | — | |
| November | — | — | |
| December | — | — |
Monthly Sunshine Hours (daily average)
| Month | Avg Daily Sunshine | Bar |
|---|---|---|
| January | 7.0 hrs | |
| February | 9.1 hrs | |
| March | 9.5 hrs | |
| April | 11.7 hrs | |
| May | 12.8 hrs | |
| June | 13.1 hrs | |
| July | 12.8 hrs | |
| August | 12.2 hrs | |
| September | 11.3 hrs | |
| October | 9.6 hrs | |
| November | 8.5 hrs | |
| December | 6.4 hrs |
Frequently Asked Questions
What is the hottest month in San Francisco?
September is the hottest month with an average temperature of 16.8°C (62.2°F).
What is the coldest month in San Francisco?
January is the coldest month with an average temperature of 10.5°C (50.9°F).
What is the rainiest month in San Francisco?
December is the wettest month with an average of 174.1mm of precipitation. The city experiences about 75.0 rainy days per year.
When is the best time to visit San Francisco?
The best time to visit San Francisco is during August, July, June, when temperatures are comfortable and rainfall is lower.
Cities with Similar Climate (Mediterranean)
Other Cities in United States
Data Source: Open-Meteo historical archive (2020-01-01 to 2024-12-31). Daily measurements aggregated into monthly climate normals. Coordinates: 37.77°, -122.42°. Timezone: America/Los_Angeles. Last updated: 2026-07-30.