Visiting local bars in San Francisco is better when you know what the weather holds. These temperatures and rainfall averages can help you determine the best time for bar-hopping. The hottest months are usually September and October, with an average temperature of 27°C, while the coldest months are February and January, with an average of 26°C. Average annual precipitation for San Francisco is 878 mm.