Discovering...
Discovering...

Where mythology meets the Atlantic — the cave that gave the world the Pillars of Hercules, and the sea window that looks like Africa.
Sofia Marín· Coast, North & Practical Travel Editor
Spanish travel writer based in Tangier who criss-crosses northern Morocco and the Atlantic coast by bus, train and ferry. She covers Chefchaouen, Tangier, Essaouira and the practical side of getting around. Tangier · 10+ years covering Morocco
Published 14 September 2024 Last updated 11 April 2026
The Caves of Hercules sit at the north-western edge of Africa, carved into a limestone headland where the Atlantic crashes hard enough that you feel the vibration through the rock. They are one of the oldest continuously visited sites in Morocco — Neolithic people sheltered here, Phoenician traders may have known them, and Roman-era mythology turned them into the resting place of Hercules himself. For most visitors today, though, the draw is simpler: a roughly Africa-shaped opening in the cave wall that frames the ocean in a way that looks almost engineered.
Entry costs almost nothing (indicatively 15–20 MAD), the drive from Tangier takes twenty minutes, and the site combines naturally with Cape Spartel just up the road. It is an easy half-morning that rewards anyone who takes time to read the walls and look past the selfie spot — there is genuine archaeology here alongside the mythology.
The essentials before you make the trip — hours, costs and timing.
| Location | Cap Spartel road, ~14 km west of Tangier city centre |
| Opening hours | Daily approx. 09:00–18:00 (last entry ~17:30); hours can vary by season |
| Entry fee | ~15–20 MAD (indicative); children under 12 often free |
| Time needed | 30–60 minutes inside; allow 2–3 hours with Cape Spartel |
| Best time to visit | Morning on a weekday to avoid tour-bus crowds; low tide reveals more of the cave floor |
| Photo tip | Stand inside facing outward for the Africa silhouette — brightest around midday |
The famous opening — the silhouette that reads as the African continent — was not sculpted intentionally. For centuries, local craftsmen quarried circular millstones from this limestone cliff face. They sold the stones across the region, and the accumulated cuts left the wall riddled with rounded scars that merged over time into the larger aperture you see today. The rough continental outline is coincidence, or perhaps the eye finding pattern in geology, but the visual effect when you stand inside and look out at the Atlantic is real enough.
Best position: stand roughly 10–15 metres back from the opening, slightly off-centre, and look directly at the water. Around midday, when the sun is high, the light on the ocean is dazzling through the gap. In the early morning and late afternoon the contrast is softer and the colours of the water change. Both work; midday is the more dramatic photograph.
In Greco-Roman myth, Hercules rested here after his eleventh labour — driving the cattle of Geryon back from the far west. Before departing, the myth says, he smashed apart the mountain that joined Europe and Africa, creating the Strait of Gibraltar and the two promontories the ancients called the Pillars of Hercules. One pillar was Gibraltar; the other was Jebel Musa, the mountain visible from the cape just above the caves. The "non plus ultra" — nothing beyond — that ancient sailors painted on their charts referred to this exact stretch of water.
The upper chambers hold a more grounded history: Neolithic stone tools were excavated here, placing human use of the site as far back as 5,000 years. A small interpretive panel inside the cave marks this section. It is easy to skip if you are in a hurry, but worth ten minutes if you find the archaeology more compelling than the legend.

Cape Spartel lighthouse marks the junction of the Atlantic and Mediterranean — 3 km from the caves and an obvious addition to any visit.
Cape Spartel is 3 km north of the caves on the same coastal road, so visiting both adds almost no extra travel time. Here is how a typical half-day shapes up from Tangier.
09:00–09:20
Leave Tangier by private taxi or tour vehicle. The road climbs out of the city through the diplomatic quarter before dropping toward the coast.
09:20–09:50
Cape Spartel lighthouse. The headland juts into nothing on three sides — Atlantic to the west, Strait to the north. Walk the rim path (15 minutes), photograph the lighthouse and watch for dolphins if the sea is calm.
09:50–10:00
Short drive down the coast road to the Caves of Hercules parking area.
10:00–11:00
Caves of Hercules. Pay the ~15–20 MAD entry, walk the main cave to the sea window, and take the steps to the upper Neolithic chamber. One hour is comfortable for most people.
11:00–11:30
Optional: cliffside café just above the cave car park for mint tea or coffee with an Atlantic view before heading back into Tangier.
100–150 MAD each way (indicative). Negotiate a waiting fee if you want the driver to stay — typically 50–80 MAD per hour. Most reliable option.
A Tangier day tour usually includes the caves, Cape Spartel, Hercules cave and the medina in one loop. Easiest for first-time visitors and families.
14 km on well-signposted roads, around 20 minutes. Parking is free near the cave entrance. Petrol stations in central Tangier before you leave.
There is no direct city bus from central Tangier to the caves. Grand taxis from the ville taxi rank do run toward Cap Spartel, but frequency is low and you would need to agree a wait time. A private taxi arranged through your hotel is the easiest and most time-efficient option for independent travellers.
Entry is indicatively 15–20 MAD per person (roughly $1.50–$2) as of 2025/26, making it one of the cheapest paid attractions in northern Morocco. Children under 12 are often waved through for free, but fees can change seasonally so carry small notes. There may also be a separate small charge to access the archaeological Neolithic chambers on the upper level, which is worth adding — it takes only ten extra minutes and gives context to the full site.
According to Greco-Roman myth, Hercules rested here after completing his eleventh labour — separating Europe from Africa to create the Strait of Gibraltar, which the ancients called the Pillars of Hercules. One pillar stood at Gibraltar, the other at Jebel Musa on the Moroccan side near Ceuta. The caves were said to be his sleeping quarters before that feat. The mythology gives Tangier a genuinely ancient pedigree: Pliny the Elder mentioned the site, and the caves were used long before the legends, as shown by Neolithic hand tools found in the upper chambers.
The most practical option is a private taxi from Tangier (around 100–150 MAD each way, indicative) or a day-tour that loops Cap Spartel and the caves together. There is no direct city bus. Some grand taxis run to Cap Spartel from the Tangier ville taxi rank, but the service is irregular and you would need to negotiate the waiting time. Driving yourself is easy — the road from Tangier to Cap Spartel is well-signed and takes about 20 minutes, with parking available near the cave entrance.
The sea-facing opening was carved over centuries by Moroccan craftsmen who quarried millstones here — a cottage industry that ran from antiquity through to the early twentieth century. The shape of the gap, roughly the outline of the African continent turned on its side, is a happy accident of that quarrying rather than a deliberate artistic choice. Viewed from inside the cave looking out to the Atlantic, the light framing the silhouette is genuinely dramatic, especially at midday when the sun hits the water directly. It is the most-photographed spot on the Tangier coast.
Yes — and you should. Cape Spartel is barely 3 km before the caves on the same road, so combining them adds almost no travel time. The lighthouse at the cape marks the exact point where the Atlantic Ocean meets the Mediterranean Sea and the African continent meets its northernmost tip at this longitude. The views are wide and the wind is strong; it takes about 20 minutes to walk around and photograph. Most organised day trips from Tangier include both stops, often adding the old Diplomatic Forest or a tea stop at a cliffside café.
The caves are typically open daily from around 09:00 to 18:00, with last entry around 17:30, though hours can shift in summer (longer) and winter (shorter). There is no reliable official website, so if your visit is time-sensitive, check with your hotel or a Tangier-based guide the day before. The site does not close for Friday prayers, unlike some museums, making it a good midday option when other Tangier attractions are quieter.
The Africa-shaped window shot requires you to stand well inside the cave, roughly 10–15 metres from the opening, so the silhouette of the gap frames the bright Atlantic light behind it. A wide-angle lens or a smartphone on standard mode works well; telephoto compresses the effect. Come at low tide if you can — the cave floor extends further and the reflections are cleaner. Avoid back-lighting your subject if you are photographing people: place them to one side of the opening with the sea as background rather than silhouetting them against the light.
Plan it with a local expert
Crafting extraordinary journeys through Morocco's timeless landscapes. 100% private journeys, handcrafted around you.
from $2,054Essential Morocco: Imperial Cities Circuit
from $5,978Sahara to Sea: Morocco Complete