You can plan your beach trip with a look at weather throughout the year in San Francisco: 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.