Málaga, where it's located

In Málaga, a city located on the coast of Andalusia, in southern Spain, the climate is Mediterranean, with mild, relatively rainy winters and hot, sunny summers.
The wind blows frequently: in the cold half of the year, it comes along with Atlantic depressions, while in summer, it blows in the form of afternoon breeze.
The daily average temperature ranges from 12 °C (53.5 °F) in January to 25.5 °C (78 °F) in August. Here are the average temperatures.
Málaga - Average temperatures
Min (°C)78910131720211814118
Max (°C)171819212427303028242017
Min (°F)454648505563687064575246
Max (°F)636466707581868682756863

Precipitation is not abundant, since it amounts to 525 millimeters (20.5 inches) per year, and follows the Mediterranean pattern, in fact, it mostly occurs from October to March, while in summer, it almost never rains. The rainiest month is November. Here is the average precipitation.
Málaga - Average precipitation

Winter, from December to February, is mild, and is characterized by sunny periods alternating with periods of bad weather, with wind and rain. Very cold days are rare: only on colder nights, the temperature can drop to the freezing point, but even in these cases, the temperature usually rises above 10 °C (50 °F) during the day. In practice, it never snows or freezes. In January 1985, very cold in much of Europe, the night temperature dropped only once below freezing, to -3 °C (27 °F).

Spring, from March to May, is mild and sunny, with rainy days still possible, but not so frequent. In May, and sometimes in April, the first hot days occur, with highs around 30 °C (86 °F).

Summer, from June to mid-September, is hot and sunny. Typically, the temperatures hovers about 27/28 °C (81/82 °F) in June and September and around 30 °C (86 °F) in July and August, the air is humid, but sea breezes blow, in short, it's the typical Mediterranean summer. However, when the wind blows from the interior of Andalusia, the heat can become intense, in fact, the temperature can reach 35/37 °C (95/99 °F) and sometimes up to 40 °C (104 °F). Fortunately, in this cases, there's a lively wind and the air becomes dry: it is advisable to drink often in order to avoid dehydration.

Autumn, from mid-September to November, is initially warm, and then becomes gradually milder, while periods of bad weather become gradually more frequent. In October, there are still many warm and sunny days, especially in the first half. By November, we are in the middle of autumn, with a mild climate, but often cloudy and rainy. Sometimes, the rains can be concentrated in a short time and can be heavy.

Malaga, view

The amount of sunshine in Málaga is very good in summer, when clear skies prevail. In the other seasons, there are many sunny periods, but cloudy periods are also possible. Here are the average sunshine hours per day.
Málaga - Sunshine

Given the infiltration of water from the Atlantic Ocean, the Alboran Sea is never very warm to swim in: it's still very cool in June, when the water temperature is about 20 °C (68 °F), then it reaches 22 °C (72 °F) in July and September, and 23 °C (73 °F) in August, when it becomes overall acceptable for swimming. Here are the average sea temperatures.
Málaga - Sea temperature
Temp (°C)161515161720222322201816
Temp (°F)615959616368727372686461

Best Time

The best time to visit Málaga for walks and hikes, is spring, in April and May; you can also choose the beginning of autumn, from mid-September to mid-October, although there can sometimes be quite intense rains.
The best time for a beach holiday in Malaga and the Costa del Sol is instead the summer, from June to mid-September. It's better to bring a sweatshirt for cool and windy evenings, especially in the first part of June.