Home · Search
Routes

How to Get from San Sebastián to Barcelona: Distance, Train, Bus and Car

AI-generated content · How we use AI

How to Get from San Sebastián to Barcelona: Distance, Train, Bus and Car

Foto: M McBey, CC BY 2.0, vía Wikimedia Commons.

San Sebastián → Barcelona

543 km
🚗 Car 5h 30min (AP-2)
🚆 Train 6h 16min
🚍 Bus 7h 20min
Recommended stops 8

🚗 How to get from San Sebastián to Barcelona

Mode Time Approx. price Book
🚗 Car 5h 30min Fuel: 43–65€ Rent a car ↗ · Map
🚄 Train 6h 16min Check price Omio ↗
🚌 Bus 7h 20min 34,97-74,17 € Omio ↗

🎫 Compare all tickets

How to get from San Sebastián to Barcelona: quick summary

The fastest route between San Sebastián and Barcelona is by plane, with a direct flight of just 60 minutes operated by Vueling and fares starting at €22. For those who prefer to avoid airports, Renfe’s ALVIA train covers the journey in 376-394 minutes with two daily departures, while driving yourself offers complete freedom to discover culinary and scenic stops along 543 km of motorways such as the AP-2 and the AP-68.

Driving from San Sebastián to Barcelona

The road route totals 543 km and takes approximately 5 hours and 30 minutes, following a combination of motorways that cross the Basque Country, Navarre, La Rioja, Aragon and Catalonia.

The main route starts on the A-15 (Nafarroa-Gipuzkoa autobidea), which covers about 70 km toll-free from San Sebastián towards the interior. It then connects to the AP-15 (Nafarroako autobidea), adding another 99 km to the journey. The next stretch is the AP-68 (Autopista del Ebro), with 85 km of toll road linking to the Ebro valley. Most of the trip runs along the AP-2 (Autopista Zaragoza-Mediterrània), which adds 216 km toll-free and leads from Zaragoza into Catalonia. Finally, the AP-7 (Autopista de la Mediterrània) covers the last 49 km toll-free before reaching Barcelona.

The AP-68 toll is the only paid section of the route. It is worth planning a comfort stop halfway, ideally in Zaragoza or the towns near the AP-2, to stretch your legs and refuel.

By train from San Sebastián to Barcelona

Renfe operates direct ALVIA trains between San Sebastián-Donostia and Barcelona-Sants, with a journey time of 376 to 394 minutes and a frequency of 2 trains per day.

The first train departs at 06:35 and the last at 06:53, concentrating both departures in the morning. The journey is made on high-speed ALVIA trains, which combine conventional and high-speed track sections. The exact duration depends on the timetable and intermediate stops, ranging from 6 hours and 16 minutes to 6 hours and 34 minutes. The origin and destination stations are San Sebastián-Donostia and Barcelona-Sants, both central and well connected to local public transport.

By bus from San Sebastián to Barcelona

There are direct buses operated by FlixBus and MonBus that cover the route in 440 minutes, with fares ranging from €34.97 to €74.17 per journey.

The bus is the slowest option of all, exceeding 7 hours of travel, but it is usually cheaper than the train if booked in advance. Direct services avoid transfers and usually include comfort stops for rest. The price difference compared with the train can be considerable, especially when travelling in high season or buying the ticket at the last minute.

By plane from San Sebastián to Barcelona

Vueling operates direct flights between San Sebastián-Hondarribia airport (EAS) and Barcelona-El Prat (BCN), with a usual duration of 60 to 75 minutes.

Indicative one-way prices per person range from €22 to €124, although most deals fall between €30 and €50. The range reflects fares found on platforms such as Opodo (from €22) and Logitravel (up to €124 for a return trip). The departure airport, Hondarribia, is about 20 km from the centre of San Sebastián, while El Prat is excellently connected to Barcelona by train, metro and bus. This is by far the fastest option, ideal for weekend getaways or business trips.

The route between San Sebastián and Barcelona allows for detours into southern France or the discovery of charming towns inland in Catalonia and Occitania. These are the verified stops:

Foix

A French town in the Ariège department, in the Occitania region. Its medieval castle dominates the old town and is a point of interest for those seeking a quiet getaway away from the crowded routes.

Hendaye

A border commune in the French Basque Country, right next to Irún and just a few kilometres from San Sebastián. It is a natural stop at the start of the journey, with its beach, its marina and its relaxed atmosphere.

Tarbes

A city in Occitania, at the foot of the Pyrenees, known for its 18th- and 19th-century architecture and for being the gateway to the Pyrenean valleys. Its covered market and parks make it a pleasant stop to stretch your legs.

Saint-Gaudens

Another Occitan town, located in the Haute-Garonne department. It stands out for its Romanesque collegiate church and its proximity to the central Pyrenees. It is a discreet but charming stop for those travelling at a leisurely pace.

Castelnaudary

An Occitan town famous for being the world capital of cassoulet, a hearty stew of white beans, duck and sausage. Its port on the Canal du Midi and its old town justify a gastronomic stop.

Lourdes

One of the most important Catholic pilgrimage centres in the world, located in the Hautes-Pyrénées. Its sanctuary, the Massabielle grotto and its basilica attract millions of visitors every year. It is a stop of great cultural and religious interest.

Pau

An elegant city in south-western France, with a Renaissance castle that was once the residence of Henry IV. Its boulevards, gardens and views of the Pyrenees make it one of the most attractive stops on the route.

Limoux

A small Occitan town known for its sparkling white wine, blanquette de Limoux, which has been produced since the 16th century. Its carnival, one of the longest in France, and its wine-growing surroundings make it ideal for a quiet stop.

🏨 Hotels in Barcelona

* Prices are indicative and may vary. We compare hundreds of sites to find the best deal.

🎭 Activities and tours in Barcelona

Where to stay in Barcelona

Barcelona offers accommodation for every budget, from hostels and guesthouses from around €25-40 per night to luxury hotels that exceed €200.

The most recommended areas to stay are the Eixample, for its central location, its dining options and its good public transport connections; the Gothic Quarter and El Born, ideal for those seeking historic atmosphere and nightlife; and Gràcia, a neighbourhood with a character all of its own, quieter and full of squares and bars. Near Barcelona-Sants station there are practical options for those arriving by train or bus who prefer not to travel far with their luggage. For short stays, tourist apartments and boutique hotels in the historic centre are a good alternative.

Where to eat en route

The journey between San Sebastián and Barcelona crosses some of Spain’s richest culinary regions, from the Basque Country to Catalonia, passing through Navarra, La Rioja and Aragón.

Bacalao al pil-pil

An emblematic dish of the Basque Country, especially Guipúzcoa. It is made with desalted cod cooked at low temperature with olive oil and garlic, emulsifying the oil with the fish’s gelatin. The main ingredients are cod, olive oil, garlic and guindilla chilli.

Txakoli

A young white wine, slightly sparkling and acidic, made mainly from Hondarrabi Zuri grapes in Guipúzcoa and Vizcaya. It is served as an aperitif or to accompany pintxos, and is an excellent way to start the trip with local flavour.

Chuletillas de cordero

Typical of Navarra, especially the Tierra Estella area. These are grilled lamb chops, usually of the Navarra breed, served with piquillo peppers. The main ingredients are lamb, salt and peppers.

Pimientos del piquillo rellenos

Originally from Lodosa, in Navarra. These are roasted and peeled piquillo peppers, stuffed with meat or cod and covered in sauce. The main ingredients are piquillo peppers, minced meat or cod, onion and tomato.

Miguelitos

A puff pastry cake filled with pastry cream and dusted with icing sugar, typical of Logroño, in La Rioja. It is a perfect sweet treat for a mid-morning stop or as a dessert.

Vino Rioja

Made mainly from Tempranillo grapes in the La Rioja region, it can be red, white or rosé. It pairs with meats, cured sausages and stews, and is a must-stop for wine lovers.

Ternasco de Aragón

Young lamb roasted or stewed, typical of Aragón and especially Zaragoza. It is served with potatoes and spices, and is a hearty dish ideal for recharging your batteries halfway along the route.

Cava

A sparkling wine made by the traditional method with Macabeo, Xarel·lo and Parellada grapes, produced mainly in the Penedès, in Catalonia. It is the perfect companion for celebrations and aperitifs on arrival in Barcelona.

Pa amb tomàquet

Toasted bread rubbed with ripe tomato, dressed with olive oil and salt. It is the basic accompaniment of Catalan cuisine and is served with cured sausages, cheeses or simply on its own.

Butifarra amb mongetes

Grilled pork butifarra accompanied by white beans sautéed with garlic and olive oil. It is one of the most representative dishes of Catalonia and an excellent way to end the trip with authentic flavour.

Frequently asked questions about the San Sebastián-Barcelona route

How long does it take from San Sebastián to Barcelona?

It depends on the means of transport. By car it takes 5 hours and 30 minutes to cover 543 km. By Renfe ALVIA train, between 376 and 394 minutes (6h 16min – 6h 34min). By bus, 440 minutes (7h 20min). By plane, 60 minutes of direct flight, to which you must add check-in time and travel to the airports.

Which is cheaper, the train or the bus?

The bus is usually cheaper, with prices between €34.97 and €74.17 per journey. The ALVIA train can be more expensive, especially if booked at the last minute, although it offers greater comfort and speed. The plane can be surprisingly affordable, with fares from €22, but you have to add the cost of getting to the airports.

Is it worth renting a car?

Yes, especially if you want to make the most of the trip by stopping for food and culture. The road route allows you to discover towns such as Lourdes, Pau or Castelnaudary, and to sample typical dishes from Navarra, La Rioja, Aragón and Catalonia. If you just want to get to Barcelona quickly, the plane or train are better options. The car is ideal for travellers with time and a desire to explore.

When is the best time to travel?

The best time to do this route is in spring (April-June) and autumn (September-October), when temperatures are mild and the landscape is at its best. In summer, the heat can be intense in the Ebro valley and in Zaragoza, and Barcelona is more crowded. In winter, roads can be affected by bad weather in higher areas, although the train and plane are less affected.

💡 ¿Sabías que...?

  • ● Las playas de Barcelona se crearon para los Juegos Olímpicos de 1992; antes de esa década no había playas. (https://www.getyourguide.com/es-es/explorer/barcelona-ttd45/fun-facts-about-barcelona/)
  • ● La Sagrada Familia lleva más de 140 años en construcción y aún no tiene fecha para ser acabada. (https://www.abc.es/viajar/abci-diez-curiosidades-barcelona-quiza-desconocias-202202151417_noticia.html)
  • ● El nombre original de Barcelona fue Barcino, una pequeña ciudad de fundación romana. (https://www.barcelona.cat/es/conocebcn/la-historia)
  • ● La Rambla es considerada la séptima calle más famosa del mundo según una prestigiosa web de arquitectura. (https://www.rtve.es/television/20240514/cinco-curiosidades-sobre-barcelona/16102622.shtml)
  • ● El panot, el adoquín con forma de flor de cuatro pétalos, es un emblema urbano de Barcelona desde principios del siglo XX. (https://historia.nationalgeographic.com.es/a/feliz-dia-merce-5-datos-que-quiza-no-conocias-sobre-historia-barcelona_24585)