Weather is only one factor, but it can really affect your travel plans, especially if you're planning an extended stay in San Francisco. The hottest months are usually April and May, with an average temperature of 28°C, while the coldest months are January and December, with an average of 23°C. The rainiest months in San Francisco are September, June, August and October, with each month seeing an average of 232 mm of rainfall.