Travel From Barcelona to Tangier: Flights, Ferries and Overland Routes
Barcelona and Tangier are two of the most fascinating port cities of the Mediterranean world. One is famous for Gaudí, beaches and tapas; the other for its white medina, its legendary cafés and its location at the meeting point of Africa and Europe. The distance between these two lively Mediterranean ports is less than 1,000 kilometers, and you can choose between a short flight, a long and relaxing ferry cruise, or an overland journey through Spain.
Here is every way to travel from Barcelona to Tangier: direct flights, the direct ferry from Barcelona to Tanger Med, train and ferry through southern Spain, and driving. We compare time, price and comfort, explain the difference between Tangier’s ports, and share what to do once you arrive, plus how to continue to Chefchaouen, Fes and the Sahara.
Barcelona to Tangier at a Glance
| Option | Travel time | Approximate price | Best for |
|---|---|---|---|
| Direct flight | About 1h45 to 2h | Often €30 to €150 one way | Speed and low prices |
| Direct ferry Barcelona – Tanger Med | About 29 to 36 hours | From about €90 per person, more with a cabin or car | Traveling with a car, slow travel |
| Train + ferry via Algeciras or Tarifa | About 1 to 2 days | About €100 to €200 | Train lovers and Andalusia stopovers |
| Driving + short ferry | About 2 days | Fuel, tolls and ferry | Road trips |
Barcelona and Tangier: Two Mediterranean Port Cities
Barcelona and Tangier have always looked toward the sea. For centuries, sailors, merchants and travelers have moved between the ports of the western Mediterranean. Today, Catalonia is home to one of the largest Moroccan communities in Spain, and you will hear Darija in many neighborhoods of Barcelona. That is why flights and ferries between the two cities are so frequent, especially in summer.
Tangier has a unique history of its own. From the 1920s to 1956, it was an international zone governed by several foreign powers, a place of spies, writers, artists and adventurers. The painter Henri Matisse came to paint its light, and many famous writers lived and worked in its cafés and villas. Arriving from cosmopolitan Barcelona, you will feel that Tangier, too, is a city where cultures meet.
Option 1: Direct Flights From Barcelona to Tangier
Flying is the fastest way. Direct flights connect Barcelona-El Prat (BCN) with Tangier Ibn Battouta Airport (TNG) in about 1 hour 45 minutes to 2 hours. The route is very popular with tourists, students and Moroccan families living in Catalonia, with dozens of weekly flights operated mainly by Air Arabia Maroc, Vueling and Ryanair, and sometimes other airlines depending on the season.
| Detail | Info |
|---|---|
| Distance | About 930 km |
| Flight time | About 1h45 to 2h |
| Main airlines | Air Arabia Maroc, Vueling, Ryanair |
| Weekly flights | Many daily departures, more in summer |
| Prices | Often very cheap when booked early |
Tips for Flying From Barcelona
- Book early for summer and holidays, when many Moroccans living in Catalonia travel home.
- Compare airlines: prices on this route can change a lot from one day to another.
- Check baggage allowances on low-cost airlines, especially if you plan to buy souvenirs.
- Arrive early at El Prat: flights to Morocco leave the Schengen area and pass through passport control.
- Choose your terminal carefully: airlines use different terminals at El Prat.
From Tangier Airport to the City
Tangier Ibn Battouta Airport is about 15 kilometers from the city center, around 20 to 30 minutes by car. Grand taxis wait outside the terminal; always agree on the price with the driver before you leave the airport. There is also an airport bus to the city, which is cheap but less convenient with heavy luggage. If you are staying in the medina, ask your riad for a transfer, because cars cannot enter the narrow streets and it helps to have someone guide you to the door.
Option 2: The Direct Ferry From Barcelona to Tanger Med
If you are not in a hurry, or if you travel with your own car, motorbike or campervan, there is a direct ferry from the port of Barcelona to Tanger Med. It is a long mini-cruise across the western Mediterranean, past the Balearic Islands and along the Spanish coast, before entering the Strait of Gibraltar.
| Detail | Info |
|---|---|
| Operators | Mainly GNV (Grandi Navi Veloci); Grimaldi Lines has also operated the route |
| Crossing time | About 29 to 36 hours |
| Frequency | Several sailings per week, with schedules that change by season |
| Arrival port | Tanger Med, about 40 km east of Tangier city |
| Price | From about €90 per person in a seat; cabins and vehicles cost more |
| On board | Cabins, restaurants, cafés, shops and deck areas |
Is the Barcelona Ferry a Good Idea?
For foot passengers, the ferry is slower and not always cheaper than flying. But it is excellent if you travel with a car, motorbike, bicycle or lots of luggage, or if you enjoy slow travel. Booking a cabin turns the crossing into a relaxing night at sea, and you arrive in Morocco rested and ready to drive or continue your trip. In summer, the ferries are full of families returning to Morocco, so book well in advance.
Practical Ferry Tips
- Check in early: usually at least 2 hours before departure, more with a vehicle.
- Book a cabin for the night if you want to sleep well.
- Bring snacks and water; on-board food can be expensive.
- Passport control: Moroccan police formalities are often done on board. Look for the police counter early in the trip.
- Schedules change: always confirm the departure time a few days before.
Life on Board: What to Expect on the Long Ferry
A crossing of more than a day may sound long, but it can be a pleasant experience if you are prepared. The ships on the Barcelona – Tanger Med route are large ferries with several decks.
- Seats or cabins: you can travel in a reclining seat, but a cabin with a bed and private bathroom is much more comfortable for a night at sea.
- Food: restaurants and self-service areas offer meals, snacks and drinks. Many families bring their own food.
- Wi-Fi: internet on board is often limited or paid, and mobile signal disappears at sea. Download films, books and offline maps before boarding.
- Atmosphere: in summer, ships are lively and full of Moroccan families going home, with a festive mood.
- Deck: enjoy the views of the Balearic Islands, the Spanish coast and finally the Strait of Gibraltar.
- Seasickness: the Mediterranean is usually calm, but bring medicine if you are sensitive.
Option 3: Train and Short Ferry Through Southern Spain
This is the best option for train lovers and travelers who want to see Andalusia on the way. You cross Spain by high-speed train, then take a short ferry across the Strait of Gibraltar.
Step 1: Barcelona to the South of Spain
- Barcelona – Málaga: direct high-speed trains take about 5.5 to 6 hours. From Málaga, buses go to Algeciras and Tarifa.
- Barcelona – Madrid – Algeciras: high-speed train to Madrid (about 2.5 to 3 hours), then a train to Algeciras (about 5.5 to 6 hours).
- Barcelona – Seville: another option, with trains or buses continuing to Algeciras.
Step 2: The Ferry to Tangier
| Ferry route | Arrival | Crossing time |
|---|---|---|
| Tarifa – Tangier Ville | Tangier city center | About 1 hour |
| Algeciras – Tanger Med | Tanger Med port, 40 km from the city | About 1.5 hours |
For foot passengers, Tarifa – Tangier Ville is the best choice: you arrive right in the city, a short walk from the medina. Read our guide travel from Spain to Morocco for more details on the ferries.
How Long Does It Take?
The train and ferry route can be done in one long day if all connections work, but it is much nicer with a night in Granada, Seville, Málaga or Tarifa. It is an excellent way to enjoy two countries in one trip. Spanish high-speed trains are comfortable and fast, and arriving in Tarifa, the windy southern tip of Europe, with the mountains of Morocco visible across the water, is a special moment. Book your trains in advance for the best prices, and plan the last connection to the ferry with some extra time.
Option 4: Driving From Barcelona to Tangier
Driving from Barcelona to Algeciras is about 1,100 kilometers, roughly 11 hours along the Mediterranean coast or through Madrid. From Algeciras, a car ferry takes you to Tanger Med in about 1.5 hours. Alternatively, you can put your car on the direct ferry from Barcelona and avoid the long drive.
- Car papers: bring registration documents and insurance valid in Morocco (green card), or buy insurance at the port.
- Rental cars: Spanish rental companies rarely allow cars to go to Morocco; rent a car in Tangier instead.
- Temporary import: your car is registered at customs and must leave Morocco with you.
- Summer: expect very long queues at ports in July and August.
Tanger Med vs Tangier Ville: Know Your Port
This is one of the most important details when traveling to Tangier by sea. Tangier has two very different ports:
| Port | Location | Who uses it | Next steps |
|---|---|---|---|
| Tangier Ville | In the city center, next to the medina | Fast ferries from Tarifa, foot passengers | Walk to the medina or take a short taxi to the train station |
| Tanger Med | About 40 km east of the city | Ferries from Algeciras and Barcelona, cars and trucks | Shuttle bus or taxi to Tangier, about 45 to 60 minutes |
If you arrive at Tanger Med without a car, plan extra time and money to reach the city. If you plan to continue directly south, ask about transport options from the port. A private driver can also meet you at Tanger Med and take you straight to Chefchaouen, Tetouan or the train station, which saves time after a long crossing.
Time Difference Between Barcelona and Tangier
| Period | Barcelona | Tangier | Difference |
|---|---|---|---|
| Winter | UTC+1 | UTC+1 | Same time |
| Summer | UTC+2 | UTC+1 | Tangier is 1 hour behind |
| Ramadan | UTC+1 or UTC+2 | UTC+0 | Tangier is 1 or 2 hours behind |
Always check whether your flight or ferry times are in Spanish or Moroccan time. In summer, a one-hour ferry from Tarifa can arrive in Tangier at the same clock time it left Spain, which surprises many first-time travelers and can cause missed connections.
Documents You Need
- A valid passport. An EU or Spanish ID card is not enough to enter Morocco.
- Visa: citizens of the EU and many other countries do not need a visa for stays up to 90 days. Check the rules for your nationality.
- Residents of Spain with a non-EU passport should check Moroccan visa rules and their re-entry conditions for Spain.
- Vehicle documents if you bring a car or motorbike.
What to Do When You Arrive in Tangier
Tangier is often seen only as a gateway, but it deserves at least one or two days. The city mixes Moroccan traditions, Spanish influences and an international past, and its views over the Strait of Gibraltar are memorable. Here are the highlights:
- The Kasbah: the old fortress at the top of the medina, with views over the strait and a museum in the former sultan’s palace.
- The medina: white alleys, small squares like the Petit Socco and the Grand Socco, and traditional shops.
- Café Hafa: a legendary terrace café opened in the early 20th century, overlooking the sea toward Spain.
- The American Legation: the first property the United States owned abroad, now a museum.
- Cap Spartel: the lighthouse where the Atlantic meets the Mediterranean.
- Caves of Hercules: sea caves linked to the legend of Hercules.
- The Corniche and beaches: a long seafront promenade good for evening walks.
Read our guides where is Tangier, Is Tangier worth visiting? and Is Tangier safe?.
Where to Stay in Tangier
| Area | Best for | Good to know |
|---|---|---|
| Kasbah and medina | Atmosphere, riads, views of the strait | Steep streets; ask your riad to meet you |
| Ville Nouvelle and Boulevard Pasteur | Easy access, cafés and shops | Close to the medina, good for short stays |
| Corniche and Malabata | Sea views, modern hotels | Good for families and travelers with a car |
| Near the train station | Early departures south | Practical rather than charming |
What to Eat in Tangier
Tangier has its own food traditions, influenced by Morocco, Spain and the sea. Do not miss:
- Fresh seafood and grilled fish near the port.
- Bissara, a warm fava bean soup with olive oil and cumin, good for breakfast.
- Kalinté (karantika), a chickpea flan sold hot in the street, a Tangier specialty with Spanish roots.
- Msemen and harcha, Moroccan breads for breakfast with honey or cheese.
- Mint tea at Café Hafa, served in glasses on terraces facing the sea and the Spanish coast.
Day Trips From Tangier
Tangier is a great base for a few days before you continue south. Easy day trips include:
- Asilah: a small whitewashed town on the Atlantic, about 45 minutes away, famous for its murals, ramparts and fresh fish.
- Tetouan: a UNESCO-listed medina with strong Andalusian heritage, about one hour away.
- Chefchaouen: the Blue City in the Rif Mountains, about 2.5 to 3 hours away; better with a night there.
- Cap Spartel and Achakar beach: lighthouse views and wild Atlantic beaches just outside the city.
- Ceuta: a Spanish city on the African coast, about one hour away; check border rules and queues before going.
If you have more time, Tangier is a good starting point for a longer journey to Fes, the Middle Atlas and the Sahara. Our Tangier desert tours include pick-up at the airport, the port or your hotel.
Is Tangier Worth More Than a Stopover?
Yes. Many travelers coming from Barcelona think of Tangier as a simple transit city, but it has transformed in recent years. The medina has been restored, the new marina and seafront are lively in the evening, and the Kasbah offers some of the best views in northern Morocco. Its mix of Moroccan, Spanish and international influences makes it feel different from any other Moroccan city. Give it at least one full day, and you will understand why so many artists and writers fell in love with it.
Continuing Your Trip From Tangier
| Destination | Distance or time | How to go |
|---|---|---|
| Asilah | About 45 minutes | Car, bus or train |
| Chefchaouen | About 2.5 to 3 hours | Bus or private driver |
| Tetouan | About 1 hour | Car or bus |
| Rabat and Casablanca | About 1.5 to 2.5 hours | Al Boraq high-speed train |
| Fes | About 4 hours | Train or private driver |
| Marrakech | About 5 to 6 hours by day train, or overnight train | Train |
| Sahara (Merzouga) | A multi-day route via Fes | Private tour |
Read our guides to the Blue City Chefchaouen and traveling by train in Morocco, and see our Tangier desert tours.
Sample Itineraries From Barcelona
Long Weekend in Tangier
| Day | Plan |
|---|---|
| Day 1 | Fly from Barcelona, explore the medina and the Kasbah, sunset at Café Hafa |
| Day 2 | Cap Spartel, the Caves of Hercules and the beaches; evening on the Corniche |
| Day 3 | Day trip to Asilah or Chefchaouen, fly back in the evening or next morning |
One Week: Tangier to Marrakech
| Day | Route |
|---|---|
| Day 1 | Fly from Barcelona to Tangier |
| Day 2 | Tangier to Chefchaouen |
| Day 3 | Chefchaouen to Fes |
| Day 4 | Fes medina |
| Day 5 | Fes to Merzouga, desert camp |
| Day 6 | Merzouga to Dades or Ouarzazate |
| Day 7 | Arrive in Marrakech, fly back to Barcelona |
Flying into Tangier and out of Marrakech is a smart way to see the whole country without backtracking. See also our guide travel from Madrid to Marrakech.
Weather: Barcelona vs Tangier
| Season | Barcelona | Tangier |
|---|---|---|
| Winter | Mild, some rain | Mild and rainier, sometimes windy |
| Spring | Pleasant | Green and pleasant |
| Summer | Hot and humid | Warm, sometimes windy with the levante |
| Autumn | Mild | Warm and pleasant |
The climates are quite similar, as both are Mediterranean port cities. Tangier can be windy, which sometimes delays ferries. Read our guide to the weather in Tangier.
Best Time to Travel From Barcelona to Tangier
Spring and autumn are the best seasons: the weather is pleasant, flights are cheaper and ferries are calmer. Summer is the busiest period by far, as many Moroccans living in Catalonia and Europe travel home; book flights and ferries months in advance. Winter is quiet and cheap, but the sea can be rough and some fast ferries may be cancelled because of wind. If you plan to continue to the Sahara, autumn and spring offer the best conditions.
Money and Phone Tips
- Euros are easy to exchange in Tangier at official exchange offices or banks.
- ATMs are common in the city; choose to be charged in dirhams. Read our guide to the Moroccan dirham.
- EU roaming usually does not include Morocco, so buy a local SIM or eSIM.
- Save numbers in international format. See our guide to the phone code of Morocco.
Traveling With Children or Older Travelers
The direct flight is the easiest option for families with young children and older travelers: it is short and simple. The long ferry can also be fun for families if you book a cabin, as children enjoy exploring the ship. In Tangier, the medina has steep streets and stairs, so choose a hotel with easy access by car if walking is difficult. See our Morocco tours for seniors.
Cost Comparison for Two Travelers
| Option | Approximate cost for two, one way | Notes |
|---|---|---|
| Low-cost flight | €60 to €300 | Cheapest when booked early; extra fees for bags |
| Direct ferry, seats | €180 to €300 | Add more for a cabin and meals |
| Direct ferry with car and cabin | €400 to €800 | Depends on season and vehicle size |
| Train + Tarifa ferry | €250 to €450 | Plus a hotel night on the way |
These are rough estimates that change a lot with the season, the day of the week and how early you book. For a short city break, the flight wins on price and time. For a long road trip with a vehicle, the direct ferry saves you more than 1,000 kilometers of driving through Spain and the cost of fuel, tolls and hotels on the way. For travelers who want to enjoy Spain too, the train route turns transport into part of the holiday, with stops in cities like Granada, Seville or Málaga before crossing to Africa.
Whatever you choose, remember to add the cost of transport between the port or airport and the city center in Tangier, especially if you arrive at Tanger Med, about 40 kilometers away.
Which Option Is Best for You?
| If you… | Choose |
|---|---|
| Want the fastest and often cheapest option | Direct flight |
| Travel with a car, motorbike or campervan | Direct ferry Barcelona – Tanger Med |
| Love trains and want to visit Andalusia | Train + Tarifa – Tangier ferry |
| Plan a long road trip | Drive to Algeciras and take the short ferry |
10 Tips for a Smooth Trip From Barcelona to Tangier
- Compare flight prices across several airlines.
- Bring your passport, not only your ID card.
- Check the port: Tangier Ville or Tanger Med.
- Book summer ferries and flights early.
- Book a cabin on the long ferry.
- Download entertainment before the ferry; Wi-Fi is limited.
- Get your passport stamped on board when traveling by sea.
- Rent your car in Morocco, not in Spain.
- Change euros in Morocco and keep your receipts.
- Spend at least one full day in Tangier before continuing south.
Safety at the Port and Airport
Tangier is generally safe for visitors, and it has changed a lot in recent years, with a modern marina, renovated medina and seafront. As in any port city, stay alert when you arrive. Ignore people who offer to carry your bags or show you a hotel for money, use official taxis and agree on the price before you go, and keep your passport and wallet in a secure place. Read our guide Is Tangier safe? for more advice.
Common Mistakes
| Mistake | Fix |
|---|---|
| Confusing Tanger Med and Tangier Ville | Check the arrival port on your ticket |
| Bringing only an ID card | You need a passport for Morocco |
| Booking summer ferries late | Book months ahead for July and August |
| Forgetting the time difference | Check local times on tickets |
| Missing passport control on the ferry | Find the police counter on board |
| Only staying one night in Tangier | Give the city at least a full day |
Quick Cheat Sheet: Barcelona to Tangier
- Fastest: direct flight, about 2 hours
- Direct ferry: Barcelona – Tanger Med, about 29 to 36 hours
- Best for foot passengers by sea: Tarifa – Tangier Ville, about 1 hour
- Tanger Med is 40 km from the city
- Same time in winter, Tangier 1 hour behind in summer
- Bring your passport
Frequently Asked Questions
How long is the flight from Barcelona to Tangier?
About 1 hour 45 minutes to 2 hours.
Is there a ferry from Barcelona to Tangier?
Yes, a direct ferry runs from Barcelona to Tanger Med, mainly with GNV, and takes about 29 to 36 hours.
Which airlines fly from Barcelona to Tangier?
Mainly Air Arabia Maroc, Vueling and Ryanair.
What is the difference between Tanger Med and Tangier Ville?
Tangier Ville is in the city center; Tanger Med is a large port about 40 km east of the city.
Can I take my car from Barcelona to Morocco?
Yes, on the direct ferry or by driving to Algeciras. Bring your car papers and insurance valid in Morocco.
Is there a time difference between Barcelona and Tangier?
No in winter; in summer, Tangier is one hour behind Barcelona.
Do I need a visa to go from Barcelona to Tangier?
EU citizens and many other nationalities do not need a visa for short stays. Check your passport’s rules.
What is the cheapest way from Barcelona to Tangier?
Low-cost flights booked early are usually the cheapest option.
Is it worth taking the ferry from Barcelona to Tangier?
It is worth it if you travel with a vehicle or enjoy slow travel. For a short trip without a car, flying is faster and often cheaper.
Can I visit Chefchaouen from Tangier?
Yes. Chefchaouen is about 2.5 to 3 hours from Tangier by bus or private driver.
Related reading: Travel from Tangier to Merzouga
Final Thoughts
Traveling from Barcelona to Tangier is easy and full of options. Fly if you want to arrive in two hours, take the direct ferry if you travel with a car or love the sea, or cross Spain by train for an memorable overland journey. Once in Tangier, take time to explore the Kasbah, sip mint tea at Café Hafa and watch Spain from Africa, then continue south to Chefchaouen, Fes and the Sahara. Barcelona and Tangier may be in different continents, but they are closer than you think, and the journey between them is the start of an special adventure.
Arriving in Tangier from Barcelona? Contact us and we will meet you at the airport or port and plan your private route through Morocco.
Explore our Morocco trips:
Tours from Marrakech: Flying back to Barcelona from Marrakech? Start in Tangier, travel south through the country, and finish with the High Atlas, the kasbahs and the Sahara before your flight home.
Morocco Desert Tours: From the Mediterranean shores of Barcelona to the golden dunes of Merzouga: add a camel ride and a night in a desert camp to your Tangier adventure.
Tours from Fes: After Tangier and Chefchaouen, reach Fes and its ancient medina, then cross the Middle Atlas to the Sahara with a private driver.
Tours from Ouarzazate: Explore the land of kasbahs and film studios in the south, the perfect contrast to the white medina of Tangier.
Tours from Tangier: Land at Tangier airport or arrive at the port from Barcelona, and let us take you through Chefchaouen, Fes and the desert on a private tour.
Tours from Casablanca: Take the high-speed train from Tangier to Casablanca, visit the Hassan II Mosque, and continue to Marrakech and the Sahara.
Contact us

Your Local Experts
Our Moroccan team organizes private tours from every major city in Morocco: Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir, Ouarzazate and more. Wherever you land, we pick you up and design your trip around your dates and interests.
Plan Your Trip
Click any destination to see more:
Marrakech Desert Tours
- 2 Days Desert Tour from Marrakech
- 3 Days Marrakech to Merzouga
- 3 Days Marrakech to Fes
- 4 Days Marrakech to Merzouga
- 4 Days Marrakech to Fes
- 5 Days Marrakech to Merzouga
- 5 Days Morocco Tour from Marrakech
- 6 Days Morocco Tour from Marrakech
- 7 Days Morocco Tour from Marrakech
- 8 Days Morocco Tour from Marrakech
- 8 Days with Imperial Cities
- 9 Days Morocco Tour from Marrakech
- 10 Days Morocco Tour from Marrakech
- 12 Days Morocco Tour from Marrakech
- 14 Days Morocco Tour from Marrakech