Taking the local weather in San Francisco into account is an important factor for planning your visit, especially if you plan to spend your trip by the pool. 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.