Viajá con Gus
Home › San Marino › City of San Marino
City of San Marino
🇸🇲 San Marino · Mount Titano and the capital

City of San Marino

🪪 What do I need to enter San Marino?Pick your citizenship and we tell you the visa, the days and the paperwork, with the official source.

By leaving your email and citizenship you agree to receive the documents you asked for and weekly travel news. You can unsubscribe whenever you want. How we handle your data.
Jump to what you need
📍Region
The City of San Marino (Città di San Marino) is the capital of the Republic of San Marino, the smallest and oldest independent country in Europe after the Vatican and Monaco. It stands on the summit of Mount Titano, about 750 metres up, right in the heart of Italy but as a sovereign state surrounded by the Italian regions of Emilia-Romagna and Marche. Its historic centre, together with Mount Titano, has been a UNESCO World Heritage Site since 2008. It is a small city (barely about 4,000 inhabitants in the capital municipality) but it carries the dignity of a state capital: here you will find the Parliament, the government and the institutions of the oldest republic in the world.
📌Service town
The capital itself concentrates the tourist services: tourist office, state museums, restaurants and shops. San Marino has no airport or train station; the nearest airport is Federico Fellini in Rimini (RMI, about 20 km away), followed by Bologna (BLQ, about 130 km away). You get there by car or by bus from Rimini (Italy), in about 50 minutes. Since the historic centre sits at the top of Titano and is pedestrianised, many visitors leave the car in the car parks on the slope or arrive on the funivia (cable car) from Borgo Maggiore. The hospital, banks, post office and all services are in the capital or in the nearby castelli.
📌Best time
Spring (April to June) and early autumn (September) are ideal: pleasant weather, clear skies for the views from Titano and smaller crowds. Summer (July and August) is high season, with plenty of sun but also day-trippers coming up from the Rimini coast; it pays to get there early. In summer the picturesque Changing of the Guard takes place in front of the Palazzo Pubblico (mid-June to mid-September). Winter is quiet, sometimes with fog or snow that gives the mountain a magical feel, although some attractions cut back their opening hours. The mountain climate can be windy and cool all year round: always bring a jacket.
📌Suggested days
The historic centre of the capital is easy to cover in a day, and many people even visit it as a half-day trip from Rimini. A full day covers the must-sees: Piazza della Libertà and the Palazzo Pubblico with the Changing of the Guard, the Basilica del Santo, the State Museum, the cobbled streets with their shops and the viewpoints over the valley. To also climb the Three Towers at a relaxed pace, get your passport stamped and visit Borgo Maggiore by funivia, the ideal is a full day or two days with one night's stay, which lets you enjoy the old town at sunset, when the crowds leave and the mountain falls silent.
💱 USD exchange rate
Loading rate…
🌤️ Weather in City of San Marino
Loading weather…

Few places in the world have the personality of the City of San Marino. Perched on the rocky ridges of Mount Titano, it is the capital of the oldest sovereign republic on the planet, an independent state that according to tradition was born in the year 301 and has managed to keep its freedom for more than seventeen centuries, completely surrounded by Italy. Walking its cobbled streets, among medieval walls, crenellated towers and balconies with views stretching all the way to the Adriatic Sea, is a glimpse into a unique story of stubborn independence.

Its heart is Piazza della Libertà, presided over by the Palazzo Pubblico, the seat of government, where in summer the colourful Changing of the Guard takes place with the historic uniforms of the Guard of the Rock. A few steps away stands the neoclassical Basilica del Santo, dedicated to Saint Marinus, the stonemason who founded the republic, and a network of sloping lanes packed with shops: San Marino is famous for good-value shopping, its postage stamps and collectors' coins, and its well-known tourist stamp in your passport.

This guide covers the essentials of the capital with a practical, friendly eye: how to get there and get around the mountain, what to see in Piazza della Libertà and the Basilica, how the state museums and the passport stamp work, where to eat, and how to combine the visit with the Three Towers and Borgo Maggiore. The City of San Marino is one of those destinations that surprise you: tiny, steep, proud of its history and with views that take your breath away.

📖 History of City of San Marino

According to tradition, San Marino was founded in the year 301 by Marinus, a Christian stonemason from the island of Rab (in present-day Croatia) who, fleeing persecution, took refuge on Mount Titano and founded a community there. Before dying he is said to have spoken the words that became the country's motto: «Relinquo vos liberos ab utroque homine» («I leave you free from both men»), referring to the Emperor and the Pope. Over the centuries that monastic community grew into a small commune that organised itself as an independent republic in the Middle Ages, adopted its famous Statutes of 1600 —considered the oldest written constitution in the world still in force— and managed to preserve its sovereignty against popes, feudal lords and great powers. San Marino maintained a policy of neutrality that, during the Second World War, led it to shelter some 100,000 people fleeing the bombing, despite having barely 15,000 inhabitants. Today it is a republic governed by two Captains Regent who are replaced every six months, a direct heir to that medieval tradition. The full story is on our history page.

Read the full history ↓

🏛️ City of San Marino is in Mount Titano and the capital

The heart of the republic: the city of San Marino clinging to Mount Titano, its three towers that are the country's emblem and the market town of Borgo Maggiore at its feet, all of it a World Heritage Site.

Read the history of Mount Titano and the capital →

🗺️ What to see

Tours you can book

If you book from here we earn a commission and you pay no more. Prices and availability come from Civitatis.

1
Piazza della Libertà and Palazzo Pubblico
The capital's main square, with the neo-Gothic government palace and the Statue of Liberty.
Leer más ↓
Piazza della Libertà is the civic and political centre of San Marino, a panoramic balcony looking out over the valley from the top of Titano. It is presided over by the Palazzo Pubblico, the republic's government building, built between 1884 and 1894 by the architect Francesco Azzurri in an elegant neo-Gothic style, with battlements, a turret and a stone façade that recalls the old Italian town halls. It is the seat of the Great and General Council (the Parliament) and of the Captains Regent, the two heads of state, so it is still fully in institutional use. In the middle of the square stands the Statue of Liberty (Statua della Libertà), a female figure in white Carrara marble sculpted by Stefano Galletti and unveiled in 1876, donated by a German aristocrat, Countess Otilia Heyroth Wagener. It represents freedom, the supreme value of this ancient republic, and is one of the city's symbols. You can visit the inside of the Palazzo Pubblico, with its Council Hall, works of art and the symbols of the republic. Getting there: it is right in the pedestrianised historic centre, a few minutes' walk from the funivia station or the car parks. Best time: summer, to catch the Changing of the Guard; any time of day for the views. Tips: step over to the square's viewpoint for one of the best panoramas of the valley and, on clear days, the Adriatic Sea.
ℹ️ Distance: Pedestrianised historic centre (on foot from anywhere in the city) · Best time: Summer for the Changing of the Guard; any time of day for the views · Admission: The square is free; admission to the Palazzo Pubblico included in the San Marino Musei Pass (€ 11, verified July 2026) · Duration: 30 to 45 min (longer if you visit the interior)
2
Changing of the Guard (Cambio della Guardia)
The colourful changing ceremony of the Guard of the Rock in front of the Palazzo Pubblico, in summer.
Leer más ↓
One of the most photographed sights in San Marino is the Changing of the Guard, the ceremonial relief of the guards who watch over the entrance to the Palazzo Pubblico. The stars are the members of the Guard of the Rock (Guardia di Rocca), in their striking historic uniform: dark green tunic with white and red braid, red trousers with a green stripe, a kepi with a red pompom and white gaiters. The scene, with the Statue of Liberty and the neo-Gothic palace in the background, sums up the pride and ceremony of the oldest republic in the world. The ceremony only takes place in the summer season, roughly from mid-June to mid-September, and is repeated every hour, around half past, during the day. It is short but very colourful, and it costs nothing: just be in Piazza della Libertà at the right time. Getting there: in Piazza della Libertà itself, in front of the Palazzo Pubblico. Best time: summer (outside those dates there is no ceremony). Tips: arrive a few minutes early to get a good spot, especially in August; check the exact dates and times for the season at the tourist office, because they change every year.
ℹ️ Distance: Piazza della Libertà, in front of the Palazzo Pubblico · Best time: Mid-June to mid-September (summer only) · Admission: Free (open-air ceremony); every hour around half past in season, verified July 2026 · Duration: 10 to 15 min for the ceremony
3
Basilica del Santo (Basilica di San Marino)
The republic's main church, neoclassical, dedicated to Saint Marinus, with his relics.
Leer más ↓
The Basilica del Santo, or Basilica of San Marino, is the republic's main church and a place of great symbolic weight, because it is dedicated to the country's founder himself, Saint Marinus, the stonemason who according to tradition gave rise to the community in the year 301. The current building is neoclassical, built between 1826 and 1838 on the site of the old parish church (the Pieve), with a stately portico of eight Corinthian columns reminiscent of a classical temple. It was consecrated in February 1838 and raised to the rank of basilica by Pope Pius XI in 1926. Inside, plain and bright, the highlight is the high altar beneath which the saint's relics are kept, found in 1586; to the right of the altar is a silver and gold reliquary bust. The statue of the saint presiding over the presbytery and the seven side chapels complete the ensemble. Next to the basilica is the small church of San Pietro, partly carved into the rock, with two niches where, according to tradition, Saints Marinus and Leo slept. Getting there: on Piazzale Domus Plebis, on the north-eastern edge of the historic centre, a few minutes' walk from Piazza della Libertà. Best time: any time outside service hours. Tips: admission is free; it is a place of worship, so go in respectfully and quietly.
ℹ️ Distance: Piazzale Domus Plebis, historic centre (a few minutes' walk from Piazza della Libertà) · Best time: Outside Mass times · Admission: Free (suggested donation), verified July 2026 · Duration: 20 to 30 min (with the church of San Pietro)
4
State Museum (Museo di Stato)
The national museum, with archaeology, art and objects that tell the history of the republic.
Leer más ↓
The State Museum (Museo di Stato) is San Marino's main national museum and the best way to understand the history and identity of this tiny but singular country. It occupies Palazzo Pergami Belluzzi, on Contrada Omerelli, and brings together collections of archaeology, painting, coins, sacred objects and pieces ranging from prehistory and Roman times to the history of the medieval and modern republic. It is an ideal visit to put everything you see around the city into context. Admission is usually with the San Marino Musei Pass, a pass that gives access to several state museums and monuments, including the State Museum itself, the Guaita and Cesta Towers (with the Museum of Ancient Arms), the Palazzo Pubblico and the National Gallery of Modern Art. It is worth buying if you plan to visit several attractions, because it works out much cheaper than individual tickets. Getting there: on Contrada Omerelli, right in the historic centre, a few minutes' walk from Piazza della Libertà. Best time: any time it is open; ideal on a rainy or very windy day. Tips: check opening hours and free-admission days (there are several dates a year, and under-18s usually get in free).
ℹ️ Distance: Contrada Omerelli, historic centre (a few minutes' walk from Piazza della Libertà) · Best time: Opening hours; ideal on a rainy or very windy day · Admission: San Marino Musei Pass € 11 (access to state museums, towers included); under-18s free (source: museidistato.sm, verified July 2026) · Duration: 1 to 1.5 hours
5
The cobbled streets and tax-free shopping
The maze of medieval lanes in the centre, famous for its shops and prices.
Leer más ↓
The historic centre of San Marino is a tangle of steep cobbled lanes —Contrada del Collegio, Contrada Omagnano, Salita alla Rocca— that climb up and down the ridges of Titano between stone houses, arches, walls and balconies hanging over the drop. Wandering aimlessly is one of the great pleasures of the visit: every corner offers a different view of the valley or the towers. San Marino has a reputation as a shopping destination. Thanks to its particular tax regime, many products —perfumes, watches, electronics, spirits, souvenirs— are sold at attractive prices, and the streets of the centre are full of shops. It is also well known among collectors for its postage stamps and its Sammarinese euro coins, much sought after for their limited mintage. Watch out: not everything is a bargain, and it is worth comparing prices rather than being swayed by the 'duty free' signs, but it is part of the city's typical atmosphere. Getting there: the whole old town is pedestrianised and best explored on foot. Best time: any time; shops open during the day. Tips: mind the slopes and the cobblestones (comfortable shoes); if you buy electronics or expensive items, keep the receipt in case you are asked for it when re-entering the European Union.
ℹ️ Distance: The whole pedestrianised historic centre · Best time: During the day (shop hours) · Admission: Free to stroll; shopping depends on the product, verified July 2026 · Duration: 1 to 2 hours of strolling and shopping
6
The tourist stamp in your passport
San Marino's most requested souvenir: an entry stamp for the country in your passport.
Leer más ↓
Since San Marino is an independent sovereign state, one of the most popular souvenirs among travellers is getting their passport stamped with the country's official tourist stamp. It is not a mandatory formality or a border check (you enter and leave freely, with no controls), but a souvenir: a commemorative stamp of the 'oldest Republic in the world' applied at the tourist office for a small fee. The stamp is done at the State Tourist Office, in the historic centre (Contrada Omagnano, next to the Palazzo Pubblico), and costs about 5 euros. For that price you usually get the ink stamp in your passport and, in some cases, a commemorative sticker. It is a fun and very popular touch, though bear in mind that it is a tourist stamp, not an official immigration stamp. Getting there: the tourist office is right in the centre, signposted and very close to Piazza della Libertà. Best time: during the tourist office's opening hours. Tips: if your passport has few blank pages or you plan to use it for strict formalities, bear in mind that some countries frown on 'souvenir' stamps; in that case, you can ask for it to be put on a separate sheet of paper.
ℹ️ Distance: State Tourist Office, Contrada Omagnano, historic centre · Best time: Tourist office opening hours · Admission: Tourist stamp in your passport approx. € 5 (source: State Tourist Office, verified July 2026) · Duration: 5 to 10 min
7
The viewpoints and the Cava dei Balestrieri
Panoramic balconies over the valley and the pit where the crossbow contests are held.
Leer más ↓
Mount Titano offers viewpoints everywhere, and much of the capital's charm lies in stepping out onto them. From Piazza della Libertà, the bastions of the walls and the paths leading to the towers, spectacular panoramas open up: the patchwork of fields and villages in the valley, the Rimini coast and, on clear days, the blue line of the Adriatic Sea. At sunset, with golden light on the stone, the views are unforgettable. One of the most curious spots is the Cava dei Balestrieri, an old quarry turned into an open-air stage. Here, every summer (especially around 3 September, San Marino's national holiday), the Palio della Balestra and displays by the Crossbowmen's Federation are held, with historic costumes, parades and crossbow shooting contests that recreate the republic's medieval traditions. It is a lively show that connects with the country's military and civic memory. Getting there: the Cava dei Balestrieri is in the historic centre, well signposted; the viewpoints are along the walls and the path to the towers. Best time: sunset for the views; early September for the crossbow festivities. Tips: check the events calendar if you travel in summer, because there are medieval festivals and displays throughout the season.
ℹ️ Distance: Historic centre and walls (on foot) · Best time: Sunset; early September for the crossbow festivities · Admission: Viewpoints free; some events at the Cava dei Balestrieri may charge admission, verified July 2026 · Duration: 30 min to 1 hour
📶I have never landed without internet. I arrive and my phone connects to the strongest network in the country I am visiting: I can say I landed, sort out transport, book tours and keep posting, at a seriously good price. I always use the Maya eSIM — check their plans by clicking the banner.See plans →Maya Mobile eSIM — skip roaming fees, unlimited data
What nobody tells you

💵 Prices

Tickets

TypePrice
Piazza della Libertà y Cambio de la GuardiaFree (open-air square and ceremony), verified July 2026
⚠️ Palazzo Pubblico — cerrado por restauraciónThe Musei di Stato advise that the Palazzo Pubblico is closed for restoration from 2 April to 30 September. It is still included in the Pass, but may not be open to visitors: the museums and monuments open are the First Tower (Guaita), the Second Tower (Cesta), the State Museum, the Pinacoteca San Francesco, the National Gallery and the Stamp and Coin Museum (museidistato.sm, verified 08/08/2026)
San Marino Musei Pass (museos estatales: Museo de Estado, Palazzo Pubblico, Torres Guaita y Cesta, Galería Nacional y más)€ 11 for the Pass (all museums and monuments); € 8 for the Reduced Pass (groups of more than 25 people, over-65s, university students); € 5 for the «Ultima Fascia» ticket, only at the museum ticket offices, valid from 17:30 until closing — official source: museidistato.sm, verified 08/08/2026
Entradas gratuitas a los museos estatalesFree for under-18s, school groups, visitors with a non-self-sufficient disability or 100 % invalidity and their companion, teachers with a certificate, ICOM card holders and accredited journalists. Sammarinese citizens get into the monuments (First Tower, Second Tower and Palazzo Pubblico) free. There are also five free-admission days at all museums and monuments: 5 February (Saint Agatha, co-patron), 7 July (anniversary of the UNESCO listing), 3 September (Patron Saint and Foundation of the Republic), 27 September (World Tourism Day) and European Heritage Day, according to the annual calendar (museidistato.sm, verified 08/08/2026)
Museo de Estado (Museo di Stato)Included in the San Marino Musei Pass (€ 11); under-18s free, verified July 2026
Basílica del SantoFree (suggested donation), verified July 2026
Sello turístico en el pasaporte€ 5.00 at the Tourist Information Office — official source: visitsanmarino.com, «Formalities and tourist visa», verified 08/08/2026
Torres Guaita y Cesta (con Museo de Armas Antiguas)no rate published in an official source for a single admission to the towers: museidistato.sm only publishes the € 11 Pass, the € 8 Reduced Pass and the € 5 «Ultima Fascia» ticket (ticket office only, from 17:30 until closing). Under-18s, school groups and Sammarinese citizens get into the monuments free (museidistato.sm, verified 08/08/2026)
🔄 updated monthlyOfficial / reference values · double-check when buying

Activities and tours

Walking tour of the historic centre (Piazza della Libertà, Basilica, lanes)
Duration1.5 to 2 h
OperatorTourist office and local guides (check)
Price
Free on your own; guided tour approx. € 15–30 per person, verified July 2026
Combined visit to the Three Towers and the Passo delle Streghe
Duration1.5 to 2 h
OperatorIstituti Culturali / museidistato.sm
Price
San Marino Musei Pass € 11 (€ 8 reduced: groups of more than 25, over-65s and university students); there is no separate two-tower ticket — museidistato.sm, verified 08/08/2026
Funivia ride to Borgo Maggiore (return)
Duration2 min each way
OperatorFunivia di San Marino (AASS)
Price
€ 7 return; € 4 one way (AASS, fare in force since 01/03/2026, verified 08/08/2026)
Getting your passport stamped with the tourist stamp
Approx. € 5, verified July 2026
Duration5 to 10 min
OperatorState Tourist Office
Medieval festivals and Palio della Balestra (summer)
DurationVariable
OperatorCrossbowmen's Federation and municipality (check calendar)
Price
Many free activities; some events charge admission, verified July 2026
🔄 updated monthlyOfficial / reference values · double-check when buying

🚌 How to get there and distances

Getting around

On foot around the historic centre
Free
DurationVariable
Notes
The capital's old town is pedestrian-only and sits on the ridges of Mount Titano, with plenty of climbs, descents and steps. Comfortable shoes are a must; there's quite a height difference between the car parks and the upper town
Funivia (cable car) Borgo Maggiore – City of San Marino
Duration2 min
Price
€ 7 return; € 4 one way (AASS, fare in force since 01/03/2026, verified 08/08/2026)
Notes
Links Borgo Maggiore (at the foot of the mountain) with the historic centre at the top. Runs every 15 min from 07:45; spectacular views of the valley and the Adriatic. Children under 120 cm ride free
Car parks and public lifts
PriceParking approx. € 1.50–2.50 per hour, verified July 2026
DurationVariable
Notes
There are several numbered car parks on the mountainside; some are linked to the centre by lifts and stairs. In high season it's best to arrive early
Tourist bus / panoramic little train
PriceApprox. € 3–5 per trip, verified July 2026
DurationVariable
Notes
In season a little train or panoramic bus runs through parts of the city and its viewpoints; handy for anyone who struggles with the slopes
Car (to get there and move between the castelli)
PriceFuel and parking; no tolls, verified July 2026
DurationVariable
Notes
Useful for getting there and touring the country's castelli. The capital's historic centre is pedestrian-only: you have to leave the car in the car parks on the mountainside. The mountain roads are steep and narrow
🔄 updated monthlyOfficial / reference values · double-check when buying

How to get there

RouteAirlines / operatorsAvg. priceDuration
Rimini → San Marino by bus (shuttle)Bonelli Bus / F.lli BenedettiniApprox. € 7 per trip, verified July 2026Approx. 50 min (direct bus daily, all year round, from Rimini station)
Rimini → San Marino by carYour own or a rental carFuel; no toll, verified July 2026Approx. 40–50 min on the SS72 road (Superstrada), park on the mountainside
Rimini Airport (RMI) → San MarinoTaxi or private transfer; bus via Rimini centreTaxi/transfer from € 40–60; bus connecting with the shuttle, verified July 2026Approx. 40 min to 1 h depending on the option
Bologna Airport (BLQ) → San MarinoTrain to Rimini + shuttle bus, or private transferBologna–Rimini train € 10–16 + bus € 7; private transfer from € 120, verified July 2026Approx. 2 to 2.5 h with connections
Borgo Maggiore → City of San Marino by funiviaFunivia di San Marino (AASS)€ 7 return; € 4 one way (AASS, fare in force since 01/03/2026, verified 08/08/2026)2 min (runs every 15 min from 07:45)
🔄 updated monthlyOfficial / reference values · double-check when buying

🏨 Where to stay

No exact prices: a scale from $ (budget) to $$$$$ (luxury), with 2-3 options per category.

Luxury / charming hotels in the centre
Price$$$$$
Recommended options
€ 130–220 per night approx., 2026; upmarket hotels inside or next to the historic centre, with views over the valley, such as the Grand Hotel San Marino or the Hotel Titano, in historic buildings with a great location. Book ahead in summer
Mid-range in the historic centre
Price$$$$$
Recommended options
€ 70–120 per night approx., 2026; a good range of mid-range hotels inside the walled city, steps from Piazza della Libertà and the towers. Ideal for enjoying the centre at sunset and at night, once the day-trippers have left
Accommodation on the mountainside and in the castelli
Price$$$$$
Recommended options
€ 60–100 per night approx., 2026; hotels and B&Bs in Borgo Maggiore, Serravalle and on the mountainside, cheaper and practical if you're travelling by car, with good views of Titano
Budget / B&Bs and in Rimini
Price$$$$$
Recommended options
€ 40–70 for simple rooms approx., 2026; B&Bs and budget hotels in the castelli or in nearby Rimini (50 min by bus), a popular choice for people visiting San Marino as a day trip from the Adriatic coast

🍴 Where to eat

Cocina sanmarinense y romañola (piadina, pasta, carnes)
Price$$$$$
Options / signature dish
€ 12–25 per main course approx., 2026. The local cuisine shares its roots with that of Romagna: piadina (filled flatbread), strozzapreti and cappelletti, meats and cured meats. Trattorias and osterias all over the centre and the castelli
Restaurantes con vistas panorámicas
Price$$$$$
Options / signature dish
€ 25–45 per dish approx., 2026. Several restaurants in the historic centre have terraces overlooking the valley and the Adriatic; you pay a bit more for the location and the views, but the experience at sunset is worth it
Dulces típicos (Torta Tre Monti, Bustrengo)
Price$$$$$
Options / signature dish
€ 3–8 per portion approx., 2026. The most typical sweet is the Torta Tre Monti ('three mountains cake'), made of wafers and hazelnut or cocoa cream, shaped to evoke the three towers; there's also bustrengo. They're sold in pastry shops and stores all over the centre
Bares, cafés y enotecas
Price$$$$$
Options / signature dish
Coffee € 1.50–3; glass of wine € 4–8; cured meat platter € 12–20 approx., 2026. For a break in Piazza della Libertà or at a viewpoint, with wines from the area and local products such as Sangiovese and Sammarinese moscato

📖 History of City of San Marino

Origins, formation and what the sources say.

Marinus the stonemason and the founding in 301

High on Mount Titano, between stone and wind, the oldest republic in the world was born, according to tradition. Its origins go back to the year 301 and to Marinus, a Christian stonemason who came from Arbe (the island of Rab, in present-day Croatia, then part of the Roman Empire). Tradition says that Marinus, fleeing the persecution of Christians under Emperor Diocletian, worked as a stonecutter rebuilding the walls of the port of Rimini. Seeking a life of retreat and prayer, he then took refuge on the summit of Mount Titano, where he founded a small community of believers.

Over time, that community organised itself as a free commune. Before he died, Marinus is said to have spoken the words that became the country's founding motto: «Relinquo vos liberos ab utroque homine» (“I leave you free from both men”). The two men were the two great powers of the age, the Emperor and the Pope. That phrase sums up the calling San Marino has defended for more than seventeen centuries: to bow to no lord and to keep its freedom and independence.

As with many founding stories, the historical Marinus is intertwined with hagiographic legend, and the exact date of 301 is more a symbol than a documented fact. What can be verified is that a religious community, and later a civil one, existed on Mount Titano from early on and gradually asserted its autonomy. Marinus was canonised as Saint Marinus, patron and founder of the republic, and his relics are venerated today beneath the altar of the Basilica del Santo, in the capital that bears his name.

History and legend in the founding
The story of Saint Marinus, a Christian stonemason from Rab who founded the community in 301, comes from medieval hagiographic traditions and cannot be precisely documented. Historians accept that there was an early religious, and later civil, settlement on Titano, but they regard the date of 301 as a founding symbol rather than an exact fact. What matters is the continuity of a free community that organised itself as an independent commune.
Source: https://en.wikipedia.org/wiki/History_of_San_Marino

From medieval commune to republic: the Statutes and the Arengo

Throughout the Middle Ages, the community on Mount Titano built up its own institutions of government. It used its isolated position and strong identity to stay out of the reach of the great feudal lords who were fighting over Romagna and the Marche. Assemblies of residents are already documented in the 13th century, and around 1243 the first Captains Regent appear. These two magistrates served as joint heads of the community, a formula inherited from the consuls of ancient Rome that is still in place today.

The foundation of political life was the Arengo, the assembly of heads of household, which originally took the major decisions. In time its functions passed to a council (today's Great and General Council, the Parliament), but the principle that sovereignty lies with the community of free citizens remained a defining trait. Little by little, San Marino became an oligarchic but self-governing republic, able to negotiate its neutrality with popes and neighbouring lords.

That long process took shape in a written legal code: the Statutes of the Republic (Leges Statutae), whose most complete and lasting version was set down in 1600. Written in Latin, the Statutes of 1600 organise the republic's institutions, justice and civil life, and they are considered the oldest written constitution in the world still in force. Together with the 1974 Declaration of the Rights of Citizens, they form the basis of San Marino's legal system. This unbroken institutional continuity is what makes San Marino unique in the political history of Europe.

The Statutes of 1600
Several sources consider the Statutes of the Republic of San Marino, in their 1600 version, to be the oldest written constitution in the world still in force. They gather earlier legislative traditions and organise the institutions of the republic. The dual leadership of the Captains Regent is documented since at least 1243, which underlines the country's exceptional institutional continuity.
Source: https://en.wikipedia.org/wiki/Constitution_of_San_Marino

Centuries of threatened independence: popes, Alberoni and Napoleon

Holding on to independence for so many centuries was not easy for such a small territory surrounded by bigger powers. San Marino had to navigate wars, the ambitions of local lords and attempts at annexation. In 1463 the republic joined an alliance against Sigismondo Pandolfo Malatesta, lord of Rimini. After his defeat, Pope Pius II rewarded San Marino with the castles of Fiorentino, Montegiardino and Serravalle, and Faetano was added soon after. From then on the country's territory was fixed with practically its current borders, and it has not changed since.

One of the best-remembered episodes is the so-called “Alberoni affair”. In October 1739, Cardinal Giulio Alberoni, papal governor of Ravenna, occupied San Marino by force, intending to annex it to the Papal States. The people of San Marino resisted through civil disobedience and appealed directly to Pope Clement XII, who recognised the republic's rights and ordered the troops to withdraw. Freedom was restored, and the episode strengthened national pride and identity.

At the end of the 18th century, when Napoleon Bonaparte invaded Italy, many feared the tiny state would disappear. Yet in 1797 Napoleon respected San Marino's independence and even offered to enlarge its territory, an offer the republic wisely turned down so as not to make enemies. Years later, the Congress of Vienna of 1815, which reorganised Europe after the Napoleonic Wars, also recognised San Marino's sovereignty. Time and again, diplomacy, neutrality and resolve allowed this tiny country to survive while kingdoms and republics rose and fell around it.

The territory fixed in 1463
Until 1463 San Marino was limited to Mount Titano. That year, as a reward for its alliance against the Malatesta of Rimini, Pope Pius II granted it Fiorentino, Montegiardino and Serravalle; Faetano was added shortly afterwards. The country's borders have not changed since, a remarkable case of territorial stability in the turbulent history of the Italian peninsula.
Source: https://en.wikipedia.org/wiki/History_of_San_Marino

Neutrality and shelter for 100,000 people in the Second World War

San Marino's peaceful, neutral calling had one of its most admirable chapters during the Second World War. Although the country had lived under a fascist-inspired regime in the 1930s, San Marino declared its neutrality in September 1939 and formally stayed out of the conflict, even when neighbouring Italy entered the war in 1940.

The most extraordinary gesture came when the front line approached the region. As Italian cities were bombed and the Gothic Line became a battlefield between German troops and the Allies, thousands of civilians sought refuge in the small republic. San Marino, with barely 15,000 inhabitants, took in and sheltered some 100,000 displaced people from nearby areas, a show of solidarity far out of proportion to its size. Whole families crowded onto Mount Titano, into houses, churches, tunnels and even the funivia and its galleries.

Despite its neutrality, San Marino did not escape the war. On 26 June 1944 it was bombed by the British air force, leaving dozens dead; the United Kingdom later acknowledged the mistake and paid the country compensation. In September 1944 a brief battle was even fought on its territory, when Allied troops drove out the German forces that had entered the country. Once the war was over, San Marino fully regained its neutrality and its institutional life. That episode of mass hospitality remains one of the noblest moments in its history.

Taking in refugees
Sources agree that San Marino, with around 15,000 inhabitants, took in some 100,000 refugees fleeing the bombing and the front during the Second World War. The neutral country nonetheless suffered the British bombing of 26 June 1944 (a mistake the United Kingdom later acknowledged and compensated) and a brief battle in September of that year.
Source: https://en.wikipedia.org/wiki/Battle_of_San_Marino

The Captains Regent and the republic today

San Marino's form of government is one of its most distinctive features, and the one that best links its present to its medieval and Roman roots. The republic is headed by two Captains Regent (Capitani Reggenti), who jointly serve as head of state. They are elected by the Great and General Council, the Parliament, every six months and take office on two fixed dates each year: 1 April and 1 October, in a formal investiture ceremony full of ritual and historical dress.

This dual leadership, with two heads of state who keep each other in check and serve short terms, is directly inspired by the consuls of the ancient Roman Republic. It is a safeguard designed to stop power from being concentrated in one person. The Captains Regent represent the state, promulgate laws and uphold the constitutional order, but they do not run day-to-day affairs: that falls to the Congress of State (the government) and to Parliament. The system has proved remarkably stable over the centuries.

The historic centre of the capital is the living stage of this institutional continuity, with the Palazzo Pubblico as the seat of government, the Piazza della Libertà, the Basilica del Santo and the Three Towers on Titano. In 2008 UNESCO added the historic centre of San Marino and Mount Titano to the World Heritage List, recognising it as an exceptional testimony to a tradition of republican government that has continued unbroken since the Middle Ages. Today San Marino is a small, prosperous state whose economy rests on tourism, finance and industry. It still issues its own stamps and coins and proudly holds the title of the oldest sovereign republic in the world.

The dual leadership of the Captains Regent
The two Captains Regent, elected every six months and sworn in on 1 April and 1 October, serve as joint heads of state. The system, documented since at least 1243, is inspired by the consuls of ancient Rome and aims to prevent the concentration of power. It is one of the keys to San Marino's exceptional institutional continuity, recognised by UNESCO in 2008.
Source: https://en.wikipedia.org/wiki/Captains_Regent

📚 Bibliography

  • Wikipedia (ES) — «San Marino»: https://es.wikipedia.org/wiki/San_Marino
  • Wikipedia (EN) — «San Marino»: https://en.wikipedia.org/wiki/San_Marino
  • Wikipedia (EN) — «History of San Marino»: https://en.wikipedia.org/wiki/History_of_San_Marino
  • Wikipedia (EN) — «Constitution of San Marino»: https://en.wikipedia.org/wiki/Constitution_of_San_Marino
  • Wikipedia (EN) — «Captains Regent»: https://en.wikipedia.org/wiki/Captains_Regent
  • Wikipedia (EN) — «Battle of San Marino»: https://en.wikipedia.org/wiki/Battle_of_San_Marino
  • Wikipedia (EN) — «Basilica di San Marino»: https://en.wikipedia.org/wiki/Basilica_di_San_Marino
  • UNESCO — «San Marino Historic Centre and Mount Titano»: https://whc.unesco.org/en/list/1245/
  • San Marino Site — «Origins of San Marino»: https://www.sanmarinosite.com/en/history/origins-of-san-marino/
  • New World Encyclopedia — «San Marino»: https://www.newworldencyclopedia.org/entry/San_Marino

❓ Frequently asked questions

Do they stamp your passport in San Marino?+
Yes, but as a souvenir, not as a border control. San Marino is an independent state and there are no immigration checks (you come and go freely), but at the State Tourist Office, in the historic centre, they'll put a commemorative tourist stamp in your passport for about 5 euros. It's a very popular souvenir. Note: it's a 'souvenir' stamp, not an official immigration stamp; if your passport is short on pages or you use it for strict formalities, you can ask them to put it on a separate sheet of paper.
How do you get to San Marino without an airport or train?+
San Marino has no airport or train station of its own. The most common way is to come from Rimini (Italy): on the Bonelli Bus / Benedettini shuttle bus, which leaves from Rimini station and takes about 50 minutes (about 7 euros per trip), or by car on the SS72 road (about 40-50 minutes). The nearest airport is Rimini (RMI), and Bologna (BLQ), connected to Rimini by train, is also widely used.
How much time do you need to see the City of San Marino?+
The capital's historic centre can be seen comfortably in one day, and many people even visit it in half a day as a trip from Rimini. A full day covers Piazza della Libertà, the Basilica, the State Museum, the shops and the Three Towers. If you want to climb the towers at a relaxed pace, get your passport stamped and visit Borgo Maggiore by funivia without rushing, a long day is ideal, or stay overnight to enjoy the old town at sunset.
What currency is used in San Marino and is it expensive?+
San Marino uses the euro (€) under a monetary agreement with the European Union, although it isn't an EU member; it even mints its own euro coins, much sought after by collectors. Prices are similar to Italy's. It's known as a shopping destination because of its tax regime (perfumes, electronics, spirits, souvenirs), but it's worth comparing prices rather than assuming everything is a bargain.
Is it worth walking up to the Three Towers from the capital?+
Yes, it's San Marino's most iconic sight. From the centre you can walk to the Guaita (the first tower) along a path with views, and from there to the Passo delle Streghe and the Cesta (the second tower, home to the Museum of Ancient Arms). There's no combined two-tower ticket: entry is with the San Marino Musei Pass at 11 euros (8 reduced), which includes them (museidistato.sm, verified 08/08/2026). The third tower, the Montale, can't be visited inside. The views from the ridges of Titano are spectacular.
When is the Changing of the Guard?+
The Changing of the Guard in front of the Palazzo Pubblico only takes place in the summer season, roughly from mid-June to mid-September, and is repeated every hour around the half hour during the day. It's free and very colourful, with the historic uniforms of the Guard of the Rock. Outside those dates there's no ceremony; it's worth checking the exact dates and times for the year at the tourist office.

More places in San Marino

FiorentinoMontegiardinoSerravalleLas Tres TorresBorgo Maggiore
See every place in San Marino →The history of San Marino →
Sources consulted (14)
Still planning?
Explore more destinations in San Marino
See all destinations →