There are 7 ways to get from Madrid to Ain by train (Renfe, Ouigo), bus, train, car, plane, or train (Renfe, TGV)
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train via Barcelona
best- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-SantsAve
- Take the train from Barcelona-Sants to Lyon Part Dieu
- Take the train from Lyon Part Dieu to Bourg En BresseTer
11h 48m€104–273Bus
cheapest- Take the bus from Madrid to LyonFlixBus N748
- Take the bus from Lyon to Bourg-en-Bresse720 / ...
20h 5m€37–100Bus, train
- Take the bus from Madrid - South Station to Lyon - Perrache Bus StationBlaBlaCar Bus
- Take the train from Lyon Perrache to Bourg En BresseTer
20h 2m€64–184Drive 1,258.6 km
- Drive from Madrid to Ain1,258.6 km
12h 38m€196–283Fly to Lyon–Saint Exupéry Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Lyon–Saint Exupéry Airport (LYS)MAD - LYS
- Take the train from Lyon Part Dieu to Bourg En Bresse
7h 51m€87–219Train
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Avignon Tgv
- Take the train from Avignon Tgv to Lyon Part DieuTgv
- Take the train from Lyon Part Dieu to Bourg En BresseTer
12h 2m€122–192Fly to Geneva International Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Geneva International Airport (GVA)MAD - GVA
- Take the train from Geneve to Nurieux
7h 58m€95–316
Madrid to Ain by train and bus
Questions & Answers
The cheapest way to get from Madrid to Ain is to bus which costs €35 - €100 and takes 20h 5m.
The fastest way to get from Madrid to Ain is to fly and train which takes 7h 51m and costs €85 - €220.
No, there is no direct bus from Madrid to Ain. However, there are services departing from Madrid and arriving at Mairie via Lyon and Sémard Gare. The journey, including transfers, takes approximately 20h 5m.
No, there is no direct train from Madrid to Ain. However, there are services departing from Madrid-Puerta de Atocha-Almudena Grandes and arriving at Ceyzériat via Avignon Tgv, Lyon Part Dieu and Bourg En Bresse. The journey, including transfers, takes approximately 12h 2m.
The distance between Madrid and Ain is 1334 km. The road distance is 1258.6 km.
The best way to get from Madrid to Ain without a car is to train via Barcelona which takes 11h 48m and costs €100 - €280.
It takes approximately 11h 48m to get from Madrid to Ain, including transfers.
Madrid to Ain bus services, operated by FlixBus, depart from Madrid station.
Madrid to Ain train services, operated by Renfe Viajeros, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
The best way to get from Madrid to Ain is to train via Barcelona which takes 11h 48m and costs €100 - €280. Alternatively, you can bus, which costs €35 - €100 and takes 20h 5m.
What companies run services between Madrid, Spain and Ain, Auvergne-Rhône-Alpes, France?
You can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Mairie via Barcelona-Sants, Lyon Part Dieu, Bourg En Bresse, and Sémard Gare in around 11h 48m. Alternatively, you can take a bus from Madrid to Mairie via Lyon and Sémard Gare in around 20h 5m.
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Lyon–Saint Exupéry Airport
- Ave. Duration
- 1h 50m
- When
- Every day
- Estimated price
- €50–180
Flights from Adolfo Suárez Madrid–Barajas Airport to Lyon–Saint Exupéry Airport via Barcelona
- Ave. Duration
- 4h 25m
- When
- Monday, Friday, Saturday, and Sunday
- Estimated price
- €75–230
Flights from Adolfo Suárez Madrid–Barajas Airport to Geneva International Airport
- Ave. Duration
- 2h
- When
- Every day
- Estimated price
- €50–140
- Website
- vueling.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Lyon–Saint Exupéry Airport
- Ave. Duration
- 1h 50m
- When
- Every day
- Estimated price
- €50–180
Flights from Adolfo Suárez Madrid–Barajas Airport to Lyon–Saint Exupéry Airport via Barcelona
- Ave. Duration
- 4h 25m
- When
- Monday, Friday, Saturday, and Sunday
- Estimated price
- €75–230
Flights from Adolfo Suárez Madrid–Barajas Airport to Geneva International Airport
- Ave. Duration
- 2h
- When
- Every day
- Estimated price
- €50–140
- Website
- easyjet.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Lyon–Saint Exupéry Airport
- Ave. Duration
- 1h 50m
- When
- Monday, Wednesday, Thursday, Friday, and Sunday
- Estimated price
- €40–180
Flights from Adolfo Suárez Madrid–Barajas Airport to Geneva International Airport
- Ave. Duration
- 2h
- When
- Monday, Wednesday, Friday, and Sunday
- Estimated price
- €35–190
- Website
- volotea.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Lyon–Saint Exupéry Airport
- Ave. Duration
- 1h 45m
- When
- Monday, Tuesday, Wednesday, Thursday, Friday, and Sunday
- Estimated price
- €35–150
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Geneva International Airport
- Ave. Duration
- 1h 55m
- When
- Friday and Saturday
- Estimated price
- €75–240
Rome2Rio's guide to Renfe AVE
Contact Details
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 2h 37m
- Frequency
- Hourly
- Estimated price
- €45–180
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 2h 57m
- Frequency
- Hourly
- Estimated price
- €40–130
- Website
- https://iryo.eu/en/home
- Phone
- +34 910 780 990
- Website
- ouigo.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 2m
- Frequency
- Every 4 hours
- Estimated price
- €35–80
- Website
- https://www.ouigo.com/es/en
Rome2Rio's guide to Renfe Viajeros
Contact Details
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 4m
- Frequency
- Twice daily
- Estimated price
- €45–65
- Website
- https://www.renfe.com/es/en
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Once daily
- Estimated price
- €50–75
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Avignon Tgv
- Ave. Duration
- 7h 37m
- Frequency
- Once daily
- Estimated price
- €85–120
- Website
- https://www.renfe.com/es/en
- Phone
- +33 1 84 94 36 35
- Website
- track.effiliation.com
Train from Lyon Part Dieu to Bourg En Bresse
- Ave. Duration
- 1h
- Frequency
- Hourly
- Estimated price
- €16
- Website
- https://track.effiliation.com/servlet/effi.redir?id_compteur=23007591&url=https%3A%2F%2Fwww.sncf-connect.com%2Fen-en%2F
Train from Lyon Perrache to Bourg En Bresse
- Ave. Duration
- 1h 11m
- Frequency
- Hourly
- Estimated price
- €11–24
- Website
- https://track.effiliation.com/servlet/effi.redir?id_compteur=23007591&url=https%3A%2F%2Fwww.sncf-connect.com%2Fen-en%2F
- 2nd Class
- €11–16
- Rail 1st Class
- €17–24
Train from Avignon Tgv to Lyon Part Dieu
- Ave. Duration
- 1h 5m
- Frequency
- Once daily
- Estimated price
- €44
- Website
- https://track.effiliation.com/servlet/effi.redir?id_compteur=23007591&url=https%3A%2F%2Fwww.sncf-connect.com%2Fen-en%2F
- Phone
- +33 1 84 94 36 35
- Website
- sncf-connect.com
Train from Avignon Tgv to Lyon Part Dieu
- Ave. Duration
- 1h 4m
- Frequency
- Hourly
- Estimated price
- €30–60
- Website
- https://www.sncf-connect.com/en-en
Train from Geneve to Nurieux
- Ave. Duration
- 54 min
- Frequency
- Twice a week
- Estimated price
- €35–120
- Website
- https://www.sncf-connect.com/en-en
- Phone
- +39.06.5210550
- Website
- trenitalia.com
Train from Avignon Tgv to Lyon Part Dieu
- Ave. Duration
- 1h 8m
- Frequency
- Once daily
- Estimated price
- €17–60
- Website
- https://www.trenitalia.com/en.html
- Phone
- +33 2 22 55 00 10
- nomad-car@laregionnormandie.fr
- Website
- nomad.normandie.fr
Train from Avignon Tgv to Lyon Part Dieu
- Ave. Duration
- 1h 14m
- Frequency
- 5 times a week
- Schedules at
- nomad.normandie.fr
- Phone
- +3-389-268-0068
- Website
- blablacar.co.uk
Bus from Madrid - South Station to Lyon - Perrache Bus Station
- Ave. Duration
- 16h 45m
- Frequency
- Twice daily
- Estimated price
- €50–160
- Website
- https://www.blablacar.co.uk/bus
- Phone
- +49 30 300 137 300
- service@flixbus.com
- Website
- flixbus.fr
Bus from Madrid to Lyon
- Ave. Duration
- 16h 40m
- Frequency
- Once daily
- Estimated price
- €27–85
- Website
- https://www.flixbus.co.uk
Bus from Lyon to Bourg-en-Bresse
- Ave. Duration
- 55 min
- Frequency
- Once daily
- Estimated price
- €7–11
- Website
- https://www.flixbus.co.uk
Want to know more about travelling around France
Rome2Rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.
Related travel guides
5 delightfully under-the-radar French towns you need to visit
Read the travel guide
Train travel in Spain: A guide to Renfe
Read the travel guide
What are the different types of Renfe trains in Spain?
Read the travel guide
More Questions & Answers
Madrid to Ain bus services, operated by FlixBus, arrive at Lyon station.
Madrid to Ain train services, operated by Renfe Viajeros, arrive at Avignon Tgv station.
Yes, the driving distance between Madrid to Ain is 1259 km. It takes approximately 12h 38m to drive from Madrid to Ain.
Book your Madrid to Ain train tickets online with Omio.
There are 338+ hotels available in Ain.



































