Costa Rica has a tropical climate, with an average temperature of around 27°C (80°F). The weather can be hot and humid throughout the year, and the country experiences two main seasons: the dry season and the rainy season.
The dry season, which runs from December to April, is generally considered the best time to visit Costa Rica, as the weather is sunny and dry. The rainy season, which runs from May to November, is also a good time to visit, as the weather is still warm and the rain tends to come in short bursts.
Temperatures can vary depending on the region and the altitude. Coastal areas tend to be hotter and more humid, while the highlands are generally cooler and drier. It is a good idea to check the weather forecast and pack appropriate clothing for your trip.