RoutavioPopular routesSan SebastiánSan Sebastián to Madrid
San SebastiánMadrid353 km in a straight line

How to Get from San Sebastián to Madrid

San Sebastián to Madrid is 353 km in a straight line. The trip takes 5h 55m by bus.

  • First bus at 02:45, last at 23:00
San Sebastián to Madrid

On Routavio you can compare the ways from San Sebastián to Madrid by price and travel time (route calculated on 3 December 2026).

Compare the ways to get there. Then check them for your own date.

At a glance

  • Fastest

    5h 55m

    direct

    Bus

    €24

Calculated by Routavio, refreshed 3 Dec 2026

Start with the Whole Journey.

We compared the ways to travel from San Sebastián to Madrid. The most useful door-to-door route takes 5h 55m 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 December 3, 2026 and has not been refreshed since. Run a live search for today's price.

353 km in a straight line

San Sebastián to Madrid: Cheapest or Fastest?

Pick a tab: the legs, the timing and the difference from the others all change with it.

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.

Price alert
San Sebastián Madrid· 12 Dec 2026 ·€24One way

Departures from San Sebastián to Madrid

FlixBus publishes departures from 02:45 to 23:00.

OperatorFirstLast
FlixBusbus02:4523:00

All departures

  • 02:45
  • 05:45
  • 06:45
  • 07:15
  • 07:25
  • 08:00
  • 08:15
  • 08:25
  • 09:00
  • 23:00

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

San Sebastián
San SebastiánDeparture
Madrid
MadridArrival

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.

  • Train· 5h 12m€27Book
  • Bus· 4h 10m€33Book

Omio last refreshed these on Fri, Dec 4.

See fares and book

Operators Seen on These Journeys

On this route you travel with FlixBus.

How the Trip from San Sebastián to Madrid Works

Routavio built this route from its own route data on 3 December 2026. Start with a FlixBus bus from San Sebastián to Madrid Barajas, about 5h 55m. In total it's roughly €24 over 5h 55m, direct, no transfers.

Rent a Car

Loading offers...

Things to Do in Madrid

Loading offers...

San Sebastián to Madrid: Common Questions

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

Routavio's route check on 3 December 2026 puts the most useful route at about 5h 55m by bus, with no transfer.

When is the first bus from San Sebastián to Madrid?

The first bus with FlixBus leaves at 02:45 and the last at 23:00, from San Sebastian / Donostia, according to the published timetable.

Which station does the bus from San Sebastián to Madrid leave from?

San Sebastian / Donostia with FlixBus, according to the published timetable.

How far is Madrid from San Sebastián?

About 353 km in a straight line. The real route on the ground or in the air is longer.

How much does San Sebastián to Madrid cost?

Routavio's price check on 3 December 2026 puts the route we recommend at €24. Other options on this page can cost less, and the exact fare depends on your travel date.

Which operators run San Sebastián to Madrid?

According to Routavio's route data, on this route you travel with FlixBus.

Can you get from San Sebastián to Madrid without flying?

Yes. A ground route by bus takes about 4h 10m.

What is the cheapest way to get from San Sebastián to Madrid?

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 San Sebastián to Madrid

  • how to get from San Sebastián to Madrid
  • San Sebastián to Madrid travel time
  • San Sebastián to Madrid distance
  • cheapest way from San Sebastián to Madrid
  • San Sebastián to Madrid 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

Route calculated: 3 Dec 2026

Prices checked: 3 Dec 2026