Lima is the capital of Peru. It sits on the country's central Pacific coast, in a desert strip wedged between the Andes foothills and the ocean, and it holds roughly a third of Peru's entire population. The city is also the seat of the national government, the Constitutional Court, and the country's largest port and airport. Two details catch most people out: Lima is not in the Andes, so it is not the high-altitude city many travelers expect, and the historic capital of the Inca Empire was Cusco, roughly 1,100 kilometers to the southeast.
Lima sits on a coastal desert, not in the Andes
Lima's location explains almost everything about a visit: the weather, the traffic, the food, and the way the city feels at 6 a.m. The metropolitan area spreads across the Rímac, Chillón, and Lurín river valleys on a coastal plain that receives almost no rain. Relative humidity often runs above 80 percent for much of the year, while annual precipitation is measured in single-digit millimeters in many districts. That combination produces the city's signature winter garúa — a dense, low coastal fog that blankets districts like Miraflores and Barranco from roughly May through November.
The geography creates a second, less obvious effect: microclimates. Districts closer to the ocean stay cooler and damper, while districts farther inland and higher up, such as La Molina or San Juan de Lurigancho, run warmer and sunnier on the same day. According to Peru's national weather and hydrology service, SENAMHI, coastal Lima and the Andean highlands can differ by more than 20°C at the same hour. Pack layers rather than a single wardrobe.
Getting oriented is straightforward once you accept the shape. Historic Lima, with the Plaza Mayor and the cathedral, sits near the Rímac River. Miraflores and Barranco, the districts most visitors gravitate toward, lie south along the cliff tops above the Pacific. Callao, Lima's port and home to the Jorge Chávez International Airport, sits to the west. The airport code is LIM, and it is the busiest in Peru.
One sensory detail you will not forget: walk the Malecón in Miraflores in June and the air feels like a cool, wet cloth. The ocean below is a flat gray sheet, paragliders drift along the cliff line, and the fog swallows the horizon by mid-afternoon.
The date Lima was founded, and why 1535 matters
Francisco Pizarro founded Lima on January 18, 1535, as "Ciudad de los Reyes" — the City of the Kings. The choice was strategic rather than sentimental. Pizarro needed a port city connected to the Pacific for shipping gold and silver to Panama and onward to Spain, and the Rímac valley offered fresh water, farmland, and a protected coastal position. The name Lima likely derives from the Quechua word "Rímac," meaning "talker," a reference to an oracle associated with the river.
That founding date gives the city a continuous colonial record stretching nearly five centuries, which is why the historic center carries UNESCO World Heritage status, granted in 1988. The designation covers the Plaza Mayor, the Cathedral of Lima, the Government Palace, the Convent of San Francisco with its catacombs, and the surrounding colonial grid. If you plan to visit the catacombs under San Francisco, note that timed entry and photography restrictions apply — confirm current rules on the convent's official site, since visitor policies change.
Independence came on July 28, 1821, when José de San Martín proclaimed Peru's independence from Spain in the Plaza Mayor. Lima then became the capital of the new republic, and July 28 remains Peru's Fiestas Patrias national holiday. Expect business closures and heavy domestic travel around that date.
Here is the timeline compressed:
1535 — Pizarro founds the city as Ciudad de los Reyes. 1543 — Lima becomes the seat of the Viceroyalty of Peru, administering Spanish South America. 1821 — San Martín proclaims independence in the Plaza Mayor. 1988 — UNESCO lists the historic center as a World Heritage Site.
Lima versus Cusco: two capitals that people mix up
The most common confusion about Peru's capital is a simple one: people assume the Inca capital and the modern capital are the same place. They are not. Cusco was the political and religious heart of the Inca Empire, called Tawantinsuyu, and it sits at roughly 3,400 meters in the Andes. Lima is a colonial-era coastal city at sea level. The distinction matters for travelers because the two cities have completely different altitude profiles, climates, and travel logistics.
| Feature | Lima | Cusco |
|---|---|---|
| Role | Current national capital | Historic Inca capital |
| Elevation | Roughly sea level | Approximately 3,400 m |
| Climate | Coastal desert with winter fog | Highland, dry season April–October |
| Rain | Minimal annual rainfall | Concentrated wet season November–March |
| Signature sight | Plaza Mayor, San Francisco catacombs | Qorikancha, Sacsayhuamán |
| Altitude risk | Essentially none | Real; acclimatization advised |
Altitude is the practical consequence. Cusco sits high enough that Peru's Ministry of Health advises gradual acclimatization, and most itineraries build in a rest day. Lima imposes no such requirement, which is one reason many itineraries start there before heading to the highlands. If your goal is Machu Picchu, you will fly or bus from Lima to Cusco, then continue by train from Poroy or Ollantaytambo to Aguas Calientes. Confirm schedules with PeruRail or Inca Rail directly, since service patterns shift seasonally.
The trade-off is real in both directions. Skip Lima entirely and you miss one of the world's most celebrated food scenes. Skip Cusco and you miss the Inca heartland. Most first-time visitors do both, treating Lima as the arrival city and Cusco as the destination.
How to get from the airport to central Lima
Lima's Jorge Chávez International Airport sits in Callao, about 12 kilometers from Miraflores and roughly 10 kilometers from the historic center. The airport completed a major terminal expansion, and ground transport options have improved, but the arrival experience still rewards planning. Official airport taxis and ride-hailing apps both operate; unlicensed drivers will approach you inside the terminal, and you should decline them.
Here is the practical sequence:
1: Clear immigration and customs, then collect baggage in the international arrivals hall. 2: Use an official taxi counter or a ride-hailing app rather than accepting a street solicitation. Authorized airport taxis are booked inside the terminal. 3: Confirm the fare before departure if using a fixed-price official taxi; app-based rides show the price in advance. 4: Allow 45–90 minutes for the drive to Miraflores or Barranco depending on traffic. Lima traffic is genuinely heavy during weekday rush hours, roughly 7–10 a.m. and 5–8 p.m. 5: Keep small bills for the fare; many drivers cannot break large notes.
Failure handling matters here. If your flight lands after midnight, official taxi counters may be thinly staffed, and app availability can be spotty. Pre-book a transfer through your hotel if you are arriving late. If a driver quotes a price dramatically below the app estimate, that is a warning sign, not a bargain. And if you are staying in the historic center rather than Miraflores, the drive is shorter but the neighborhood is quieter at night.
Note on the airport: a new single terminal opened in 2025 as part of a long-running expansion project led by Lima Airport Partners. Check the airport's official site for current terminal layout and transport desks before you travel, since the operator has been updating services.
The historic center, the food scene, and what a real day looks like
Lima's identity splits between two areas, and most visitors underestimate how much time the split demands. The historic center is a UNESCO-listed colonial grid around the Plaza Mayor, best seen in the morning when the light hits the yellow facades of the cathedral and the Government Palace. Miraflores and Barranco, to the south, hold the cliff-top parks, the restaurants, and the nightlife. Travel time between them by car runs 30–60 minutes depending on traffic.
The food reputation is not marketing. Lima has been repeatedly recognized in international restaurant rankings, with Central named the world's best restaurant in 2023 by The World's 50 Best Restaurants, an award decided by an international panel of chefs and food writers. That recognition drove a measurable tourism effect: tasting-menu reservations at top restaurants often book out weeks in advance. If a specific restaurant is the reason for your trip, reserve before you book flights.
You can feel the food culture in small ways. Ceviche is served at lunch, not dinner, because Peruvians treat fresh fish as a midday dish. Pisco sour appears on every menu, and the country regulates pisco production by denomination of origin. Markets like Surquillo sell ají amarillo and huacatay by the handful. Sit down at a busy lunch counter in Barranco and the noise, the citrus, and the cold foam of a pisco sour arrive together.
Budget time realistically. A half day covers the Plaza Mayor, the cathedral, and San Francisco. A full day adds Miraflores and Barranco. Two days lets you eat properly. If you have only a long layover, note that Lima traffic can eat three hours of it — the airport is not close to the sights.
Population, government, and what "capital" actually means here
Lima is Peru's constitutional capital, and the national government operates from the city. The President's official residence and office are at the Government Palace on the Plaza Mayor, the Congress meets in Lima, and the Constitutional Court sits in the city. The metropolitan area — Lima and the neighboring port province of Callao, which has its own separate constitutional status — forms a single urban mass but two administrative units. That distinction confuses visitors because Callao is legally distinct yet functionally part of the same city.
Population figures deserve care. Peru's national statistics institute, INEI, conducts a census roughly every decade; the most recent was 2017, and the next was scheduled for 2025. Because Lima's population is estimated between censuses, exact current figures vary by source and methodology. Peru's total population is commonly reported around 34 million, with metropolitan Lima accounting for roughly a third of it. For planning purposes, the practical takeaway is simpler: Lima is one of South America's largest cities, and traffic scales accordingly.
Government functioning shapes your visit in small ways. Around July 28, expect road closures and security around the historic center. On any weekday, the Plaza Mayor can close temporarily for official ceremonies. Check locally rather than assuming access.
Why Lima is not the high-altitude capital travelers expect
Many travelers arrive in Lima braced for altitude sickness and find none. Lima sits essentially at sea level, and altitude is not a concern there. The high-altitude city in Peru's tourism circuit is Cusco, and the difference between the two is one of the most useful planning facts about the country. Peru's Ministry of Health publishes altitude guidance for travelers heading to the sierra, recommending gradual ascent and hydration; the same guidance does not apply to Lima.
The climate trade-off is different. Lima's winter, roughly May to November, brings persistent fog and cool temperatures rather than rain. Summer, roughly December to April, brings sunshine, warmer days, and a flood of domestic beach traffic heading south to Punta Hermosa and Asia. If you want blue skies and warm water, go in the southern summer. If you want the city at its most atmospheric and least crowded, winter delivers — with the caveat that the sun may not appear for days.
This inverted-season pattern catches Northern Hemisphere travelers off guard. July in Lima is not beach weather; it is sweater weather. December in Lima is the opposite.
Mistakes visitors make when they treat Lima as a layover
The single biggest planning error is allocating less than 48 hours to Lima. The city's geography works against rushed visits: the airport is in Callao, the sights are split between the center and the southern districts, and traffic eats the difference. A 24-hour layover often means one neighborhood and a lot of time in a car.
The second error is assuming the historic center and Miraflores are walkable from each other. They are not; the distance is roughly 10–12 kilometers. Use ride-hailing apps or taxis, and keep your route simple.
The third is underestimating the garúa. Visitors who pack only summer clothes for a June trip end up buying sweaters in Miraflores. Pack for humid cool weather if you travel between May and November.
A working itinerary looks like this: arrive, settle, and eat dinner in Miraflores on day one. See the historic center early on day two, then return south for lunch and the Malecón. Fly to Cusco on day three if the highlands are next. That rhythm uses the city's geography instead of fighting it.
FAQ
Is Lima or Cusco the capital of Peru?
Lima is the capital; Cusco was the capital of the Inca Empire. Cusco sits at about 3,400 meters in the Andes, while Lima is a coastal city at roughly sea level. Travelers often conflate the two because both are central to Peruvian tourism, but they serve different roles in the country's history and government.
Does Lima ever get rain?
Lima receives almost no measurable rainfall, though humidity is high and winter fog is common. The city's coastal desert position means precipitation is measured in millimeters annually in most districts, not centimeters. The damp feeling comes from the garúa fog rather than actual rain, which is why an umbrella is less useful than a light jacket.
Why is Lima called the City of Kings?
Pizarro founded the city on January 18, 1535, as Ciudad de los Reyes. The name honored the Feast of the Epiphany, which falls around that date and commemorates the biblical Magi, or kings. The name did not stick officially, but the founding date and the reasoning behind it remain part of the city's documented history.
How far is the Lima airport from Miraflores?
The drive runs roughly 12 kilometers and takes 45–90 minutes depending on traffic. Weekday rush hours stretch it toward the upper end. Allow extra time on the return leg to catch a flight, since airport security and check-in queues add to the drive.
Is Lima safe for tourists?
Lima's main tourist districts, Miraflores, Barranco, and San Isidro, see heavy visitor traffic and are generally manageable with standard precautions. Petty theft does occur, and you should avoid displaying phones or jewelry in crowded areas. Check your home government's current travel advisory for Peru, since advice changes over time.
What is the best month to visit Lima?
December through April brings sunshine and warmer days; May through November brings the garúa fog and cooler temperatures. Which is better depends on your tolerance for gray skies. Summer is also peak domestic travel season, so book lodging early if you visit around New Year or Fiestas Patrias in late July.
Do you need altitude medicine in Lima?
No. Lima sits essentially at sea level, so altitude sickness is not a concern there. The medication and acclimatization advice apply to Cusco, Puno, and other highland destinations. Ask a travel medicine clinician before your trip if you are heading into the Andes, and confirm local guidance with Peru's Ministry of Health.
How long does it take to see the historic center?
A half day covers the Plaza Mayor, the cathedral, and the San Francisco convent with its catacombs. Add time for the Inquisition Museum and the surrounding colonial streets if you want a fuller picture. Weekday mornings are calmer than weekends, and the light on the cathedral facade is better before noon.