Dubrovnik has a borderline humid subtropical (Cfa) and Mediterranean climate (Csa) in the Köppen climate classification, since only one summer month has less than 40 mm of rainfall, preventing it from being classified as solely humid subtropical or Mediterranean.