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 August and September with an average temp of 80°F, while the coldest months are February and March with an average of 77°F. The rainiest months in San Francisco are January, December, June, and July, with each month seeing an average of 12 inches of rainfall.