
Best Price Promise
If you find trains for a cheaper price elsewhere, let us know and we'll refund the difference*

Book Cheaper Tickets
Save more with a variety of promo codes. Book on the TrainPal app with no booking fees.

Efficient Customer Service
24/7 fast customer service with prompt responses to your queries

Fast Changes and Refunds
Seamless rail travel with easy changes and refunds for peace of mind.
San Sebastian to Madrid train ticket prices
Book cheap train tickets from San Sebastian to Madrid with TrainPal, starting at €42.16, with an average price of €92.36*. Board Renfe AVE, Avant, and Avlo high-speed trains, or take iryo and OUIGO trains. Enjoy high-speed travel and excellent services to every corner of Spain. Compare options and start your journey now on TrainPal.
€92.36
From 08 Dec to 14 Dec
€42.16
On Sun 14 Dec
San Sebastian to Madrid train times
The quickest travel time from San Sebastian to Madrid is 5 hours 5 minutes, with a standard duration of 5 hours 27 minutes. 7 trains are running daily on this route, with the earliest train at 04:55 and the latest at 5 hours 27 minutes. For more information on train schedules, prices, delays, and cancellations, browseTrainPal. Stay informed with real-time updates to ensure a seamless journey in Spain.
| Departs | Arrives | Operator | ||
|---|---|---|---|---|
06:57 Donostia-San Sebastián | 6h 22m, 1 change | 13:19 Madrid-Puerta De Atocha | RENFE | Find tickets |
08:42 Donostia-San Sebastián | 5h 9m, Direct | 13:51 Madrid-Chamartín | RENFE | Find tickets |
11:01 Donostia-San Sebastián | 7h 54m, Direct | 18:55 Madrid-Príncipe Pío | RENFE | Find tickets |
13:55 Donostia-San Sebastián | 7h 47m, Direct | 21:42 Madrid-Príncipe Pío | RENFE | Find tickets |
14:07 Donostia-San Sebastián | 5h 27m, Direct | 19:34 Madrid-Chamartín | RENFE | Find tickets |
San Sebastian to Madrid train journey information
Find detailed Renfe, iryo, and OUIGO train schedules from San Sebastian to Madrid, including first and last departure times, arrival stations, distance, journey time, train companies, and price options. Check train times and prices for a smooth journey.
San Sebastian to Madrid train travel guide
Explore the travel guide from San Sebastian to Madrid on TrainPal. With an average duration of 5 hours 27 minutes, you can enjoy a wonderful trip on Renfe AVE high-speed trains, along with iryo and OUIGO trains.

Planning and booking
1. How do I book train tickets for the San Sebastian to Madrid route?
2. What is the best way to book AVE train tickets from San Sebastian to Madrid?
Find affordable AVE train tickets from San Sebastian to Madrid on TrainPal. Book tickets up to 90 days ahead to secure the best prices. We offer discounts for students and seniors. For extra savings, buy a Return ticket and use our discount codes. Travel on a budget with TrainPal.
3. Are there any stops along the way from San Sebastian to Madrid on the AVE train?
No, you need to transfer on the route from San Sebastian to Madrid. TrainPal assists in comparing times, prices, and transfer details. We strive to ensure your journey is seamless and stress-free.
4. What is the frequency of AVE trains from San Sebastian to Madrid?
A journey from San Sebastian to Madrid caters to 7 trains every day. TrainPal shows you lots of information you may be interested in. Stay informed with live train times, ensuring you know the best time to leave home, guaranteeing the continuity of your journey, and saving you time, effort, and worry.
5. How long does it take to travel from San Sebastian to Madrid by train?
Travel from San Sebastian to Madrid in as little as 5 hours 5 minutes, with the average trip taking 5 hours 27 minutes. Check detailed departure and arrival times for both stations. Stay updated with TrainPal for live schedules.
6. How much does a train ticket from San Sebastian to Madrid cost?
The most affordable train ticket from San Sebastian to Madrid is €42.16, with an average price of €92.36*. Stay updated on TrainPal for real-time price changes. Reduce travel spending to enjoy more at your destination.

Onboard services
1. Are there food and drink services on the AVE train from San Sebastian to Madrid?
On AVE trains from San Sebastian to Madrid, all ticket types include free WiFi, power outlets, and allowance for up to three bags. A cafeteria or mobile catering bar is accessible to all passengers. Boxed meals start at €5.50 for Básico and Elige tickets, while Prémium ticket holders enjoy complimentary meals.
2. Can I bring luggage and bicycles on the AVE train from San Sebastian to Madrid?
Yes, AVE permits three pieces of luggage with a total weight of up to 25 kg. Foldable bicycles are allowed; non-foldable bikes must be disassembled and bagged within 140 x 90 x 40 cm.
3. How early should I arrive at the train station for the AVE train from San Sebastian to Madrid?
Arrive at the train station 30 minutes early for security checks and boarding. For luggage or peak times, arrive 45-60 minutes early. Always double-check your ticket and TrainPal instructions for accuracy.
San Sebastian to Madrid Train Classes
When travelling from San Sebastian to Madrid, explore and compare the various class services provided by AVE, Avlo, Iryo, and OUIGO to effortlessly plan your upcoming journey.

BÁSICO

ELIGE ESTÁNDAR

ELIGE CONFORT

PRÉMIUM

BÁSICA

Inicial

Singular

Singular Only YOU

Infinita Bistró

OUIGO ESENCIAL

OUIGO PLUS
Change and refunds
| Train ticket types | Change | Refunds |
|---|---|---|
| Básico | | |
| Elige Estándar | | |
| Elige Confort | | |
| Prémium | | |
| Train ticket types | Change | Refunds |
|---|---|---|
| Sencillo | | |
| Ida y Vuelta | | |
| Con enlace | | |
| Train ticket types | Change | Refunds |
|---|---|---|
| Inicial | | |
| Singular | | |
| Singular Only YOU | | |
| Infinita Bistró | | |
| Train ticket types | Change | Refunds |
|---|---|---|
| OUIGO ESENCIAL | | |
| OUIGO PLUS | | |
How to buy cheap Renfe and iryo train tickets

Train Journey Planner offers cheap train tickets with clear route details, including price, time, and company. Labels highlight the best options. Save more with discount codes

As the most affordable option among all AVE tickets, it is non-refundable. However, you can modify your ticket by paying a €10 fee plus any fare difference. Despite this, you will still enjoy our high-quality services onboard.

Travel with Avlo's Básica (Basic) tickets starting from €7 on eight routes. Easily change or refund your ticket for an additional €8 fee. Moreover, each Básica ticket allows you to bring two children under 14 for €5 each.

Purchasing Avant's Return tickets saves you 20% compared to separate tickets. Both can be changed. Cancellations incur at least a 15% fee; cancelling one ticket costs 40% of its price.

Travel comfortably with iryo Inicial fare, featuring reclining leather seats, extra legroom, individual armrests, and power outlets. Tickets are refundable and changeable with conditions. Enjoy a luxurious and flexible journey with iryo.

The double-decker OUIGO trains are high-speed and low-cost, making trips like Madrid to Barcelona feel shorter. You can bring two small pieces of luggage for free.

Under 14s get a 40% discount on AVE, Alvia, Avant, and more. Tickets include a seat, are changeable and refundable. Kids up to three travel free; under six travel free on Cercanías.

Enjoy an 8% discount on the total price when travelling in a group of 4 to 9 people. Tickets are non-changeable but refundable, with fees ranging from 5% to 30% of the total price. Make the most of our group discount offer to save on your trip.
More train routes
* The lowest price is based on historical data to predict the cheapest fare over the next 7 days, but actual prices may vary.
























New user welcome pack