Taking into account the local weather in San Francisco can help you maximize your time at the pool during your trip. The hottest months are usually August and July with an average temp of 86°F, while the coldest months are January and February with an average of 62°F. Average annual precipitation for San Francisco is 8 inches.