Madrid to Barcelona Train: Tickets, Prices & Stations

Park Güell, Barcelona, 24 June 2021. Photo: Canaan; edited version: Lojwe. Source image · CC BY-SA 4.0. Resized source version. Destination view; not a railway station.
The Madrid to Barcelona train connects Madrid Puerta de Atocha–Almudena Grandes with Barcelona Sants. Renfe, iryo and OUIGO offer services on this corridor, but their timetables, fares and inclusions differ. Start with your travel date and the time you need to reach your destination, then compare suitable departures.
Madrid to Barcelona train prices: compare the same journey
For a useful price comparison, search the same travel date, passenger count and direction. Compare the final amount for a suitable departure with the luggage and seat options you actually need. A fare advertised for another day does not establish the price of your journey. Save the fare conditions alongside the quoted total if you are comparing several options.
Barcelona to Madrid train: check the return separately
For a Barcelona to Madrid return, run a separate search with the cities reversed. Do not assume the same price, stops or departure times apply in both directions. If the train forms part of a flight connection, compare the full hotel-to-airport journey as well as the rail time. A cheaper restrictive ticket may be a poor fit for an uncertain flight arrival.
Choose a departure, not a headline journey time
Do not plan every Madrid–Barcelona journey as “under three hours”. Duration depends on the selected train, intermediate stops and the operating timetable. Some advertised journey times describe only particular services; engineering work can also change the schedule. Compare the departure and arrival times shown for the same date, and check whether a result requires a change.
A direct train means you stay on the same train; it can still stop along the way. If you want to visit Zaragoza en route, search Madrid–Zaragoza and Zaragoza–Barcelona separately. An intermediate stop does not give you permission to leave the train and resume the trip later on the same ticket.
Atocha and Sants: plan the city transfers
Leaving Madrid
Use the full station name on your ticket when planning your transfer to Atocha. Madrid Chamartín is a different station and should not be substituted just because another Spanish route uses it. If you land at Madrid airport first, allow for airport formalities, the transfer to the booked station and the operator’s boarding deadline. Separately purchased flights and trains should not be treated as a protected connection.
Arriving in Barcelona
Barcelona Sants has onward Metro and local rail connections, but reaching a hotel in the Gothic Quarter or near the beach is another part of the trip. Check the local route before choosing a late arrival. For an airport connection, confirm the terminal and onward transport; Sants is not Barcelona airport.
Compare the full fare
Renfe’s AVE services, iryo and OUIGO are useful starting points for comparison. A low advertised fare does not establish that the same price is available on your day, or that all extras are included. Compare the amount payable for your whole party after any booking fees and selected extras.
- Bags: check the number, dimensions and weight of included items; a large suitcase may change the total.
- Seats: check whether selecting a particular seat is included or charged.
- Flexibility: compare the change fee, any fare difference and the cancellation refund, rather than relying on a class name.
- Connections: a slightly different departure may fit your hotel or airport transfer better than the cheapest train.
At the station, follow the operator’s arrival guidance, keep your ticket and identification accessible, and watch the departure boards for your train number. Do not assume a platform is fixed in advance. Search Madrid to Barcelona trains for your date, then verify the selected service before payment.
Booking through SpanishTrain
SpanishTrain, operated by WISE UP LIMITED, is an independent booking intermediary, not a railway operator or an authorised agent of the operators. Search results depend on supplier availability and may not include every operator or departure. The current service accepts adults aged 18 or over, with a maximum of four passengers per booking.
- Search your date and check both station names, the operator, stops and arrival time.
- Review the total price, baggage allowance and change or cancellation conditions before paying. Enter passenger details exactly as required for their travel documents.
- After payment, the request is reviewed and fulfilled manually. Payment is not an issued ticket, and no fixed ticket delivery time is guaranteed.
- Once the official operator e-ticket arrives by email, check the journey, passenger details, coach and seat. Keep it available for boarding with the required identification. If it has not arrived, contact support; a payment receipt is not valid for travel.
Plan the rest of your journey
- Madrid Train Stations: Atocha, Chamartín & Transfers
- Barcelona Sants Station: Trains, Airport & Transfers
- How to Book Spain Train Tickets & Compare Fares
- Renfe vs iryo vs OUIGO: Prices, Luggage & Tickets
Official sources and update
Reviewed on 11 October 2026. Consult the operator for date-specific timetables, disruptions and fare conditions.

