San Leo. Machiavelli called it the finest fortress in Italy, Dante referenced its cliff in Purgatorio, and the occultist Cagliostro died in its prison in 1795 after being lowered through a hole in the ceiling

San Leo rises from the Montefeltro landscape on a sheer travertine rock formation that Dante referenced in Purgatorio Canto IV as an example of extreme ascent. Machiavelli, in the Arte della Guerra, called the Rocca the best-designed fortress in Italy. Francesco di Giorgio Martini redesigned it for the Montefeltro dukes of Urbino in the 1470s. The Rocca's most famous prisoner: Count Alessandro di Cagliostro (1743–1795), the Sicilian occultist and probable fraud, condemned by the Inquisition, confined in 1791 in a cell accessible only through a ceiling hole, dead by 1795. The Romanesque Pieve (8th–9th century) and Cathedral (11th–12th century) below are among the finest early medieval ecclesiastical buildings in the Montefeltro. Emilia-Romagna guide →

Emilia-Romagna →Plan my Montefeltro trip →

San Leo at a glance

Region: Emilia-Romagna (province of Rimini, Montefeltro)  |  Population: ~3,000  |  Altitude: 589 m a.s.l. (hilltop fortress)  |  Famous for: The Rocca (fortress where Cagliostro died imprisoned), the Pieve and Cathedral Romanesque complex, the natural fortress rock formation  |  Distance from Rimini: 35 km  |  Distance from Urbino: 25 km  |  Dante connection: Referenced in Purgatorio Canto IV

San Leo, Emilia-Romagna, Italia
San Leo, Emilia-Romagna, Italia · photo de:Benutzer:Stephen · CC BY-SA 3.0 · via Wikimedia Commons

How do you want to see it?

Lazio, Italy

Compare the same experience on GetYourGuide and Viator, save what you like to My Trip, share it, and book when you’re sure. Nearest to this page first.

Rome
6,870 activities40,378 reviews
Rome

The deepest tour catalog in Italy. 6,870 bookable experiences. Colosseum and Vatican sell out first.

from $34 seller checkout price
Venice
1,651 activities8,788 reviews
Venice

Murano & Burano by boat, Doge’s Palace backstage, gondolas at golden hour.

from $40 seller checkout price
Vatican Museums entry ticket
153k reviews153,012 reviews
Vatican Museums entry ticket

The single most-reviewed ticket in Italy: 153,000+ reviews. First slot or late afternoon, never midday.

from $37 seller checkout price
Colosseum underground & arena
Arena floor access26,138 reviews
Colosseum underground & arena

The tier worth the upgrade: gladiator tunnels and the arena floor. 26,000+ reviews on the arena-floor tour alone.

from $45 seller checkout price
Verona
Opera & pasta1,421 reviews
Verona

Arena skip-the-line, Juliet, and pasta-and-tiramisù classes with 1,400+ reviews.

from $29 seller checkout price
Murano & Burano by boat
8.6k reviews8,606 reviews
Murano & Burano by boat

Glass furnaces and the most-photographed painted houses in Italy. 8,600+ reviews.

from $36 seller checkout price

San Leo, the Montefeltro hilltop fortress where the occultist Cagliostro was imprisoned until he died, which Dante compared to the path to Purgatory, and which Machiavelli called the most impregnable fortress in Italy

San Leo rises from the Montefeltro landscape on a sheer rock formation, a travertine cliff isolated on three sides by the Marecchia river valley, with the village on the summit plateau and the Rocca (fortress) on the highest point. The geological accident that created this formation made San Leo naturally impregnable, which explains why it attracted fortification, strategic importance, and eventually distinguished prisoners across 1,500 years.

The Rocca of San Leo in its current form is primarily the work of the architect Francesco di Giorgio Martini, redesigned for the Montefeltro dukes of Urbino in the 1470s–1480s. Machiavelli, in the Arte della Guerra, called it the best-designed fortress in Italy. Its most famous prisoner: Count Alessandro di Cagliostro (Giuseppe Balsamo, 1743–1795), the Sicilian adventurer, occultist, freemason, and probable fraud who moved through the courts of Europe performing alchemical demonstrations, claiming to possess the secret of eternal youth, and establishing Masonic lodges under his invented identity. The Inquisition arrested him in Rome in 1789. He was condemned to death (commuted to life imprisonment) and confined in San Leo in 1791, in a cell within the Rocca from which he never emerged, dying there in 1795.

The Romanesque Pieve and Cathedral

Below the Rocca, the Pieve (the oldest church of San Leo, pre-Romanesque in origin, 8th–9th century, with a Lombard crypt and early medieval stonework) and the Cathedral (11th–12th century Romanesque) form one of the most complete early medieval ecclesiastical ensembles in the Montefeltro. The Cathedral has the specific dry, assured quality of Romanesque architecture at its most confident, no decoration for decoration's sake, no Gothic aspiration to height or lightness. The bell tower is a former Roman column base reused as a campanile. Charlemagne is said to have prayed here (the story is legendary but the historical context. Frankish presence in this zone during the late 8th-century Italian campaigns, is real). Emilia-Romagna guide →

The Dante connection and the Dante landscape

In Purgatorio Canto IV (lines 25–26), Dante uses San Leo as a geographical reference point: "Vassi in Sanleo e discendesi in Noli, / montasi su in Bismantova e 'n Cacume", "One goes to San Leo and descends to Noli, / climbs Bismantova and Cacume." Dante uses these specific cliff ascents as comparisons for the difficulty of climbing the Purgatorial mountain. The reference confirms that San Leo's cliff was famous in medieval Italy as a specific example of an extreme ascent, exactly the quality that made it a preferred fortress and prison site. The landscape from the fortress walls looking toward the Marecchia valley and the Apennines beyond is the specific view that Dante's contemporaries would have recognised from his reference.

Practical: visiting San Leo

By car from Rimini: 35 km, approximately 40 minutes via the SS258 up the Marecchia valley. From Urbino: 25 km, 30 minutes. No public transport directly to San Leo. A car or taxi is required. Parking in the car park at the base of the village cliff, then walk up the steep road (15 minutes) or take the shuttle van from the car park. The Rocca: Entry approximately €8. Open daily 9am–6pm (summer), shorter in winter. The Rocca interior includes the Cagliostro cell (a vertical shaft in the ceiling was the only entry point, prisoners were lowered through it by rope), the 15th-century defensive architecture, and views from the walls over the Marecchia valley. Combine with: Urbino (25 km, the Renaissance Ducal Palace, the Galleria Nazionale delle Marche, Raphael's birthplace). The Marecchia valley towns. And the coast at Rimini (35 km, 40 minutes).

San Leo, panorama
San Leo, panorama · photo Gianni Careddu · CC BY-SA 4.0 · via Wikimedia Commons

What is San Leo famous for?

San Leo in the Montefeltro (Emilia-Romagna/Marche border zone) is famous for the Rocca, a 15th-century fortress on a sheer travertine rock formation that Machiavelli called the finest fortress in Italy, which served as the prison where the occultist and adventurer Cagliostro (Giuseppe Balsamo) died in 1795 after four years of solitary confinement. The 8th-century Pieve and 12th-century Cathedral below form one of the finest Romanesque ecclesiastical ensembles in the region. Dante referenced San Leo's steep rock in Purgatorio Canto IV.

Who was Cagliostro and why was he imprisoned in San Leo?

Count Alessandro di Cagliostro (born Giuseppe Balsamo, 1743–1795) was a Sicilian adventurer who invented a noble identity, traveled the European courts claiming alchemical powers and the secret of eternal youth, established Egyptian Masonic lodges, and was involved in the Diamond Necklace Affair (the scandal that helped discredit Marie Antoinette). The Roman Inquisition arrested him in 1789. Condemned for heresy and Freemasonry, his death sentence was commuted to life imprisonment. He was confined in San Leo's Rocca in 1791, held in a cell accessible only through a hole in the ceiling (prisoners were lowered by rope). He died in 1795. His story inspired multiple fictional treatments including a character in Dumas's Joseph Balsamo novels.

How far is San Leo from Urbino?

San Leo is 25 kilometers from Urbino, approximately 30 minutes by car. The two towns are the principal cultural sites of the Montefeltro zone. Combining them in a single day is the standard Montefeltro itinerary. San Leo in the morning (Rocca and Romanesque churches, 2–3 hours) + Urbino in the afternoon (Ducal Palace, Galleria Nazionale delle Marche with Piero della Francesca's portraits, Raphael's birthplace, 3–4 hours) is the optimal sequence. Both towns are within the administrative zone between Emilia-Romagna and Marche.

Is San Leo in Emilia-Romagna or Marche?

San Leo is administratively in the province of Rimini, which is in Emilia-Romagna, though it is geographically and culturally part of the Montefeltro, a historic zone straddling the Emilia-Romagna/Marche border. The nearby city of Urbino (25 km) is in Marche. The Montefeltro was historically the territory of the Montefeltro family (later Feltria) and then the Gonzaga-Montefeltro dukes of Urbino, the same cultural zone regardless of the modern regional boundary.

What is the Romanesque Pieve di San Leo?

The Pieve di San Leo is a pre-Romanesque church (8th–9th century origin) with a Lombard crypt below the current floor level, the oldest surviving architectural element on the San Leo plateau. Above it stands the Cathedral (Duomo, 11th–12th century Romanesque), with a reused Roman column as a bell tower. The ensemble is one of the finest early medieval ecclesiastical groupings in the Montefeltro. Both are free to enter during visiting hours. The specific quality of the Romanesque stonework, dry, precise, without decorative excess, is characteristic of the Lombard-Romanesque tradition of the northern Apennines.

Planning a Montefeltro circuit?

San Leo + Urbino + Pesaro + Rimini coast, the Renaissance dukes' territory in 2 days.

Plan my Emilia-Romagna trip →
🏠 Hotels San Leo/Rimini
Booking
🚗 Car rental Rimini
AutoEurope
🏭 Marche/Romagna tours
GetYourGuide
San Leo , Valmarecchia
San Leo , Valmarecchia · photo Dounamano · CC BY-SA 4.0 · via Wikimedia Commons

Francesco di Giorgio Martini, the architect of San Leo and his other fortresses

Francesco di Giorgio Martini (1439–1502) was the Sienese architect and military engineer who redesigned the Rocca of San Leo for Federico da Montefeltro, Duke of Urbino, in the 1470s–1480s. He is one of the central figures of Italian Renaissance military architecture: his Trattato di architettura civile e militare (written in multiple versions from the 1470s onward) was the first systematic theoretical treatment of Renaissance fortress design and was studied by Leonardo da Vinci (whose annotated copy survives). Francesco di Giorgio worked for Federico da Montefeltro across multiple projects, he redesigned or built fortifications at Cagli, Mondavio, Mondolfo, Sassocorvaro, and other Montefeltro towns, in addition to San Leo. The Rocca of San Leo represents his most geologically dramatic commission: the naturally impregnable cliff formation reduced the need for elaborate artificial defences and allowed the fortress to focus on residential quality within its perimeter.

Can you visit the inside of the San Leo Rocca?

Yes. The Rocca di San Leo is open to visitors daily (hours approximately 9am–6pm summer, shorter in winter. Check museo.san-leo.it for current hours). Entry approximately €8. The interior includes: the Cagliostro cell (a chamber in the base of the fortress where the prisoner was confined, accessible through a ceiling opening, the original entry method during his imprisonment). The main hall and its medieval architectural detail. The military museum with arms and armour from the fortress's defensive periods. And the bastion walls with panoramic views over the Marecchia valley toward the Adriatic coast (visible on clear days). Allow 1.5–2 hours for the full interior visit.

What is the Montefeltro and why is it historically important?

The Montefeltro is the historic territory of the Apennine zone between modern Emilia-Romagna and Marche, the area controlled from the 12th century by the Montefeltro (later Feltria) family, who became Dukes of Urbino in 1443. Federico da Montefeltro (1422–1482), the most celebrated of the dynasty, was simultaneously the finest military commander in Italy (his condottiere career funded the Urbino court) and one of the great Renaissance patrons, the Urbino Palazzo Ducale, the Galleria Nazionale delle Marche, Piero della Francesca's two portraits of Federico and Battista Sforza, and the architectural program of the Montefeltro fortresses are all his patronage. San Leo was the ancestral seat of the family before Urbino became the ducal capital.

How do I get to San Leo from Rimini?

From Rimini to San Leo: 35 km, approximately 40 minutes by car via the SS258 Marecchiese road up the Marecchia valley, one of the most scenic valley drives in the northern Apennines. There is no direct public transport from Rimini to San Leo. Buses run to Novafeltria (25 km from Rimini) from which a taxi or private car is required for the final 10 km. The car approach is strongly recommended: the drive up the Marecchia valley gives context to the geological formation of the San Leo rock (the isolated travertine mass appears dramatically from the valley floor as you approach). Parking at the base of the village. Walk or shuttle to the summit.

Is there anywhere to eat near San Leo?

San Leo has several restaurants and cafés within the village on the summit plateau: La Rocca (directly below the fortress walls, panoramic terrace, traditional Romagnola and Montefeltro cuisine, piada romagnola, passatelli, rabbit with herbs). Osteria Belvedere (simpler, good local food, reliable quality). The cuisine of the Montefeltro zone: passatelli in brodo (egg-breadcrumb-cheese noodles in broth), tagliatelle al ragù (the Romagnola pasta tradition), coniglio in porchetta (rabbit roasted with wild herbs), formaggio di fossa (cheese aged in underground pits, specific to the Fossa di Sogliano near Rimini). The area produces good Sangiovese-based wines (Romagna Sangiovese DOC).

Written by La Redazione di TourLeaderPro.comProfessional tour leaders and Italy travel specialists based in Rome. Every guide is written from direct on-the-ground experience.

☕ Love this guide? Leave a tip

La rocca di San Leo 2
La rocca di San Leo 2 · Public domain · via Wikimedia Commons

Keep exploring Italy

San LeoCagliostroMontefeltroRocca San LeoDante PurgatorioMachiavelliRimini provinceItaly fortressEmilia-Romagna
© 2026 ItalyPlanner.com · Support ☕ · Home
San Leo fortress

Plan the rest of your Italy trip

The essentials, compared and booked with the official sellers. Same price for you. We may earn a commission.

Italy How do you want to travel?
Tours & experiencesGYG · Viator

Top things to do in Italy, compared across sellers

prices on sellerGetYourGuide →Viator →
Walking tourGYG · Viator

Among the most-booked experiences in Italy. Compare dates and prices.

prices on sellerGetYourGuide →Viator →
Food tourGYG · Viator

Among the most-booked experiences in Italy. Compare dates and prices.

prices on sellerGetYourGuide →Viator →
Skip-the-line ticketsGYG · Viator

Among the most-booked experiences in Italy. Compare dates and prices.

prices on sellerGetYourGuide →Viator →
Cooking classGYG · Viator

Among the most-booked experiences in Italy. Compare dates and prices.

prices on sellerGetYourGuide →Viator →
Day tripsGYG · Viator

Among the most-booked experiences in Italy. Compare dates and prices.

prices on sellerGetYourGuide →Viator →
Boat tourGYG · Viator

Among the most-booked experiences in Italy. Compare dates and prices.

prices on sellerGetYourGuide →Viator →
Where to stayHotellook

Hotels & apartments in Italy

~€140 est. / nightSee options →
TrainsItalo Treno

High-speed legs to and from Italy

~€45 est. / ppSee options →
Airport transferWelcome Pickups

Door-to-door pickup, flight tracked

~€55 est. / groupSee options →
Car rentalAutoEurope

For the day trips trains don't reach

~€70 est. / daySee options →
eSIM & dataYesim

Instant data for the whole of Italy

~€15 est. / tripSee options →
Travel insuranceVisitorsCoverage

Cover the trip, not just the flight

~€60 est. / tripSee options →
Skip-the-line ticketsTiqets

Museums & attractions, mobile tickets

prices on sellerSee options →
FlightsAviasales

Every airline in one search

prices on sellerSee options →
BusesFlixBus

The budget backup between cities

prices on sellerSee options →
Fixed-price taxiKiwitaxi

60+ car classes, odd hours covered

prices on sellerSee options →
FerriesDirect Ferries

Islands & coast crossings, all operators

prices on sellerSee options →
Boat rentalSamBoat

With or without skipper, by the day

prices on sellerSee options →
Luggage storageRadical Storage

Drop the bags, see the city

~€5 est. / daySee options →
City passesGo City

One pass, the big sights bundled

prices on sellerSee options →
Flight compensationAirHelp

Delayed 3h+? EU law owes you up to €600

prices on sellerSee options →
Scooter & bike rentalBikesBooking

Vespa days and coastal rides, helmet included

~€35 est. / daySee options →
Self-guided audio toursWeGoTrip

Walk Italy at your pace, expert narration

~€12 est. / ppSee options →
Concerts & eventsTicketNetwork

Opera, football, live shows on your dates

prices on sellerSee options →
Italian box officeVivaTicket

Concerts, opera & Serie A on the official Italian circuit

prices on sellerSee options →
Souvenirs & productsItalyPlanner

Wine, Venchi, DOP pantry, shipped home

prices on sellerSee options →
Private & custom toursTourLeaderPro guides

We may connect you with a licensed guide on our network, all to yourselves

prices on sellerSee options →

Book top-rated tours & skip-the-line tickets for this trip