Planning for the weather is a good way to make your trip to San Francisco relaxing and enjoyable, especially when you're splurging. The hottest months are usually August and July, with an average temperature of 30°C, while the coldest months are January and February, with an average of 17°C. Average annual precipitation for San Francisco is 206 mm.