July and August are typically the warmest months in Solothurn, when the average temperature is 19°C. January and February are the coldest months, when the average temperature is 2°C. May and June are the months with the most rain.