Weather is probably a major factor when you plan your trip to Tripoli, but bear in mind that cheaper options are usually available when the weather isn't as good. The hottest months are usually July and August, with an average temperature of 28°C, while the coldest months are January and February, with an average of 15°C. Average annual precipitation for Tripoli is 165 mm.