
How to Get from Madrid to San Sebastián
Madrid to San Sebastián is 353 km in a straight line, and the fastest option takes 5h 46m by bus. The trip takes 10h 26m by train.
- First bus at 15:05, last at 23:59
Madrid to San Sebastián
On Routavio you can compare the ways from Madrid to San Sebastián by price and travel time (route calculated on 4 December 2026).
Compare the ways to get there. Then check them for your own date.
Start with the Whole Journey.
We compared the ways to travel from Madrid to San Sebastián. The most useful door-to-door route takes 5h 46m by bus with no transfer. The two cities are about 353 km apart in a straight line. The price and operators below come from a real route search.
The lowest we recorded in the last 14 days was €20, on Thu, Nov 26.
353 km in a straight line
Which Way Suits You?
| Transport | Ticket price | Duration and scope | Detail |
|---|---|---|---|
| Train | €48Typical price for this route | 10h 26m2 transfers | See Train details |
| Bus | €27Checked Dec 3 | 5h 46mFastestdirect | See Bus details |
| See bus tickets on Omio | |||
- Train€48Typical price for this route10h 26m · 2 transfersSee Train details
- Bus€27Checked Dec 35h 46m · directFastestSee Bus details
These figures come from different days, and some are our estimates. This table is not a live price ranking for your date.
Madrid to San Sebastián: Cheapest or Fastest?
All from the same recent search. Pick a tab: the legs, the timing and the difference from the others all change with it.
- 1Madrid Barajas → San Sebastiánbus
FlixBus·5h 46m
The best balance of price and time we found on this route.
Which Date Should You Go?
An amount is a fare we saw earlier; with "around" in front it is our estimate. Neither is a live offer. A day with no figure is one we have not priced, not one without a service.
Departures from Madrid to San Sebastián
FlixBus publishes departures from 15:05 to 23:59.
| Operator | First | Last |
|---|---|---|
| FlixBusbus | 15:05 | 23:59 |
| BlaBlaCarbus | · | · |
All departures FlixBus
- 15:05
- 15:55
- 16:05
- 17:55
- 18:45
- 18:55
- 20:55
- 22:14
- 22:59
- 23:14
- 23:35
- 23:59
Departure times come from operator timetables and are local time at the origin. Where a row shows no times, we do not hold a published timetable for that operator. Times can change on holidays and at short notice; confirm with the operator before you travel.
Departure and Arrival


Ticket Prices on This Route
What each way of travelling costs, as the operator publishes it. These describe the route rather than a date you pick, and they refresh once a day. Booking opens at our partner Omio.
Omio last refreshed these on Fri, Dec 4.
Operators Seen on These Journeys
On this route you travel with FlixBus, Renfe, Local bus, Airport shuttle bus.
How the Trip from Madrid to San Sebastián Works
Routavio built this route from its own route data on 4 December 2026. Start with a FlixBus bus from Madrid Barajas to San Sebastián, about 5h 46m. In total it's roughly €27 over 5h 46m, direct, no transfers.
Where to Stay
Stays in San Sebastián on Booking.comRent a Car
Loading offers...
Things to Do in San Sebastián
Loading offers...
Madrid to San Sebastián: Common Questions
How long does it take to get from Madrid to San Sebastián?
Routavio's route check on 4 December 2026 puts the most useful route at about 5h 46m by bus, with no transfer.
When is the first bus from Madrid to San Sebastián?
The first bus with FlixBus leaves at 15:05 and the last at 23:59, from Madrid Barajas, according to the published timetable.
Which station does the bus from Madrid to San Sebastián leave from?
Madrid Barajas with FlixBus, according to the published timetable.
How far is San Sebastián from Madrid?
About 353 km in a straight line. The real route on the ground or in the air is longer.
How much does Madrid to San Sebastián cost?
Routavio's price check on 3 December 2026 puts the route we recommend at €27. Other options on this page can cost less, and the exact fare depends on your travel date.
Which operators run Madrid to San Sebastián?
According to Routavio's route data, on this route you travel with FlixBus, Renfe, Local bus, Airport shuttle bus.
Can you get from Madrid to San Sebastián without flying?
Yes. A ground route by bus takes about 4h 30m.
What is the cheapest way to get from Madrid to San Sebastián?
Routavio's comparison usually points to a flexible date, or leaving from a nearby airport. A live search puts every option for your dates side by side.
Can I book directly?
Yes. Routavio sends you straight to the operator or an independent third-party provider. We never add a booking fee. The final fare and availability are confirmed by that provider.
Other Ways People Search Madrid to San Sebastián
- how to get from Madrid to San Sebastián
- Madrid to San Sebastián travel time
- Madrid to San Sebastián distance
- cheapest way from Madrid to San Sebastián
- Madrid to San Sebastián by bus
Sources and Method
Routes are calculated by Routavio's multimodal engine from operator timetables and flight data. Durations come from timetables, and prices are the most recent observation, not a guarantee.
Operators: FlixBus, Renfe, Local bus, Airport shuttle bus
Route calculated: 4 Dec 2026
Prices checked: 3 Dec 2026