The short answer
Lima has a summer and a fog season rather than four seasons. From December to April the coast is warm, the sky is often blue and the beaches and Malecón are alive. From May to November the garúa, a thick coastal fog, settles over the city, turning it grey and damp for weeks at a time; temperatures are mild but the light is flat. If Lima is the whole trip, come in summer. If Lima is the start of a journey to Cusco and Machu Picchu, the Andean dry season of May to September is the priority, and you accept a grey Lima for a sunny mountain. The compromise months are April, May, October and November.
December to April: summer on the coast
Days are warm, evenings pleasant, and the sun breaks through most mornings by late December. This is when Limeños head to the beaches south of the city at weekends, when the Malecón fills with runners and paragliders, and when the rooftop and terrace restaurants of Barranco and Miraflores come into their own. January to March is the peak; February is the hottest and most humid month. The Andes are in their rainy season now, and the Inca Trail closes in February for maintenance, so trips combining Lima and Cusco in these months should plan for mountain rain.
May to November: the garúa
The fog arrives in May and thickens through June, July and August, Lima's winter, when the city can go days without seeing the sun. It is not cold in the way Gulf travellers imagine cold, but the damp makes it feel cooler than it is, and the grey can be wearing. The compensation is that this is high season in the Andes, with clear skies over Machu Picchu and the Sacred Valley, and that Lima's restaurants, museums and markets are entirely unaffected. The food scene is the reason to stop in Lima in these months, and it is as good in July as in January.
September and October see the fog thinning, with more bright afternoons; November is often pleasant and is a good-value month before summer.
The coast beyond Lima
If beaches matter, the northern coast around Máncora and Punta Sal is sunny year-round and a short flight away, which makes a fine addition in the fog months. Paracas and the Ballestas Islands, three to four hours south, are sunny most of the year and work as a day or overnight trip.
Festivals and calendars
Lima's anniversary at the end of January, Carnival in February and Semana Santa before Easter bring processions and events. The Mistura food festival, when it runs, draws crowds in spring. Peru's national holidays at the end of July fill domestic flights and hotels in Cusco; book well ahead for that week.
Eid, Ramadan and UAE holidays
The UAE winter break falls in Lima's summer, which suits the coast but not the Andes. Summer holidays fall in Lima's fog but the Andean dry season, which suits a Machu Picchu trip. Fasting in Lima's mild climate is comfortable; halal food is limited, so the concierge can help with seafood-led and vegetarian options.
What to pack
Summer needs light clothes, sun protection and a layer for air conditioning and sea breezes. Fog season needs layers, a light jacket and comfortable shoes; the damp seeps in, so a fleece is welcome in the evenings. Nothing waterproof is needed in the city, but the Andes are another matter.
Plan it with Dubizzo
Tell Dubizzo whether the coast or the mountains matter more and it will show live fares and hotel rates for the months that fit, including the Cusco connection. Start planning Lima, then read the overview and things to do.