Tripoli has a hot semi-arid climate (Köppen: ''BSh'') with hot and dry, prolonged summers and relatively wet mild winters. Although virtually rainless, summers are hot and muggy with temperatures that often exceed ; average July temperatures are between . In December, temperatures have reached as low as , but the average remains at between . The average annual rainfall is less than . Snowfall has occurred in past years.