Map from Google - El_Salvador

El Salvador, a small country in Central America, has a tropical climate, hot all year round along the coast and in the lowlands below 1,000 metres (3,300 feet), which are called tierras calientes, with little difference in the temperature (only a few degrees) over the seasons. The real difference is found in rainfall and humidity: the rainy season, from late April to October, is also definitely muggy. Rainfall occurs mainly as downpour or thunderstorm in the afternoon, so that the amount of sunshine, which is great in the dry months, remains acceptable even during the rainy season.
In the capital San Salvador 1,750 millimetres (68 inches) of rain per year fall. From June to September it rains a lot, about 300 millimetres (12 inches) per month, distributed in 20 days; on the other hand, from December to March it almost never rains. Here is the average precipitation.
Average precipitation - San Salvador
San SalvadorJanFebMarAprMayJunJulAugSepOctNovDecYear
San SalvadorJFMAMJJASONDY
Prec. (mm)5293615029031531035021535101735
Prec.(in)0.20.10.41.45.911.412.412.213.88.51.40.468.3
Days111513202020201642123

The city is located at 700 metres (2,300 feet) above sea level, so it's still in the tierras calientes, but the altitude makes the heat more bearable, in fact the maximum temperature ranges from 29 degrees Celsius (84 °F) from September to November, to 32 °C (90 °F) in March and April, which are, though slightly, the hottest months, before the rainy season. The night minimum drops a few degrees below 20 °C (68 °F) from November to March. Anyway, even here the rainy season, from May to October, is sultry.
Here are the average temperatures in San Salvador.
Average temperatures - San Salvador
San SalvadorJanFebMarAprMayJunJulAugSepOctNovDec
San SalvadorJFMAMJJASOND
Min (°C)161718192020191919191817
Max (°C)303032323130303029292930
Min (°F)616364666868666666666463
Max (°F)868690908886868684848486

Along the coast of the Pacific Ocean, the heat is more intense, so much so that lows range from 23 °C to 25 °C (73 °F to 77 °F), and highs from 30 °C to 31 °C (86 °F to 88 °F). However, there can be also very hot days, in which temperatures can reach 35 °C (95 °F). During the rainy season (which occurs in the same period as in San Salvador), the weather is hot and muggy. In inland valleys located at low altitude, the distance from the sea makes the heat even more uncomfortable, due to the less windy conditions.
Here are the average temperatures of Acajutla, located in the western part of the coast.
Average temperatures - Acajutla
AcajutlaJanFebMarAprMayJunJulAugSepOctNovDec
AcajutlaJFMAMJJASOND
Min (°C)232325252525242423242323
Max (°C)313131313130313130313131
Min (°F)737377777777757573757373
Max (°F)888888888886888886888888

For a beach holiday, the sea in El Salvador is warm throughout the year, in fact the water temperature goes from 28 °C (82 °F) in January and February, to 30 °C (86 °F) in April and May, as we can see in the following table.
Sea temperature - Acajutla
AcajutlaJanFebMarAprMayJunJulAugSepOctNovDec
AcajutlaJFMAMJJASOND
Sea (°C)282829303029292929292929
Sea (°F)828284868684848484848484

In inland areas there are volcanoes, plateaus and mountains, and the weather gets cooler with altitude. At intermediate altitudes a cloud forest grows; at high altitudes, above 2,000 metres (6,500 feet), it can get cold in the winter nights. The highest point is Cerro El Pital, although the summit, 2,730 metres (8,957 feet) high, is located in Honduras; from November to March on the top you can see the snow.

From December to March, sometimes El Salvador is reached by the Norte, a cool wind from the United States, which in the plains can bring at most a bit of cool weather in the evening and at night, while in San Salvador it can bring a bit of cold at night, with lows around 10 °C (50 °F).

In the period from June to November, El Salvador can be affected by hurricanes, especially between August and October.

El Salvador

When to go

The best time to visit El Salvador, whether you intend to visit the cities and make excursions, or to go to the beach, runs from December to mid-April, being the least hot and the driest. In the plains, December and January are preferable because they are less hot.

What to pack

All year round, light summer clothes in the plains, a light sweatshirt for the evening from December to March; a sweater for the evening in San Salvador. From May to October, possibly a light raincoat for thunderstorms.
For the mountains: hiking shoes, jacket.