How to Get from Madrid to San Sebastián-Donostia
Madrid to San Sebastián-Donostia is 353 km in a straight line, and the fastest option takes 5h 04m by train. The trip takes 5h 25m by bus.
- 9 bus departures a day with ALSA
- First bus at 01:45, last at 20:30
Madrid to San Sebastián-Donostia
On Routavio you can compare the ways from Madrid to San Sebastián-Donostia by price and travel time (route calculated on 28 November 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-Donostia. The most useful door-to-door route takes 5h 25m 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.
This fare comes from a search on November 19, 2026 and has not been refreshed since. Run a live search for today's price.
353 km in a straight line
Which Way Suits You?
| Transport | Ticket price | Duration and scope | Detail |
|---|---|---|---|
| Train | €22Omio catalogue, Nov 29 | 5h 04mFastestdirect | See Train details |
| Bus | €28Older observation | 5h 25mdirect | See Bus details |
| See bus tickets on Omio | |||
- Train€22Omio catalogue, Nov 295h 04m · directFastestSee Train details
- Bus€28Older observation5h 25m · directSee Bus details
These figures were observed on different days. This table is not a live price ranking for your date.
Madrid to San Sebastián-Donostia: Cheapest or Fastest?
Pick a tab: the legs, the timing and the difference from the others all change with it.
- 1Madrid Barajas → San Sebastián-DonostiabusALSA·5h 25m
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-Donostia
ALSA runs 9 scheduled departures a day, the first at 01:45 and the last at 20:30.
| Operator | Departures a day | First | Last |
|---|---|---|---|
| ALSAbus | 9 | 01:45 | 20:30 |
| Renfetrain | 5 | 06:55 | 17:48 |
All departures ALSA
- 01:45
- 09:00
- 10:00
- 11:00
- 13:00
- 15:00
- 18:00
- 19:00
- 20:30
All departures Renfe
- 06:55
- 09:06
- 12:25
- 14:50
- 17:48
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 Sun, Nov 29.
Operators Seen on These Journeys
On this route you travel with ALSA, Renfe.
How the Trip from Madrid to San Sebastián-Donostia Works
Routavio built this route from its own route data on 28 November 2026. Start with a ALSA bus from Madrid Barajas to San Sebastián-Donostia, about 5h 25m. In total it's roughly €28 over 5h 25m, direct, no transfers.
Where to Stay
Stays in San Sebastián-Donostia on Booking.comRent a Car
Loading offers...
Things to Do in San Sebastián-Donostia
Loading offers...
Madrid to San Sebastián-Donostia: Common Questions
How long does it take to get from Madrid to San Sebastián-Donostia?
Routavio's route check on 28 November 2026 puts the most useful route at about 5h 25m by bus, with no transfer.
When is the first bus from Madrid to San Sebastián-Donostia?
The first bus with ALSA leaves at 01:45 and the last at 20:30, from Madrid Barajas, according to the published timetable.
How many bus departures a day are there from Madrid to San Sebastián-Donostia?
Routavio's timetable check shows 9 bus departures a day with ALSA, between 01:45 and 20:30.
Which station does the bus from Madrid to San Sebastián-Donostia leave from?
Madrid Barajas with ALSA, according to the published timetable.
When is the first train from Madrid to San Sebastián-Donostia?
The first train with Renfe leaves at 06:55 and the last at 17:48, according to the published timetable.
How many train departures a day are there from Madrid to San Sebastián-Donostia?
Routavio's timetable check shows 5 train departures a day with Renfe, between 06:55 and 17:48.
How far is San Sebastián-Donostia 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-Donostia cost?
Routavio's price check on 19 November 2026 puts the route we recommend at €28. 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-Donostia?
According to Routavio's route data, on this route you travel with ALSA, Renfe.
Can you get from Madrid to San Sebastián-Donostia 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-Donostia?
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.
Where to Next
Other Ways People Search Madrid to San Sebastián-Donostia
- how to get from Madrid to San Sebastián-Donostia
- Madrid to San Sebastián-Donostia travel time
- Madrid to San Sebastián-Donostia distance
- cheapest way from Madrid to San Sebastián-Donostia
- Madrid to San Sebastián-Donostia 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.
Route calculated: 28 Nov 2026
Prices checked: 19 Nov 2026
