Weather is only one factor, but it can really affect your travel plans, especially if you are planning a longer stay in San Francisco. The hottest months are usually November and December with an average temp of 43°F, while the coldest months are July and June with an average of 39°F. The rainiest months in San Francisco are February, December, January, and March, with each month seeing an average of 9 inches of rainfall.