There are 10 ways to get from Madrid to San Marino by plane, train, train (Renfe, Ouigo, Trenitalia), bus, or car
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Fly to Bologna Guglielmo Marconi Airport, train
best- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Bologna Guglielmo Marconi Airport (BLQ)plane MAD - BLQ
- Take the train from Bologna Centrale to Riminitrain
7h 10m€96–297Fly to Venice Marco Polo Airport, train
cheapest- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Venice Marco Polo Airport (VCE)plane MAD - VCE
- Take the train from Venezia Mestre to Bologna Centraletrain
- Take the train from Bologna Centrale to Riminitrain
9h€88–304Train
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain Ave
- Take the train from Barcelona-Sants to Lyon Part Dieutrain
- Take the train from Lyon Part Dieu to Milano Centraletrain Fr
- Take the train from Milano Centrale to Reggio Emilia Avtrain Fr
- Take the train from Reggio Emilia Av to Riminitrain Fr
18h 39m€240–490Bus
- Take the bus from Madrid to Milanbus FlixBus N1138
- Take the bus from Milan to Riminibus FlixBus 421
29h 2m€171–286Drive 1,814.1 km
- Drive from Madrid to Serravallecar 1,814.1 km
17h 43m€287–414Fly to Raffaello Sanzio Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Raffaello Sanzio Airport (AOI)plane MAD - AOI
- Take the train from Falconara Marittima to Riminitrain
7h 58m€115–293Fly to Florence Peretola Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Florence Peretola Airport (FLR)plane MAD - FLR
- Take the train from Firenze S.M.N. to Bologna Centraletrain
- Take the train from Bologna Centrale to Riminitrain
8h 9m€107–339Fly to Pisa International Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Pisa International Airport (PSA)plane MAD - PSA
- Take the train from Pisa Centrale to Firenze S.M.N.train
- Take the train from Firenze S.M.N. to Bologna Centraletrain
- Take the train from Bologna Centrale to Riminitrain
9h 21m€114–400Bus, train via Nice Airport (NCE)
- Take the bus from Estación Sur de Autobuses to Nice - Airport Bus Station Terminal 1bus
- Take the bus from Nice Airport to Bologna Centralebus
- Take the train from Bologna Centrale to Riminitrain Fr
31h 17m€198–410Bus, train
- Take the bus from Méndez Álvaro Estación Sur to Padovabus
- Take the train from Padova to Riminitrain Fr
32h 16m€184–246
Madrid to San Marino by bus, foot, train, and shuttle
Questions & Answers
The cheapest way to get from Madrid to San Marino is to fly and train which costs €95 - €300 and takes 7h 10m.
The fastest way to get from Madrid to San Marino is to fly and train which takes 7h 10m and costs €95 - €300.
No, there is no direct bus from Madrid to San Marino. However, there are services departing from Madrid and arriving at Rimini via Milan. The journey, including transfers, takes approximately 29h 2m.
No, there is no direct train from Madrid to San Marino. However, there are services departing from Madrid-Puerta de Atocha-Almudena Grandes and arriving at Rimini via Barcelona-Sants, Lyon Part Dieu, Milano Centrale and Reggio Emilia Av. The journey, including transfers, takes approximately 18h 39m.
The distance between Madrid and San Marino is 1439 km. The road distance is 1814.1 km.
The best way to get from Madrid to San Marino without a car is to bus and train via Nice Airport (NCE) which takes 31h 17m and costs €190 - €410.
It takes approximately 7h 10m to get from Madrid to San Marino, including transfers.
Madrid to San Marino bus services, operated by FlixBus, depart from Madrid station.
Madrid to San Marino train services, operated by Renfe AVE, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
The best way to get from Madrid to San Marino is to train which takes 18h 39m and costs €240 - €490. Alternatively, you can bus, which costs €170 - €290 and takes 29h 2m.
What companies run services between Madrid, Spain and San Marino?
You can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Serravalle via Barcelona-Sants, Lyon Part Dieu, Milano Centrale, Reggio Emilia Av, and Rimini in around 18h 39m. Alternatively, you can take a bus from Madrid to Serravalle via Milan and Rimini in around 29h 2m.
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Bologna Guglielmo Marconi Airport
- Ave. Duration
- 2h 20m
- When
- Every day
- Estimated price
- €65–150
Flights from Adolfo Suárez Madrid–Barajas Airport to Bologna Guglielmo Marconi Airport via Barcelona
- Ave. Duration
- 4h 45m
- When
- Thursday
- Estimated price
- €45–180
Flights from Adolfo Suárez Madrid–Barajas Airport to Florence Peretola Airport
- Ave. Duration
- 2h 22m
- When
- Every day
- Estimated price
- €55–140
Flights from Adolfo Suárez Madrid–Barajas Airport to Florence Peretola Airport via Barcelona
- Ave. Duration
- 4h 10m
- When
- Every day
- Estimated price
- €55–140
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 28m
- When
- Every day
- Estimated price
- €50–150
- Website
- vueling.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Bologna Guglielmo Marconi Airport
- Ave. Duration
- 2h 20m
- When
- Every day
- Estimated price
- €65–150
Flights from Adolfo Suárez Madrid–Barajas Airport to Bologna Guglielmo Marconi Airport via Barcelona
- Ave. Duration
- 4h 45m
- When
- Thursday
- Estimated price
- €45–180
Flights from Adolfo Suárez Madrid–Barajas Airport to Florence Peretola Airport
- Ave. Duration
- 2h 22m
- When
- Every day
- Estimated price
- €55–140
Flights from Adolfo Suárez Madrid–Barajas Airport to Florence Peretola Airport via Barcelona
- Ave. Duration
- 4h 10m
- When
- Every day
- Estimated price
- €55–140
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 28m
- When
- Every day
- Estimated price
- €50–150
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Bologna Guglielmo Marconi Airport
- Ave. Duration
- 2h 20m
- When
- Monday, Tuesday, Wednesday, Thursday, Friday, and Sunday
- Estimated price
- €55–160
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 22m
- When
- Every day
- Estimated price
- €40–150
Flights from Adolfo Suárez Madrid–Barajas Airport to Pisa International Airport
- Ave. Duration
- 2h 15m
- When
- Monday, Friday, Saturday, and Sunday
- Estimated price
- €55–170
Flights from Adolfo Suárez Madrid–Barajas Airport to Pisa International Airport via Ibiza
- Ave. Duration
- 3h 55m
- When
- Monday to Friday
- Estimated price
- €55–170
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Bologna Guglielmo Marconi Airport
- Ave. Duration
- 2h 15m
- When
- Monday, Thursday, and Saturday
- Estimated price
- €50–150
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 25m
- When
- Every day
- Estimated price
- €60–160
- Website
- volotea.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Raffaello Sanzio Airport
- Ave. Duration
- 2h 20m
- When
- Sunday
- Estimated price
- €60–200
- Website
- lufthansa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Raffaello Sanzio Airport via Munich
- Ave. Duration
- 4h 40m
- When
- Every day
- Estimated price
- €130–450
- Website
- flyulendo.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Venice Marco Polo Airport
- Ave. Duration
- 2h 35m
- When
- Tuesday, Thursday, Saturday, and Sunday
- Estimated price
- €29–110
- Phone
- +39 06 68475475
- Website
- trenitalia.com
Train from Bologna Centrale to Rimini
- Ave. Duration
- 56 min
- Frequency
- Hourly
- Estimated price
- €16–35
- Schedules at
- trenitalia.com
Train from Milano Centrale to Reggio Emilia Av
- Ave. Duration
- 44 min
- Frequency
- Every 30 minutes
- Estimated price
- €22–45
- Schedules at
- trenitalia.com
Train from Reggio Emilia Av to Rimini
- Ave. Duration
- 1h 18m
- Frequency
- Hourly
- Estimated price
- €26–55
- Schedules at
- trenitalia.com
Train from Falconara Marittima to Rimini
- Ave. Duration
- 44 min
- Frequency
- 3 times a day
- Estimated price
- €12–25
- Schedules at
- trenitalia.com
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 37 min
- Frequency
- Every 15 minutes
- Estimated price
- €13–27
- Schedules at
- trenitalia.com
Train from Bologna Centrale to Rimini
- Ave. Duration
- 56 min
- Frequency
- Hourly
- Estimated price
- €16–35
- Schedules at
- trenitalia.com
Train from Venezia Mestre to Bologna Centrale
- Ave. Duration
- 1h 21m
- Frequency
- Every 30 minutes
- Estimated price
- €22–45
- Schedules at
- trenitalia.com
Train from Bologna Centrale to Rimini
- Ave. Duration
- 56 min
- Frequency
- Hourly
- Estimated price
- €16–35
- Schedules at
- trenitalia.com
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 37 min
- Frequency
- Every 15 minutes
- Estimated price
- €13–27
- Schedules at
- trenitalia.com
Train from Bologna Centrale to Rimini
- Ave. Duration
- 56 min
- Frequency
- Hourly
- Estimated price
- €16–35
- Schedules at
- trenitalia.com
Train from Bologna Centrale to Rimini
- Ave. Duration
- 56 min
- Frequency
- Hourly
- Estimated price
- €16–35
- Schedules at
- trenitalia.com
Train from Padova to Rimini
- Ave. Duration
- 2h 20m
- Frequency
- 5 times a day
- Estimated price
- €35–70
- Schedules at
- trenitalia.com
- Phone
- +39 06 68475475
- Website
- trenitalia.com
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 13m
- Frequency
- Hourly
- Estimated price
- €12–25
- Website
- https://www.trenitalia.com/en.html
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 1h 17m
- Frequency
- 3 times a day
- Estimated price
- €9–20
- Website
- https://www.trenitalia.com/en.html
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 13m
- Frequency
- Hourly
- Estimated price
- €12–25
- Website
- https://www.trenitalia.com/en.html
Train from Venezia Mestre to Bologna Centrale
- Ave. Duration
- 1h 38m
- Frequency
- 4 times a day
- Estimated price
- €16–35
- Website
- https://www.trenitalia.com/en.html
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 13m
- Frequency
- Hourly
- Estimated price
- €12–25
- Website
- https://www.trenitalia.com/en.html
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 1h 17m
- Frequency
- 3 times a day
- Estimated price
- €9–20
- Website
- https://www.trenitalia.com/en.html
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 13m
- Frequency
- Hourly
- Estimated price
- €12–25
- Website
- https://www.trenitalia.com/en.html
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 13m
- Frequency
- Hourly
- Estimated price
- €12–25
- Website
- https://www.trenitalia.com/en.html
- Phone
- +39.06.5210550
- Website
- trenitalia.com
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 31m
- Frequency
- Every 3 hours
- Estimated price
- €13–23
- Website
- https://www.trenitalia.com/en.html
Train from Lyon Part Dieu to Milano Centrale
- Ave. Duration
- 4h 44m
- Frequency
- 4 times a day
- Estimated price
- €55–90
- Website
- https://www.trenitalia.com/en.html
Train from Falconara Marittima to Rimini
- Ave. Duration
- 1h 10m
- Frequency
- Hourly
- Estimated price
- €10–17
- Website
- https://www.trenitalia.com/en.html
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 1h 28m
- Frequency
- 4 times a day
- Estimated price
- €11–19
- Website
- https://www.trenitalia.com/en.html
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 31m
- Frequency
- Every 3 hours
- Estimated price
- €13–23
- Website
- https://www.trenitalia.com/en.html
Train from Venezia Mestre to Bologna Centrale
- Ave. Duration
- 1h 47m
- Frequency
- Hourly
- Estimated price
- €19–35
- Website
- https://www.trenitalia.com/en.html
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 31m
- Frequency
- Every 3 hours
- Estimated price
- €13–23
- Website
- https://www.trenitalia.com/en.html
Train from Pisa Centrale to Firenze S.M.N.
- Ave. Duration
- 1h 22m
- Frequency
- Every 15 minutes
- Estimated price
- €9–16
- Website
- https://www.trenitalia.com/en.html
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 1h 28m
- Frequency
- 4 times a day
- Estimated price
- €11–19
- Website
- https://www.trenitalia.com/en.html
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 31m
- Frequency
- Every 3 hours
- Estimated price
- €13–23
- Website
- https://www.trenitalia.com/en.html
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 31m
- Frequency
- Every 3 hours
- Estimated price
- €13–23
- Website
- https://www.trenitalia.com/en.html
- Phone
- +49 30 2970
- Website
- bahn.de
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 8m
- Frequency
- Once daily
- Estimated price
- €20–90
- Website
- https://int.bahn.de/en
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 8m
- Frequency
- Once daily
- Estimated price
- €20–90
- Website
- https://int.bahn.de/en
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 8m
- Frequency
- Once daily
- Estimated price
- €20–90
- Website
- https://int.bahn.de/en
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 8m
- Frequency
- Once daily
- Estimated price
- €20–90
- Website
- https://int.bahn.de/en
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 8m
- Frequency
- Once daily
- Estimated price
- €20–90
- Website
- https://int.bahn.de/en
Rome2Rio's guide to Renfe AVE
Contact DetailsContact Details
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 22m
- Frequency
- Every 30 minutes
- Estimated price
- €95–170
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- [email protected]
- Website
- iryo.eu
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 31m
- Frequency
- Hourly
- Estimated price
- €60–130
- Website
- https://iryo.eu/en/home
- Phone
- +34 900 759 781
- Website
- ouigo.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 23m
- Frequency
- Every 2 hours
- Estimated price
- €55–100
- Website
- https://www.ouigo.com/es/en
Rome2Rio's guide to Renfe Viajeros
Contact DetailsContact Details
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 29m
- Frequency
- 4 times a day
- Estimated price
- €75–120
- Website
- https://www.renfe.com/es/en
Train from Barcelona-Sants to Lyon Part Dieu
- Ave. Duration
- 5h 6m
- Frequency
- Twice daily
- Estimated price
- €80–130
- Website
- https://www.renfe.com/es/en
- Phone
- +39 06 8937 1892
- Website
- italotreno.it
Train from Milano Centrale to Reggio Emilia Av
- Ave. Duration
- 1h 5m
- Frequency
- Once daily
- Estimated price
- €19–40
- Website
- https://www.italotreno.it/en
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 45 min
- Frequency
- 4 times a day
- Estimated price
- €11–23
- Website
- https://www.italotreno.it/en
Train from Venezia Mestre to Bologna Centrale
- Ave. Duration
- 1h 22m
- Frequency
- Hourly
- Estimated price
- €19–40
- Website
- https://www.italotreno.it/en
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 45 min
- Frequency
- 4 times a day
- Estimated price
- €11–23
- Website
- https://www.italotreno.it/en
- Phone
- +39 06 68475475
- [email protected]
- Website
- trenitalia.com
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 1h 12m
- Frequency
- Twice daily
- Estimated price
- €27–70
- Website
- https://www.trenitalia.com/en.html
- 1st Class
- €45–70
- 2nd Class
- €27–40
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 1h 12m
- Frequency
- Twice daily
- Estimated price
- €27–70
- Website
- https://www.trenitalia.com/en.html
- 1st Class
- €45–70
- 2nd Class
- €27–40
- Phone
- +49 30 300 137 300
- [email protected]
- Website
- https://www.flixbus.fr
Bus from Madrid to Milan
- Ave. Duration
- 23h 5m
- Frequency
- Once daily
- Estimated price
- €140–240
- Website
- https://www.flixbus.co.uk
Bus from Milan to Rimini
- Ave. Duration
- 4h 40m
- Frequency
- Twice daily
- Estimated price
- €28–50
- Website
- https://www.flixbus.co.uk
Bus from Nice Airport to Bologna Centrale
- Ave. Duration
- 6h 50m
- Frequency
- Once daily
- Estimated price
- €35–70
- Website
- https://www.flixbus.co.uk
- Phone
- +3 318 576 2228
- Website
- blablacar.co.uk
Bus from Estación Sur de Autobuses to Nice - Airport Bus Station Terminal 1
- Ave. Duration
- 20h 45m
- Frequency
- Once daily
- Estimated price
- €120–230
- Website
- https://www.blablacar.co.uk/bus
- Phone
- +4-0263-21.55.00
- Website
- tabitatour.ro
Bus from Méndez Álvaro Estación Sur to Padova
- Ave. Duration
- 27h 34m
- Frequency
- Once a week
- Estimated price
- €120–160
- Schedules at
- tabitatour.ro
Want to know more about travelling around San Marino
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
Italy Travel Guides
Read the travel guide
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
More Questions & Answers
Madrid to San Marino bus services, operated by FlixBus, arrive at Milan station.
Madrid to San Marino train services, operated by Renfe AVE, arrive at Barcelona-Sants station.
Yes, the driving distance between Madrid to San Marino is 1814 km. It takes approximately 17h 43m to drive from Madrid to San Marino.
There are 3397+ hotels available in San Marino.















































