

Photos: Piran by Zairon, CC BY-SA 4.0, cropped; San Marino by Tibor Szabo, Pexels License.
Piran or San Marino?
Our verdict in twelve categories, each scored against the same fixed benchmark cities, and the climate month by month, so you can choose for your trip.
Choose Piran for
- beaches
- wellness
- families
Piran is the one for a slow summer by the water. You can swim straight off the rocks below the old walls, take a short trip to the salt pans for a brine and mud spa, and spend the evening in a car-free Venetian town where you barely need transport. It suits couples, families with younger children and anyone who wants a few calm days with the sea always close, with Trieste, Istria and Ljubljana within driving distance.
Choose San Marino for
- shopping
- prices
For fortresses, cliff-edge towers and the story of an old republic, San Marino is the better pick, though it has no shore at all. It also makes a fairly priced base for touring San Leo, Urbino and Ravenna by car. Choose it for a night or two of medieval stone and wide views, or for its lower-tax shopping, rather than for a beach or a long stay.
Scoreboard
Twelve categories on one fixed scale from 0 to 100. The shaded stretch is the gap between the two.
Your match
Pick a travel style or drag the sliders, and both match scores follow your weighting.
Wins on beaches and wellness with your weighting.
Wins on shopping and prices with your weighting.
What matters to you?
Category by category
What the scores mean for a trip.
Beaches & swimming
This is where the two cities differ most. In Piran you swim from concrete platforms, ladders and rocks around the Punta headland, and there is a small pebble cove at Fiesa. Sand and sunbeds are a short walk or shuttle ride away at Portoroz, and the Strunjan shore, backed by cliffs, is quieter.
San Marino sits on a mountain with no shore at all. You can see the Adriatic from the walls, but swimming means a pool in one of the lower towns, and the beaches of the Riviera are down in Italy.
Food & drink
Neither town is somewhere you travel for the food, but Piran has the edge thanks to fish eaten by the water. Grilled squid, mussels and scampi buzara come with Istrian olive oil, truffles and Malvazija or Refosk wine, although the harbour menus are much alike.
San Marino cooks the food of Romagna instead: piadina, strozzapreti, rabbit and slow-cooked meats, followed by a slice of torta Tre Monti. The best meals are in the trattorias of the outlying castelli rather than at the set-menu tables in the old town.
Culture & sights
Each town is its own main sight, and each can be seen in a day. What differs is the character of the place. Piran is a Venetian Gothic peninsula of lanes leading to oval Tartini Square, with St George's campanile and a modest maritime museum.
San Marino is a fortress on a ridge. Its three towers, two of which you can climb, look over sheer cliffs, the UNESCO-listed centre records one of the world's oldest surviving republics, and the guard changes outside the Palazzo Pubblico. The State Museum and the stamp and coin collection tell the republic's own story.
Nightlife
Both are early-to-bed places, but Piran has a little more life. A sunset glass of wine on the Punta is the usual evening, and Portoroz, a few minutes away, has beach bars, a casino and some summer clubs. In San Marino the ridge goes almost silent once the coaches leave, and anyone wanting a proper night out has to drive down to the Riviera.
Nature & outdoors
Piran has more outdoors within reach and more variety. There are flysch cliffs at Strunjan, kayaking beneath them, wading birds among the Secovlje lagoons, the Parenzana cycle path through vineyards, and the Karst and the Skocjan caves about an hour away.
San Marino offers a single dramatic feature: the limestone ridge of Monte Titano, about 739m high, with wooded paths between the towers and views from the sea to the Apennines. A morning covers most of it, and the country has no water to paddle on.
Day trips
Both make good touring bases, and both are easiest with a car. Piran sits where three countries meet. Trieste's coffee houses, Rovinj and the hill towns of Motovun and Groznjan in Croatian Istria, Predjama Castle and Ljubljana are all within reach, and summer boats cross to Venice.
San Marino's outings stay in Italy. They include San Leo on its rock, the Ducal Palace at Urbino, Ravenna's Byzantine mosaics and the castle at Gradara, all within about an hour or so.
Good for families
Piran works much better for children. The old town is closed to cars, the seafront is flat, the sea is calm and warm in summer, and there is a small aquarium, with Portoroz's shallow sandy beach close by. Older children may get restless after a few days.
San Marino makes a good day out, with towers to climb, a cable car and costumed crossbowmen. As a base it is harder: steep steps defeat pushchairs, several small museums deal with torture and weapons, and there are no parks or attractions built for children.
Getting around
Neither has a railway, but Piran is the easier place to be on foot. The car-free old town is flat enough to cross in a quarter of an hour, and a shuttle and a promenade link it with Portoroz.
San Marino's centre is also compact, but you get around it on stairways and steep lanes cut into the mountain, with a cable car to Borgo Maggiore. The bus from Rimini station is the main public link, and buses to the other castelli are infrequent.
Shopping & style
San Marino gives shoppers more reason to stop. Lower taxes than in Italy bring in buyers of perfume, spirits, watches and electronics, there is an outlet centre in the valley, and collectors come for the republic's stamps and coins. Piran's best buys are its produce: salt and salt flower from the Secovlje pans, olive oil and coastal wine, along with a few galleries in the lanes.
Affordability
San Marino is the somewhat cheaper stay, with prices close to those of provincial central Italy. Its mountain hotels are often cheaper than seaside rooms in summer, but the set menus with a view cost more than they should.
Piran charges a clear premium in July and August for old-town rooms and harbourside tables. Staying in Portoroz, eating in simple konobas or coming outside the summer brings the cost back to a fair level, and swimming costs nothing.
Live music & performing arts
Piran has the edge, although in both towns live performance mostly happens in summer. Piran honours Giuseppe Tartini, the violinist born there, with classical concerts in churches, the monastery cloister and on the main square, and the small Tartini Theatre stages occasional plays and recitals.
San Marino's livelier moment is the Medieval Days, with drummers, flag-throwers, crossbow contests and period music in the old town. Its small theatres have a short winter season, but for serious concerts you have to go into Italy.
Wellness & relaxation
Piran is far better for unwinding. Portoroz began as a spa resort using seawater pools and brine baths, at the salt pans you can lie in salt mud in an open-air spa beside the lagoons, and Strunjan has a seawater health resort.
San Marino has no thermal or bathing tradition beyond hotel spas. Its calm comes early in the morning and late in the day, once the tour groups have left the ridge.
When should you go?
Pick your month. The climate figures are measured averages, not a forecast.
Piran in July
San Marino in July
Daytime high, °C
Rainfall in the month, mm
Where the figures come from
San Marino's temperatures are measured 52 km from the centre, at Frontone.
San Marino has no rain gauge within 25 km of the centre, so its rainfall comes from a gridded climate dataset read at the destination rather than from a gauge further away.
Temperature and rainfall are climate normals, averaged over the years shown. Piran: 2005-2020 (sunshine 1991-2020, rainfall 1991-2020) normals, Portoroz (1.2 km from centre). San Marino: 1991-2020 normals, Frontone (51.5 km from centre).
Piran's swimming season runs from June to September, and the sea reaches about 25°C in July and August. July is both the sunniest and the hottest month, at around 30°C, so midday is better spent in the water than climbing to the church. May, June and September are the most comfortable months for walking the lanes and the cliff paths. The rain builds from September, and September, October and November are the wettest months, each with more than 110mm.
San Marino has the same summer peak but colder winters, with January highs near 7°C, and spring arrives a little later on the ridge. Summer is its driest season, with only about 47mm of rain in July, which helps sightseeing, but the heat makes the steep lanes hard work in midsummer. Late spring and early autumn are the best times to visit, before the autumn rain arrives from September.
Which traveller are you?
On a beach and sun trip, Piran is the only real option. You swim in clear Adriatic water from the town's own seafront, with Fiesa's pebbles and Portoroz's sand nearby, while San Marino has no coastline and sends swimmers to hotel pools.
For a relaxing and wellness trip, Piran also wins clearly. Portoroz and the Secovlje salt pans offer seawater pools, brine baths and salt-mud treatments, and the car-free old town is quiet. San Marino offers only hotel spas and lanes crowded with tour groups at midday.
On a trip on a tight budget, San Marino goes further. Its mountain hotels are fairly priced and often cheaper than seaside rooms in high season, and village trattorias give solid value. Piran's old town charges a summer premium for rooms and waterfront tables.
Before you go
| Measure | Piran | San Marino |
|---|---|---|
| Official language | Slovene | Italian |
| Currency | Euro (EUR) | Euro (EUR) |
| Sockets | ||
| Driving side | Right | Right |
| Time zone | UTC+1, UTC+2 in summer | UTC+1, UTC+2 in summer |
| Emergency number | 112 | 112 |
| Elevation | 7 m | 675 m |
| Main airport | Trieste Airport (TRS)34 km from centre32 non-stop destinations | Bologna Guglielmo Marconi Airport (BLQ)114 km from centre98 non-stop destinations |
| Public holidays this year | 21 days | 18 days |
By the numbers
| Measure | Piran | San Marino |
|---|---|---|
| Population | 3,787 | 4,040 |
| People per km² | 85 | 569 |
| Museums within 10 km | 5 | 19 |
| UNESCO World Heritage sites within 50 km | 4 | 2 |
| Swim season, months above 21 °C | 4 months | 4 months |
Where else could you go?
Every comparison below shares a destination with this one, so you can follow Piran or San Marino somewhere new.