Skip to content

Barcelona to Madrid by Train: Operators, Times & Tickets

7 min readBy Europe by Train Editorial
Barcelona to Madrid by Train: Operators, Times & Tickets

Last updated November 2026. The Barcelona to Madrid train is a direct high-speed service that runs from Barcelona Sants to Madrid in about 2.5 hours on the fastest trains. Renfe AVE, iryo and OUIGO all compete on this corridor, so the right choice depends on fare flexibility, luggage and arrival station. This guide sorts out those trade-offs before you book. For wider context, see our Spain train guide.

Featured image: Xavier Dengra, CC BY-SA 4.0, via Wikimedia Commons.

Barcelona to Madrid by train: the quick answer

Barcelona To Madrid Train, Spain — 1
Photo: jiesnarr, CC BY 4.0, via Flickr.

Direct trains leave Barcelona Sants and reach Madrid in roughly 2.5 hours on the fastest services. Slower services take longer, so compare departure and arrival times on each operator's site. Three operators sell tickets: Renfe (AVE), iryo and OUIGO. Most travellers arrive at Madrid Atocha, but some services use Chamartín, so read the arrival station on your ticket before you pay. Book early for the lowest fares, and choose a flexible fare if your plans might move.

  • Departure: Barcelona Sants
  • Typical arrival: Madrid Atocha; some services use Chamartín
  • Fastest direct time: about 2.5 hours
  • Operators: Renfe AVE, iryo, OUIGO
  • Best fare strategy: book early, pick flexibility only if plans are uncertain
Barcelona To Madrid Train, Spain — 2
Photo: IngolfBLN, CC BY-SA 2.0, via Wikimedia Commons.

Which operator should you pick?

Each operator suits a different traveller. Fares on the page below come from published fare terms and can change, so prices and terms were checked November 2026 and should be re-read at booking. Our operator comparison goes deeper on all three. For the AVE brand itself, read our AVE explainer.

OperatorLuggageOnboardWho should skip it
Renfe AVEThree pieces, up to 25 kg totalFree Wi-Fi, cafeteria, boxed meals from €5.50 on lower faresAnyone who wants the cheapest ticket on a flexible plan
Barcelona To Madrid Train, Spain — 3
Photo: tgrauros, CC BY-SA 2.0, via Flickr.

Journey time and real door-to-door time

The fastest direct trains take about 2.5 hours between stations. Your real trip is longer. Plan to be at Sants about 30 minutes before departure, or 45 to 60 minutes with luggage or in busy periods. Add the Metro or taxi ride at each end. Flying has a shorter air time, but airport transfers and security usually erase the gap. The train starts and ends much closer to the city centres, which is its main advantage.

Barcelona Sants to Madrid Atocha or Chamartín

Barcelona To Madrid Train, Spain — 4
Photo: Ricardo Ricote Rodríguez from Madrid, España, CC BY 2.0, via Wikimedia Commons.

Barcelona departures leave from Barcelona Sants Station Guide: Trains, Metro, Transfers. In Madrid, Madrid Atocha Station Guide: Trains, Garden, Transfers is the usual terminus for direct services, and some trains run to Madrid Chamartín instead. Which operator stops at which station can change by timetable, so the booking screen is the source to trust. Pick Atocha if your hotel is near the centre or you want easy connections south. Pick Chamartín if you are staying in the north of the city. Both stations link to the local commuter network, and you can read about Cercanías commuter trains for the onward leg. Several Renfe fares include a free combined Cercanías ticket, so check your fare details.

Ticket prices and when to book

Fares start low and rise closer to departure, so early booking is the main saving. Renfe sells the cheapest AVE option as Básico, which cannot be refunded and costs €10 to change. Elige fares sit above it and allow one free change with a 70% reimbursement if you cancel. Prémium is the most flexible. Children under 14 get a 40% discount on AVE, and groups of 4 to 9 can get 8% off. Always check the official fare page for the current booking window and prices. You can buy directly from Renfe or through our Renfe ticket guide. Resellers may add fees or show prices in other currencies, so compare the final total in euros against Renfe's own site.

Barcelona To Madrid Train, Spain — 5
Photo: IngolfBLN, CC BY-SA 2.0, via Wikimedia Commons.
  • Plans fixed: choose the cheapest fare and book early.
  • Plans might move: choose a mid-tier flexible fare.
  • Need a full refund: choose the top fare class.
  • Travelling with children: check the under-14 discount at checkout.

Luggage, onboard services and arrival time

AVE allows three pieces of luggage up to 25 kg total on every fare. Foldable bikes are allowed. Non-foldable bikes must be disassembled and bagged within 140 x 90 x 40 cm. Small pets under 10 kg travel for €10 on lower fares. OUIGO is stricter: the basic fare includes one hand bag and one suitcase, and Wi-Fi costs €3. The Plus fare adds a second suitcase and free Wi-Fi. Read OUIGO's fare terms before you pack. Arrive at least 30 minutes early for security, and 45 to 60 minutes when carrying bags.

Sants Estació senyal parada — 6
Photo: Agm, CC0, via Wikimedia Commons.

Changes, refunds and flexibility

Flexibility varies sharply by operator and fare. On OUIGO, a refundable-ticket add-on costs €8 and a Flex add-on costs €7, bought during booking. On iryo, the Inicial fare charges €10 to change and refunds 70% if cancelled at least seven days ahead. Renfe's Prémium allows a free change and full refund.

FareChangeRefund
Renfe Básico€10 fee plus any differenceNot available
Renfe EligeOne free change70% reimbursement
Renfe PrémiumFreeFull refund
iryo Inicial€10 plus any difference70% if cancelled 7+ days ahead
OUIGOVia €7 Flex add-onVia €8 add-on

Mistakes to avoid and when to skip the train

Sants Estació senyal precaució — 7
Photo: Agm, CC0, via Wikimedia Commons.

Do not assume iryo or OUIGO use the same Madrid station as Renfe. Do not buy the lowest fare if your plans may change. Do not ignore OUIGO's bag rules, and leave extra time at Sants for security. If the train is sold out, check the other two operators and a different departure time first. Buses and flights work as backups, and driving is rarely quicker once you add parking and tolls. If you plan more journeys, our Spain rail pass guide covers whether a pass is worthwhile for your route, and the Barcelona to Valencia Train: Times, Tickets and Which Service page covers another popular departure from Sants.

Good to know

On the cheapest Renfe fare, a ticket cannot be refunded and it costs €10 to change, so a low price can cost more if plans shift.

Choosing between iryo and OUIGO

iryo and OUIGO can both be useful alternatives to AVE, but they suit different booking priorities. Choose OUIGO when the lowest available fare matters most and you can travel with a simple bag setup. Its basic fare includes 1 hand bag and 1 suitcase. Larger luggage can mean extra charges, so confirm the allowance before paying. Wi-Fi costs €3 on the basic OUIGO fare, while the Plus fare includes Wi-Fi and a second suitcase.

Choose iryo when you want a lower-tier ticket with clearer flexibility than the most restricted fares. On iryo Inicial, a change costs €10 plus any fare difference. Cancellation returns 70% when made at least 7 days before departure. That makes it a better fit when your dates are reasonably firm but not completely fixed. Compare each service's Madrid arrival station as well as its headline fare, especially if your hotel is in the north or near central Atocha.

Frequently Asked Questions

How to get a train ticket from Barcelona to Madrid?

Book on the operator's own site: Renfe for AVE, iryo for its trains, or OUIGO for its low-cost service. Pick the departure, compare the fare class and check the arrival station before paying.

What is the difference between Renfe and AVE?

Renfe is the national rail operator. AVE is its high-speed brand, with other Renfe services running at lower speeds.

Are there direct trains from Madrid to Barcelona?

Yes. Direct high-speed trains run between Madrid and Barcelona Sants in about 2.5 hours on the fastest services. Compare times on Renfe, iryo and OUIGO.

Rail notes for your next trip

Optional updates when our rail guides change.

No spam. Unsubscribe anytime.

More guides

Picked from the same area