There are 11 ways to get from Madrid to San Marino by plane, train, 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 25m€96–288Fly 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 15m€83–305Train, bus
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Marseille St Charlestrain
- Take the bus from Marseille, Gare de Marseille-Saint-Charles to Reggio Emilia AV Mediopadanabus 482
- Take the train from Reggio Emilia Av to Riminitrain Fr
- Take the bus from Rimini FS to Via Dognanabus 16
21h 56m€227–368Train, bus via Barcelona
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain Ave
- Take the train from Barcelona-Sants to Perpignantrain Tgv
- Take the bus from Perpignan - Bus Station to Montpellier - Sabines Bus Stationbus
- Take the bus from Montpellier to Reggio Emilia AV Mediopadanabus 482
- Take the train from Reggio Emilia Av to Riminitrain Fr
- Take the bus from Rimini FS to Via Dognanabus 16
24h 10m€185–421Drive 1,813.1 km
- Drive from Madrid to San Marinocar 1,813.1 km
17h 53m€284–410Fly 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
8h 13m€116–284Fly 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 24m€107–340Fly 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 36m€114–391Bus
- Take the bus from Madrid to Milanbus FlixBus N1138
- Take the bus from Milan to Riminibus FlixBus 421
30h 47m€171–285Bus, train
- Take the bus from Méndez Álvaro Estación Sur to Padovabus
- Take the train from Padova to Riminitrain Fr
- Take the bus from Rimini FS to Via Dognanabus 16
32h 21m€165–228Bus, train via Nice Airport (NCE)
- Take the bus from Estación Sur de Autobuses to Nice - Airport Bus Station Terminal 1bus
- Take the train from Nice Saint-Augustin to Ventimigliatrain C3
- Take the train from Ventimiglia to Pietra Liguretrain Re
- Take the bus from Savona to Rimini Nordbus
39h 51m€186–324
Madrid to San Marino by train and bus
Questions & Answers
The cheapest way to get from Madrid to San Marino is to fly and train which costs €95 - €290 and takes 7h 25m.
The fastest way to get from Madrid to San Marino is to fly and train which takes 7h 25m and costs €95 - €290.
No, there is no direct bus from Madrid to San Marino. However, there are services departing from Madrid and arriving at Torello via Milan, Rimini Centro Studi and Via Marecchiese. The journey, including transfers, takes approximately 30h 47m.
The distance between Madrid and San Marino is 1449 km. The road distance is 1813.1 km.
The best way to get from Madrid to San Marino without a car is to train and bus which takes 21h 56m and costs €220 - €370.
It takes approximately 7h 25m 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 bus services, operated by FlixBus, arrive at Milan station.
Yes, the driving distance between Madrid to San Marino is 1813 km. It takes approximately 17h 53m to drive from Madrid to San Marino.
There are 3146+ hotels available in San Marino.
What companies run services between Madrid, Spain and San Marino?
You can take a bus from Madrid to Torello via Milan, Rimini Centro Studi, Via Marzabotto, and Via Marecchiese in around 30h 47m.
- 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–140
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–140
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 Frecce
Train from Bologna Centrale to Rimini
- Ave. Duration
- 56 min
- Frequency
- Hourly
- Estimated price
- €16–35
- Schedules at
- Trenitalia Frecce
Train from Reggio Emilia Av to Rimini
- Ave. Duration
- 1h 18m
- Frequency
- Hourly
- Estimated price
- €26–55
- Schedules at
- Trenitalia Frecce
Train from Reggio Emilia Av to Rimini
- Ave. Duration
- 1h 18m
- Frequency
- Hourly
- Estimated price
- €26–55
- Schedules at
- Trenitalia Frecce
Train from Falconara Marittima to Rimini
- Ave. Duration
- 44 min
- Frequency
- 3 times a day
- Estimated price
- €12–25
- Schedules at
- Trenitalia Frecce
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 37 min
- Frequency
- Every 15 minutes
- Estimated price
- €13–27
- Schedules at
- Trenitalia Frecce
Train from Bologna Centrale to Rimini
- Ave. Duration
- 56 min
- Frequency
- Hourly
- Estimated price
- €16–35
- Schedules at
- Trenitalia Frecce
Train from Venezia Mestre to Bologna Centrale
- Ave. Duration
- 1h 21m
- Frequency
- Every 30 minutes
- Estimated price
- €22–45
- Schedules at
- Trenitalia Frecce
Train from Bologna Centrale to Rimini
- Ave. Duration
- 56 min
- Frequency
- Hourly
- Estimated price
- €16–35
- Schedules at
- Trenitalia Frecce
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 37 min
- Frequency
- Every 15 minutes
- Estimated price
- €13–27
- Schedules at
- Trenitalia Frecce
Train from Bologna Centrale to Rimini
- Ave. Duration
- 56 min
- Frequency
- Hourly
- Estimated price
- €16–35
- Schedules at
- Trenitalia Frecce
Train from Padova to Rimini
- Ave. Duration
- 2h 20m
- Frequency
- 5 times a day
- Estimated price
- €35–70
- Schedules at
- Trenitalia Frecce
- Phone
- +39 06 68475475
- Website
- Trenitalia Intercity
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 13m
- Frequency
- Hourly
- Estimated price
- €11–25
- Website
- Trenitalia Intercity
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 1h 17m
- Frequency
- 3 times a day
- Estimated price
- €9–20
- Website
- Trenitalia Intercity
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 13m
- Frequency
- Hourly
- Estimated price
- €11–25
- Website
- Trenitalia Intercity
Train from Venezia Mestre to Bologna Centrale
- Ave. Duration
- 1h 38m
- Frequency
- 4 times a day
- Estimated price
- €16–35
- Website
- Trenitalia Intercity
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 13m
- Frequency
- Hourly
- Estimated price
- €11–25
- Website
- Trenitalia Intercity
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 1h 17m
- Frequency
- 3 times a day
- Estimated price
- €9–20
- Website
- Trenitalia Intercity
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 13m
- Frequency
- Hourly
- Estimated price
- €11–25
- Website
- Trenitalia Intercity
Train from Ventimiglia to Pietra Ligure
- Ave. Duration
- 1h 12m
- Frequency
- 6 times a week
- Estimated price
- €8–17
- Website
- Trenitalia Intercity
- Phone
- +39.06.5210550
- Website
- Trenitalia
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 31m
- Frequency
- Every 3 hours
- Estimated price
- €13–23
- Website
- Trenitalia
Train from Falconara Marittima to Rimini
- Ave. Duration
- 1h 10m
- Frequency
- Hourly
- Estimated price
- €10–17
- Website
- Trenitalia
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 1h 28m
- Frequency
- 4 times a day
- Estimated price
- €11–19
- Website
- Trenitalia
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 31m
- Frequency
- Every 3 hours
- Estimated price
- €13–23
- Website
- Trenitalia
Train from Venezia Mestre to Bologna Centrale
- Ave. Duration
- 1h 47m
- Frequency
- Hourly
- Estimated price
- €19–35
- Website
- Trenitalia
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 31m
- Frequency
- Every 3 hours
- Estimated price
- €13–23
- Website
- Trenitalia
Train from Pisa Centrale to Firenze S.M.N.
- Ave. Duration
- 1h 22m
- Frequency
- Every 15 minutes
- Estimated price
- €9–16
- Website
- Trenitalia
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 1h 28m
- Frequency
- 4 times a day
- Estimated price
- €11–19
- Website
- Trenitalia
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 31m
- Frequency
- Every 3 hours
- Estimated price
- €13–23
- Website
- Trenitalia
Train from Ventimiglia to Pietra Ligure
- Ave. Duration
- 1h 28m
- Frequency
- Every 30 minutes
- Estimated price
- €9–15
- Website
- Trenitalia
- Phone
- +49 30 2970
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 8m
- Frequency
- Once daily
- Estimated price
- €20–90
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 8m
- Frequency
- Once daily
- Estimated price
- €20–90
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 8m
- Frequency
- Once daily
- Estimated price
- €20–90
- Website
- Deutsche Bahn Intercity (DB IC)
Train from Bologna Centrale to Rimini
- Ave. Duration
- 1h 8m
- Frequency
- Once daily
- Estimated price
- €20–90
- Website
- Deutsche Bahn Intercity (DB IC)
Rome2Rio's guide to Renfe Viajeros
Contact DetailsContact Details
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Marseille St Charles
- Ave. Duration
- 8h 42m
- Frequency
- Twice daily
- Estimated price
- €140–230
- Website
- Renfe Viajeros
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
- Renfe Viajeros
Train from Barcelona-Sants to Perpignan
- Ave. Duration
- 1h 23m
- Frequency
- 4 times a day
- Estimated price
- €23–35
- Website
- Renfe Viajeros
Rome2Rio's guide to Renfe AVE
Contact DetailsContact Details
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 22m
- Frequency
- Every 30 minutes
- Estimated price
- €95–170
- Website
- Renfe AVE
- Phone
- +34 900 926 851
- [email protected]
- Website
- Iryo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 31m
- Frequency
- Hourly
- Estimated price
- €60–130
- Website
- Iryo
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 23m
- Frequency
- Every 2 hours
- Estimated price
- €55–100
- Website
- Ouigo
- Phone
- +33 1 84 94 36 35
- Website
- TGV inOui
Train from Barcelona-Sants to Perpignan
- Ave. Duration
- 1h 26m
- Frequency
- 5 times a day
- Estimated price
- €35–60
- Website
- TGV inOui
- Phone
- +39 06 8937 1892
- Website
- Italo Treno
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 45 min
- Frequency
- 4 times a day
- Estimated price
- €11–23
- Website
- Italo Treno
Train from Venezia Mestre to Bologna Centrale
- Ave. Duration
- 1h 22m
- Frequency
- Hourly
- Estimated price
- €19–40
- Website
- Italo Treno
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 45 min
- Frequency
- 4 times a day
- Estimated price
- €11–23
- Website
- Italo Treno
- Phone
- +39 06 68475475
- [email protected]
- Website
- Trenitalia Eurocity
Train from Firenze S.M.N. to Bologna Centrale
- Ave. Duration
- 1h 12m
- Frequency
- Twice daily
- Estimated price
- €27–70
- Website
- Trenitalia Eurocity
- 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
- Trenitalia Eurocity
- 1st Class
- €45–70
- 2nd Class
- €27–40
- Phone
- +33 4 13 94 30 50
- Website
- ZOU!
Train from Nice Saint-Augustin to Ventimiglia
- Ave. Duration
- 1h 2m
- Frequency
- Every 30 minutes
- Schedules at
- ZOU!
- Phone
- +33 4 13 94 30 50
- Website
- Zou! Lignes Express Régionales
Train from Nice Saint-Augustin to Ventimiglia
- Ave. Duration
- 1h 7m
- Frequency
- Hourly
- Estimated price
- €10–21
- Website
- Zou! Lignes Express Régionales
- Phone
- +49 30 300 137 300
- [email protected]
- Website
- Flixbus
Bus from Marseille, Gare de Marseille-Saint-Charles to Reggio Emilia AV Mediopadana
- Ave. Duration
- 8h 40m
- Frequency
- Once daily
- Estimated price
- €50–85
- Website
- Flixbus
Bus from Perpignan - Bus Station to Montpellier - Sabines Bus Station
- Ave. Duration
- 2h 20m
- Frequency
- Hourly
- Estimated price
- €12–22
- Website
- Flixbus
Bus from Montpellier to Reggio Emilia AV Mediopadana
- Ave. Duration
- 11h 10m
- Frequency
- Once daily
- Estimated price
- €65–110
- Website
- Flixbus
Bus from Madrid to Milan
- Ave. Duration
- 23h 5m
- Frequency
- Once daily
- Estimated price
- €140–230
- Website
- Flixbus
Bus from Milan to Rimini
- Ave. Duration
- 4h 40m
- Frequency
- Twice daily
- Estimated price
- €28–50
- Website
- Flixbus
- Phone
- 0541 300811
- [email protected]
- Website
- startromagna.it
Bus from Rimini FS to Via Dognana
- Ave. Duration
- 32 min
- Frequency
- Hourly
- Estimated price
- €4–7
- Schedules at
- startromagna.it
- 2nd Class
- €4–7
Bus from Rimini FS to Via Dognana
- Ave. Duration
- 32 min
- Frequency
- Hourly
- Estimated price
- €4–7
- Schedules at
- startromagna.it
- 2nd Class
- €4–7
Bus from Rimini FS to Via Dognana
- Ave. Duration
- 32 min
- Frequency
- Hourly
- Estimated price
- €4–7
- Schedules at
- startromagna.it
- 2nd Class
- €4–7
- Phone
- +3 318 576 2228
- Website
- BlaBlaCar Bus
Bus from Perpignan - Bus Station to Montpellier - Sabines Bus Station
- Ave. Duration
- 2h 25m
- Frequency
- Hourly
- Estimated price
- €13–24
- Website
- BlaBlaCar Bus
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
- BlaBlaCar Bus
- Phone
- +34 910 207 007
- Website
- alsa.es
Bus from Perpignan - Bus Station to Montpellier - Sabines Bus Station
- Ave. Duration
- 1h 55m
- Frequency
- Twice daily
- Estimated price
- €12–19
- Schedules at
- alsa.es
- Phone
- +39 06 88 93 82 32
- Website
- Itabus S.p.A.
Bus from Perpignan - Bus Station to Montpellier - Sabines Bus Station
- Ave. Duration
- 1h 50m
- Frequency
- Once daily
- Estimated price
- €9–19
- Website
- Itabus S.p.A.
- 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
- Phone
- +39 0871 344976
- [email protected]
- Website
- satambus.it
Bus from Savona to Rimini Nord
- Ave. Duration
- 13h 23m
- Frequency
- Once daily
- Estimated price
- €35–55
- Schedules at
- satambus.it
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

































































