Caves of Hercules and Cape Spartel: A Visitor Guide to Tangier’s Atlantic Coast

The Caves of Hercules and Cape Spartel sit on the Atlantic coast about 14 km west of Tangier, where the Strait of Gibraltar opens to the ocean. Within a few kilometres you find a sea cave with a famous opening shaped like Africa, a lighthouse from 1864, a long sandy beach and the ruins of a Roman fish factory.
Most people come on a half-day trip from Tangier by taxi, tour or tourist bus. Before you go, browse our free photos of Tangier and Tétouan to get a feel for the coast. Here are the 10 best things to do at the Caves of Hercules and Cape Spartel, with tips on when to go and how to plan your trip.
1. See the Africa-shaped opening at the Caves of Hercules

The Caves of Hercules are a sea cave with two openings. You enter from the land side and walk down into the rock. From inside you look out through the opening that faces the Atlantic. Its outline is said to look like a map of Africa, and waves wash in just below it. A small entrance fee is collected on site, so bring cash in dirhams. A restoration finished in 2015 made the cave walls stronger and rebuilt the areas outside.
2. Look for millstone marks and the legend of Hercules

Look closely at the limestone walls inside. The round hollows were left by Berbers, who cut millstones from the rock over many centuries. People also lived in these caves in prehistoric times. The name comes from a local legend that says Hercules rested here during his labours. Outside, a painted figure of Hercules on the rock is a popular place for photos.
3. Have mint tea on a terrace above the caves

The restoration also added cafés, restaurants and small shops around the cave entrance. Several of them have terraces that look straight out over the Atlantic. A mint tea here is a good way to wait out the busiest hours, when tour groups fill the cave. Prices are not always shown, so ask before you order and keep small notes handy.
4. Walk the rocky shore beside the caves

Fenced paths lead out onto the rocks next to the cave. From them you can see clear turquoise water and a long line of cliffs. It is a short, easy walk. The rocks can be wet and slippery, so wear shoes with good grip. Stay behind the railings, especially on windy days when the waves break high.
5. Visit the Cape Spartel lighthouse
A few kilometres north of the caves, the Cape Spartel lighthouse stands on a green headland at the northwest corner of Africa. It was first lit on 15 October 1864. Sultan Mohammed IV had it built, and it was one of the first modern lighthouses on Morocco’s coast. Soon after, an international agreement handed its running to foreign powers to keep it neutral. You need a ticket for the grounds, and a fuller ticket lets you climb the tower.
6. Explore the maritime museum and garden
The National Museum of Maritime Signalling sits at the foot of the lighthouse tower and tells the story of navigation in the Strait of Gibraltar. Its displays cover how lighthouse signals developed, the instruments used over time and the daily life of the keepers. Look for the bust of Augustin Fresnel, whose lens changed lighthouses everywhere. A botanical garden surrounds the buildings, and a café-restaurant looks out to sea. Allow one to two hours for the whole site.
7. Watch the Atlantic meet the Mediterranean

Cape Spartel marks the western entrance to the Strait of Gibraltar. It is often described as the place where the Atlantic meets the Mediterranean. From the viewpoints around the lighthouse you look over wooded hills, open ocean and passing ships. Late afternoon is the best time to come, when the light gets softer and the sun sets over the Atlantic.
8. Spend time on Achakar beach
South of the caves, Achakar beach stretches for several kilometres of fine sand, with a large dune near its northern end. On the rocks at the start of the beach you can see more round cuts left by people quarrying millstones. Camel rides are offered here and are often part of half-day tours. The Atlantic can bring strong waves and currents, so swim only in calm conditions and follow local advice.
9. See the Roman ruins of Cotta
A short drive south along the coast are the ruins of Cotta, a Roman settlement built in the 1st century AD. It worked mainly as a factory for garum, a salted fish sauce traded across the Roman Empire. You can still see the stone basins used for salting fish, along with storage rooms, living quarters and a small bath. The site is small and goes well with a walk on the beach.
10. Walk in Perdicaris Park on the way back
Perdicaris Park, also called Rmilat, lies on the coast road between Tangier and Cape Spartel. It covers 70 hectares of forest above the Strait. Ion Perdicaris, a Greek-American, created the estate in the 1870s. In 1904 he was kidnapped here, and the kidnapping became a famous diplomatic incident. His villa was renovated in 2022 and is now a museum with its own ticket. Shaded trails lead to viewpoints over the sea.
When to visit the Caves of Hercules and Cape Spartel
Spring and autumn are the most pleasant seasons, with mild weather, green hills and fewer crowds. July and August are warm and busy, as many Moroccan families come for the beaches. Winter is mild but can be wet and very windy. In any season, arrive early to see the cave before the tour groups, or come in the late afternoon for sunset at the lighthouse.
Tips for planning your trip
Tangier is your base. It has an airport, high-speed trains from Rabat and Casablanca and ferries from Spain. Our guide to things to do in Tangier covers the city itself. The caves are about 20 to 30 minutes by car from the centre. Most visitors take a grand taxi, hire a driver for half a day, join a tour or use the hop-on hop-off City Tour bus. Agree the taxi fare and waiting time before you set off. Half a day covers the caves, the lighthouse and Perdicaris Park. A full day lets you add Achakar and Cotta. Bring cash and a light jacket, as the cape is often windy. If you have more time, read our guide to things to do in Tétouan, or take the train south for our guide to things to do in Rabat. Check your government’s current travel advice for Morocco before you travel.
Questions about the Caves of Hercules and Cape Spartel
How far are the Caves of Hercules from Tangier?
The caves are about 14 km west of Tangier, roughly 20 to 30 minutes by car or taxi. The Cape Spartel lighthouse is a few kilometres further north on the same coast road.
Do you need tickets for the caves and the lighthouse?
Yes. The caves charge a small entrance fee on site. The Cape Spartel lighthouse site has its own ticket for the museum, garden and tower.
How long do you need for the Caves of Hercules and Cape Spartel?
Half a day covers both sights. A full day lets you add Achakar beach, Cotta and Perdicaris Park.


