Quick answer
You stop being a San Marino tax resident only when none of the three tests in Art. 10(2) of the income tax (IGR) law applies: you are off the population register for most of the year, you no longer live there for most of the year, and your centre of vital interests has moved abroad. There is no 183-day rule. The tests look at the whole calendar year, so a departure after 1 July 2026 usually leaves you resident for all of 2026, with a final return due by 31 July 2027.
Last reviewed: November 2026 · Reviewed by Stéphane Gombauld, tax expert, technologist and digital nomad
Heavnn
Leaving San Marino without a tax surprise
Answer a few questions and get a clear exit plan for your own situation.
Check my tax setup →This guide is for people who moved their life and business to San Marino and are now moving on: freelancers, consultants, founders and remote employees who registered there and want a clean exit. It explains when your San Marino residence actually ends for tax purposes, what San Marino can still tax afterwards, and the order in which to do things. For the residence tests themselves in more depth, see our San Marino tax residency guide.
Ceasing San Marino tax residency in 2026: the key figures
| Item | 2026 rule | Legal basis |
|---|---|---|
| Who is resident | Anyone who, in the tax period, is on the population register for most of it, lives in San Marino for most of it, or has the centre of vital interests there | Law 166/2013, Art. 10(2)(a) to (c) |
| Day-count rule | None. "Most of the tax period" means more than half the year, not a fixed 183 days | Law 166/2013, Art. 10(2) |
| Tax period | Calendar year; the return covers income of the previous calendar year | Law 166/2013, Art. 93(1), as amended by Law 141/2025 |
| What residents pay on | Worldwide income | Law 166/2013, Art. 10(1)(a) |
| What non-residents pay on | Only income produced in San Marino | Law 166/2013, Art. 10(1)(b) |
| Final return for 2026 | Due by 31 July 2027 | Law 166/2013, Art. 93(1) |
| Return not filed | 100% to 300% of the tax due and unpaid, minimum EUR 500 | Law 166/2013, Art. 139, as amended by Law 141/2025 |
| Fees from San Marino clients after you leave | 20% final withholding on self-employed fees paid to non-residents | Law 166/2013, Art. 102, as amended by Law 141/2025 |
| Capital income from San Marino payers | 13% withholding (11% on San Marino debt securities of 36 months or more) | Law 166/2013, Art. 103(1) |
| Rate on business income while still resident | 18% for 2026 to 2030 (17% standard) | Law 141/2025, Art. 54(6) |
What changed for 2026
The residence tests did not change. Law No. 141 of 12 November 2025 rewrote large parts of the IGR law from tax period 2026, but it leaves Art. 10 as it was. What changed is the bill around your exit:
- Higher rate in your last resident year. Self-employed and business income, and company profits, pay 18% instead of 17% for 2026 to 2030 (Art. 54(6)).
- New withholding on non-residents. San Marino payers must withhold a final 20% on fees for self-employed services paid to non-residents (Art. 102). If you keep San Marino clients after you leave, this now applies to you.
- Capital income at 13%. Interest and other capital income paid by San Marino operators bear a 13% withholding (Art. 103(1)).
- Return date and penalties reset. The return is due by 31 July, and an omitted return now costs 100% to 300% of the unpaid tax, with a EUR 500 minimum (Art. 93 and Art. 139).
Is this guide for you?
Yes, if you are registered as a resident in San Marino, earn your income online or from your own company, and plan to move your base to another country. It also helps if you are splitting time between San Marino and elsewhere and want to know which side of the line you are on.
It is not written for cross-border workers who live in Italy and commute to a San Marino employer, nor for people with a permanent job and family settled in San Marino who are only travelling. If you are still deciding whether to move to San Marino, start with the San Marino tax overview.
How do you stop being a San Marino tax resident?
Art. 10(2) of the IGR law lists three tests. Meeting any one of them in a tax period makes you resident for that period. To become non-resident, you have to fail all three.
Test 1: get off the population register
The first test is formal: you are resident if you hold registered residence (residenza anagrafica) in San Marino for most of the tax period. As long as your name stays on the register, this test can keep you resident even if you live elsewhere. Deregistering is the first practical step, and the date it takes effect is the date that counts. Ask the civil registry office (Ufficio di Stato Civile) and, if you hold a residence permit, the Department of Foreign Affairs or the Gendarmerie foreigners office (Ufficio Stranieri) how to close it, and keep the written confirmation.
Test 2: stop living there for most of the year
The second test is factual: you are resident if you dwell (dimora) in San Marino for most of the tax period, whatever the register says. Taking your name off the register but keeping your flat and coming back for long stretches does not end your residence. Keep evidence of where you actually were: a rental contract or purchase deed abroad, travel records, utility bills and the date your belongings moved.
Test 3: move your centre of vital interests
The third test has no time element: you are resident if your centre of vital interests is in San Marino. That covers your family, your home, your business and your main economic ties. If your partner and children stay, or your company is still run from a San Marino office, this test can keep you resident even after you deregister and leave. Move the core of your life together, not in stages over several years.
Does leaving mid-year end your residence for that year?
Not automatically. The tests apply to the tax period as a whole, and we found no split-year rule in the IGR law. On a plain reading, if you are still registered or living in San Marino for more than half of 2026, you are resident for the whole of 2026 and San Marino taxes your worldwide income for the full year, including what you earn after moving. The date you leave therefore matters a lot.
| Your situation in 2026 | Likely San Marino status for 2026 | What it means |
|---|---|---|
| Deregistered and moved out by 30 June (181 days or fewer), home and family moved too | Non-resident for 2026 | San Marino taxes only income produced there; your new country taxes the rest under its own rules |
| Moved out on 15 September, deregistered the same day (258 days registered) | Resident for all of 2026 | San Marino taxes worldwide income for the full year; your new country may also tax you from arrival |
| Deregistered in March, but kept a home and spent most of the year in San Marino | Resident for 2026 under the dwelling test | Deregistering alone does not end residence |
| Deregistered and left in March, but partner and children stayed in San Marino | At risk of staying resident under the centre of vital interests test | Expect questions from the tax office; document your new centre of life |
When two countries both treat you as resident in the same year, a double tax treaty decides. San Marino has around 30 double tax agreements, including the one with Italy that has been in force since 3 October 2013, according to the Ministry of Finance. Treaties built on the OECD Model break the tie by looking, in order, at your permanent home, your centre of vital interests, your habitual abode and your nationality. If there is no treaty with your new country, both may tax you. San Marino then gives a credit for foreign tax on foreign income, capped at the San Marino tax on that income (Art. 18).
What does San Marino still tax after you leave?
Once you are non-resident, San Marino taxes only income produced in its territory (Art. 10(1)(b)). For a location-independent professional, that usually means three things:
- Fees from San Marino clients. A San Marino client paying you for self-employed services must withhold a final 20% (Art. 102). That withholding is the San Marino tax; your new country decides whether and how it credits it.
- Interest and capital income. San Marino banks and other payers withhold 13% on capital income, or 11% on qualifying San Marino debt securities of at least 36 months (Art. 103).
- Your San Marino company. A company registered in San Marino stays a San Marino taxpayer after you move, paying 18% on its profits for 2026 to 2030. Your new country may argue that a company you now run from there is managed there and should be taxed there too. See our guide to corporate income tax in San Marino before you decide whether to keep, move or close it.
The exit checklist, in the right order
- Pick your date. If you can, leave and deregister by 30 June so that you are registered and present for fewer than half of the year. A September move costs you a full extra resident year.
- Deregister and close your permit. Request cancellation from the population register and ask the Department of Foreign Affairs or the Ufficio Stranieri what happens to your residence permit. Keep every confirmation with its date.
- Register in your new country. Your new country applies its own residence rules from the day you arrive. Line up the dates so that you are never resident nowhere, and never resident in both without a treaty to settle it.
- Move your centre of life. Home, family, main bank account, health cover, car and business management should move together. Mixed signals are what keep people resident under test 3.
- Decide on your company. Keep it with real local management, transfer it, or close it. Do not run a San Marino company from abroad by default.
- Update your payers. Tell San Marino banks and clients your new address and status, so the right withholding applies from the right date.
- File the last return. For a 2026 departure, the IGR return is due by 31 July 2027 (Art. 93(1)). If you were resident for the whole of 2026, it covers your worldwide income for the year.
- Keep the file. Keep tickets, leases, deregistration papers and new-country registration together for at least as long as the tax office can audit the year.
If you hold an elective residence permit, remember what it cost to get: a property of at least EUR 500,000 or a locked deposit of at least EUR 600,000, plus a EUR 10,000 fee, according to the government residence page. Ask the Department of Foreign Affairs how giving up residence affects the permit and any deposit before you sell or withdraw anything.
Is there an exit tax when you leave San Marino?
We did not find an exit tax on unrealised gains for individuals in the IGR provisions we reviewed. What matters is when you sell. While you are resident, gains on shares, securities and crypto-assets are taxed separately at 10% (Art. 13(2)(b)). After you leave, your new country's rules apply to gains you realise there, and some countries tax gains built up before arrival differently. If you hold a large portfolio or company shares, model the sale date on both sides before you move. Our San Marino capital gains guide covers the 10% rate in detail.
Example – Jonas, 38, Dutch software consultant moving from San Marino to Italy
Jonas has been resident in San Marino since 2023 and works as a self-employed consultant for clients across Europe. His net business income for 2026 is EUR 96,000, earned evenly through the year. He plans to move to Bologna.
Plan A: he moves and deregisters on 15 September 2026. He has been on the register for 258 days, more than half the year. San Marino treats him as resident for all of 2026 and taxes the full EUR 96,000 at 18%: EUR 17,280, due with the return by 31 July 2027. Italy may also tax the income he earns after arriving, so he needs the San Marino and Italy treaty to sort out which country has the first right.
Plan B: he deregisters and moves on 30 June 2026. He has been on the register for 181 days and his partner, flat and business move with him. He fails all three tests and is non-resident for 2026. San Marino can still tax income produced there, but his worldwide income is no longer in its net. The move date alone shifted a full year of residence.
Jonas's move date decided where his whole year was taxed. Yours will too.
Get your exit date, deregistration and company checked before you book the van.
Plan my exit →Common mistakes (and what they cost)
- Counting to 183 days. San Marino has no 183-day rule. Being registered or living there for more than half the year is enough, and the centre of vital interests test has no day count at all. Cost: a full extra year taxed on worldwide income.
- Leaving the registration open. If you leave but forget to deregister, the register test can keep you resident. Cost: worldwide income taxed in San Marino while your new country taxes it too.
- Moving in stages. Family stays, the flat stays, the company stays, and you leave first. Cost: residence kept under the centre of vital interests test.
- Running the San Marino company from abroad. Your new country may treat it as managed there. Cost: company profits taxed twice, or a fight over which country taxes them.
- Skipping the last return. An omitted return costs 100% to 300% of the unpaid tax, with a EUR 500 minimum (Art. 139).
- Forgetting withholding. San Marino clients must withhold 20% on your fees once you are non-resident. If nobody tells them, invoices and payments go wrong on both sides.
Frequently asked questions
How many days must I spend outside San Marino to stop being tax resident?
There is no fixed number. You stop being resident when, for the tax year, you are off the population register and not living in San Marino for most of the year, and your centre of vital interests is abroad. In practice, that means leaving and deregistering before the middle of the year.
Is there a split-year rule when I leave San Marino?
We found no split-year rule in the IGR law. The residence tests apply to the whole calendar year. If you are registered or living in San Marino for more than half of the year, you are usually resident for all of it.
Do I have to file a San Marino tax return for the year I leave?
Yes, if you were resident for that year or earned San Marino income that requires a return. For 2026 the return is due by 31 July 2027. Not filing costs 100% to 300% of the unpaid tax, with a minimum of EUR 500.
Does San Marino have an exit tax for individuals?
We did not find an individual exit tax on unrealised gains in the IGR provisions we reviewed. Gains you realise while resident are taxed at 10%. After you leave, your new country's rules apply to later sales.
Can I keep my San Marino company after I move abroad?
Yes. The company remains a San Marino taxpayer at 18% for 2026 to 2030. But if you manage it alone from your new country, that country may claim to tax it too, so keep real management in San Marino or restructure.
What does San Marino tax once I am non-resident?
Only income produced in San Marino. Fees from San Marino clients for self-employed services bear a 20% final withholding, and capital income from San Marino payers bears 13%.
Related guides
- Tax residency in San Marino: the 2026 rules and tests
- Personal income tax in San Marino
- Corporate income tax in San Marino
- Capital gains tax in San Marino
- Specific taxes and withholding in San Marino
- San Marino tax overview: every tax on one page
- All country tax guides
Sources
- Law No. 166 of 16 December 2013, General Income Tax (IGR) – Consiglio Grande e Generale
- Law No. 141 of 12 November 2025, amendments to the IGR law – Consiglio Grande e Generale
- Consolidated IGR text, updated to 22 December 2025 – Consiglio Grande e Generale
- Domestic taxation – Secretariat of State for Finance
- International taxation and double tax agreements – Secretariat of State for Finance
- Obtaining residence – Government of San Marino
- Model Tax Convention on Income and on Capital 2017 – OECD
Moving on from San Marino?
Get a clear exit plan so your last San Marino year is the last one.
Start with Heavnn →