Planning for the weather is an important factor for making your trip to San Francisco a success, especially when you’re splurging. The hottest months are usually May and April, with an average temperature of 28°C, while the coldest months are February and January, with an average of 27°C. The rainiest months in San Francisco are July, June, September and October, with each month seeing an average of 312 mm of rainfall.