The story
Spanish sailors first landed at the Maya town of Can Pech in 1517, and in 1540 Francisco de Montejo the Younger founded the Spanish town of San Francisco de Campeche on the same spot, as a base for the conquest of the Yucatán. Laid out on a grid around a main square facing the sea, it became the peninsula's chief port: ships carried away logwood, the tree that gave a precious red and black dye, along with salt, grain and cotton cloth.
Its riches made it a target. English, French and Dutch pirates and privateers raided and sacked the town many times in the 16th and 17th centuries, most terribly in 1663 and 1685. In 1686 the Spanish began a ring of walls with eight bastions and four gates, finished in 1704, and in the late 18th century added the forts of San Miguel and San José on the hills. Much of the wall was pulled down around 1900, but large stretches, most bastions and two gates survive, and in 1999 the town was inscribed as World Heritage.
Why come here?
- Only here: a whole colonial port town still ringed by its bastions and gates, with painted streets inside and forts on the hills, built to keep out the pirates of the Caribbean.
- Original or rebuilt? Mostly original but partly lost: the bastions, two gates and the forts are 17th- and 18th-century, but much of the wall was demolished around 1900 and some sections have been rebuilt; the houses have been restored and repainted.
- The moment: walking the wall walk at the Land Gate (Puerta de Tierra) at dusk, with the pastel streets below and the cathedral towers lit against the evening sky.
- Worth the trip? Three stars: well worth a day or two on a journey through the Yucatán Peninsula, with the Maya ruins of Edzná nearby.
- Who it suits: lovers of history and forts, photographers, and families; the walled town is flat and easy on foot, but very hot at midday.
Why it matters The Historic Fortified Town of Campeche was inscribed as World Heritage in 1999 because its urban plan and its walls, influenced by the military architecture of the Caribbean, are a model of a Spanish colonial baroque town, and because its fortifications are an outstanding example of the military architecture of the 17th and 18th centuries, part of the system that defended the ports of the Caribbean against pirates.
- Tickets and travel info how to book, when to beat the crowds
If you have one minute
A painted town inside a pirate-proof wall

Start at the main square with its bandstand and the white cathedral, then walk the straight streets of pastel houses to the Land Gate, where you can climb onto the wall walk. Visit a bastion museum on the way, stroll the seafront promenade at sunset, and take a taxi up to the Fort (Fuerte) of San Miguel on its hill for the view and the Maya treasures in its museum.
Things people often get wrong
"The whole wall still stands." Only parts of it survive: much was pulled down around 1900 to let the town grow, though most of the bastions and two of the four gates remain.
"The sea came up to the walls." It did once: the Sea Gate (Puerta de Mar) opened onto the shore, but land has since been reclaimed, and the coast now lies a few hundred metres away beyond a road and the promenade.
Our Shared Heritage
Reading a fortified port
Read Campeche as a machine for defence. The bastions are the key: pointed or squared strongpoints at the corners of the wall, from which cannon could sweep the face of the wall on either side, so that no attacker could reach it unseen. Look along the top of the wall for the walkway behind the parapet, and at the corners for the little round sentry boxes with domed tops, typical of Spanish forts around the Caribbean. The gates are narrow and strong, and the forts on the hills add a second line, with moats and drawbridges.

A wall against raiders from the sea
Chinese readers will know the coastal forts of the Ming dynasty (1368–1644), such as Chongwu in Fujian or Penglai in Shandong, walled towns and harbours built of stone to resist raids from the sea. Campeche answered the same threat on the other side of the world: a rich port, raided again and again, that finally protected itself with walls, bastions and forts on the hills.
Who keeps it
Mexico's National Institute of Anthropology and History (INAH) protects the walls, bastions and forts and runs the museums in the Fort of San Miguel, the Fort of San José and the Bastion (Baluarte) of La Soledad, while the state and city governments manage the streets, squares and the restoration of the historic houses.
Its counterparts
Its counterparts on the World Heritage List include the other fortified ports of the Spanish Caribbean: the Port, Fortresses and Group of Monuments of Cartagena in Colombia, Old Havana and its fortifications in Cuba, La Fortaleza and San Juan in Puerto Rico, and the fortifications of Portobelo and San Lorenzo in Panama.
Why it belongs to everyone
Campeche belongs to everyone because it shows, in one town, how a colonial port lived and defended itself in the age of pirates, and how its people turned a fortress into a gentle, colourful place to live.
Now that you know so much about the history and culture of this place, is there anything you would like to say to future visitors? Leave a message
Go deeper: Campeche in six chapters, from the highlights to a port on the Gulf, pirates and the walls, the forts on the hills, the cathedral and the painted streets, and how to see and photograph it best6 chapters · about 5 min to read
What makes Campeche itself: (1) a Spanish port founded in 1540 on the site of the Maya town of Can Pech, the main harbour of the Yucatán; (2) a ring of walls built from 1686 to 1704 in the shape of an irregular hexagon, with eight bastions and four gates; (3) forts on the hills behind the town, San Miguel and San José, added in the late 18th century; (4) a grid of streets lined with low colonial houses painted in pastel colours; (5) a place in the long struggle between the Spanish empire and the pirates of the Caribbean.
Be clear about what you see. Campeche is a lively state capital, and its walled centre is a living district of homes, shops, hotels and restaurants. The streets, squares and wall walks near the gates can be seen freely; several bastions and both forts house INAH museums that charge entry and close on Mondays. The forts lie outside the centre, a short taxi ride away.
1. What to see: the highlights

Five things make a visit. The first is the main square, with its bandstand and the white cathedral with two towers. The second is the streets of the walled town, straight and quiet, each house painted a different soft colour. The third is the Land Gate and the wall walk beside it, where you can stand on the ramparts above the town. Like a box of sweets wrapped in a stone wall.
The fourth is the bastions, squat stone strongpoints at the corners of the old wall, several of them now museums, such as the Bastion of La Soledad with its Maya carved stones. The fifth is the Fort of San Miguel on its hill above the sea, with its moat, drawbridge and the Museum (Museo) of Maya Archaeology, where jade masks from the tombs of Calakmul are shown.
2. A port on the Gulf

When Spanish sailors landed here in 1517, they found a Maya town, Can Pech, capital of a small state. After years of fighting, Francisco de Montejo the Younger founded the Spanish town in 1540 and used it as a base to conquer the rest of the Yucatán. Like other Spanish towns, it was laid out on a grid around a main square facing the sea, with the Spanish in the centre and the Maya and other peoples in quarters around it. Like a chessboard set down at the edge of the sea.
Campeche became the main port of the Yucatán. Its ships carried logwood, a tree of the region whose heartwood gave a costly red and black dye for European cloth, as well as salt, wax and cotton, and brought back goods from Spain and the Caribbean. The wealth of the port paid for churches, mansions and, in time, its defences.
3. Pirates and the walls

The Caribbean of the 16th and 17th centuries was full of pirates and privateers, often backed by Spain's enemies, and a rich, unwalled port was an easy target. Campeche was raided many times: in 1663 an English fleet sacked it, and in 1685 a band of buccaneers led by Laurens de Graaf, known as Lorencillo, held the town for weeks. After that, the Spanish decided to wall it. Like a town that learned to lock its doors.
Work began in 1686 and was finished in 1704: a wall about 2.5 km long in the shape of an irregular hexagon, with eight bastions at the angles and four gates, of which the Sea Gate opened onto the harbour and the Land Gate onto the road inland. Around 1900, as the town grew, much of the wall was pulled down, but most of the bastions, both main gates and several long stretches survive.
4. The forts on the hills

Walls alone could not keep an enemy from landing on the beaches and attacking from the hills above the town. So in the late 18th century the Spanish built two forts on the heights: San Miguel on the hill to the south-west, begun around 1779, and San José el Alto to the north-east, finished in 1792. Each is a compact square of stone with corner sentry boxes, a dry moat and a drawbridge. Like two stone sentinels watching over a sleeping town.
Today the Fort of San Miguel houses the Museum of Maya Archaeology, with finds from sites across the state, including the jade funerary masks from Calakmul, and its ramparts look out over the Gulf. The Fort of San José holds a museum of ships and underwater archaeology. Both are run by INAH.
5. The cathedral and the painted streets

On the main square stands the cathedral of the Immaculate Conception. It began as a small church founded in 1540 and was enlarged in the 17th and 18th centuries; its two towers were finished later, and it became a cathedral in 1895. Its white baroque façade, with a carved central portal and towers of different dates, faces the square where the town was first laid out. Like a white ship moored at the heart of the town.
Around it, the streets of the walled town are lined with one- and two-storey houses with tall windows, iron grilles and wooden doors, painted in soft pinks, blues, greens and yellows. Many were restored in the late 1990s, when the centre was prepared for World Heritage, and in the evening the streets near the square are closed to cars and filled with tables.
6. How to see it best and photograph it

Give the town a day or two. It's best to walk the walled centre in the early morning and late afternoon, visit the museums from Tuesday to Sunday, and take a taxi to the Fort of San Miguel for the sunset over the Gulf. The coolest and driest months are November to April; from May to October it is very hot, with storms and the chance of hurricanes. Like a town best seen when the sun is low.
The pastel streets photograph best in soft morning light, looking down their length towards the cathedral towers. From the wall walk at the Land Gate you can frame the rooftops and towers together, and after dark the cathedral and the streets around the square are lit. At the forts, wide views of the moat and ramparts work best in the late afternoon.
People who stood here
We searched English and Spanish sources for this list.
- Francisco de Montejo the Younger (conquistador, 1508–1565)Founded San Francisco de Campeche in 1540 on the site of the Maya town of Can Pech, and from there led the conquest of the Yucatán and founded Mérida.
- Laurens de Graaf (pirate, c. 1653–1704)A Dutch buccaneer known in Mexico as Lorencillo, who led the sack of Campeche in 1685, the raid that pushed the Spanish to wall the town.

















































