Visiting local bars in San Francisco is more fun when you know what the weather holds. These rainfall averages and temperatures can help you determine the best time for bar-hopping. 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.