As a digital nomad in Europe, you are normally tax resident wherever the law of a country says you are, and that is decided by each country's own tests, not by where you happen to be working this month. For UK citizens, the key test is the UK statutory residence test: you can remain UK tax resident while travelling if you keep enough days and ties here. The popular "183-day rule" is only one test among several, and failing it in one country doesn't stop another from treating you as resident.

This guide explains how residence works for location-independent affiliates and webmasters, how double tax treaties resolve conflicts, and what the best-known European regimes for remote workers actually offer.

This is general information, not tax advice. Residence decisions have big consequences; take advice from a specialist in each country involved before you move.

Why residence matters more than where you work

Residence decides which country can tax your worldwide income. A UK-resident affiliate pays UK tax on commissions from every program, wherever the traffic or the payer is. A non-resident generally pays UK tax only on UK-source income, and an online business run entirely from abroad often has little or none.

Being "resident nowhere" is not a safe position. Banks, payment providers, crypto exchanges and fan platforms must ask for your tax residence and report your accounts to that country under international exchange rules. If you can't name one, expect questions, and expect your former home country to argue you never left.

The UK statutory residence test

The statutory residence test (SRT) is applied for each tax year, 6 April to 5 April, in this order. HMRC summarises it on its residence page, with full detail in its RDR3 guidance.

1. Automatic overseas tests (you are non-resident if any applies)

  • You spent fewer than 16 days in the UK, having been resident in one or more of the previous three tax years.
  • You spent fewer than 46 days in the UK, having not been resident in any of the previous three tax years.
  • You worked full-time abroad, spent fewer than 91 days in the UK and worked here on no more than 30 of them.

2. Automatic UK tests (you are resident if any applies)

  • You spent 183 days or more in the UK.
  • You had a UK home for at least 91 consecutive days (at least 30 of them in the tax year), spent at least 30 days there, and had no overseas home or spent fewer than 30 days at it.
  • You worked full-time in the UK for a 365-day period.

3. Sufficient ties test

If neither set of automatic tests settles it, your residence depends on your days in the UK combined with your UK ties: family (a UK-resident spouse, partner or minor child), accommodation available to you, substantive UK work, having spent more than 90 days here in either of the previous two years and, for people leaving, the UK being the country where you spent most time.

Days in UKTies needed to be resident (leavers: resident in 1+ of last 3 years)Ties needed (arrivers)
16 to 454Always non-resident
46 to 9034
91 to 12023
121 to 18212

A day usually counts if you are in the UK at midnight. The country tie catches many nomads: if you move between several countries and spend no more nights in any one of them than in the UK, the UK counts as your main country and you have another tie. This is also why a UK nomad who keeps a flat, has a partner at home and spends 100 days a year back in the UK can easily remain UK resident despite spending most of the year abroad.

Hypothetical example: an affiliate who was UK resident last year spends 70 days in the UK this year, keeps a flat available to them in London, spent more than 90 days here last year and spent more midnights in Portugal than in the UK. That is two ties at 46 to 90 days, one short of the three needed, so they are non-resident, provided no automatic test applies. Add a UK-resident partner and they become resident.

Leaving for a short time

Under the temporary non-residence rules, if you become non-resident but return within five years, some income and gains realised while you were away, such as certain gains and company distributions, can be taxed when you come back. Short "tax years abroad" can backfire.

The 183-day rule tax myth

"Spend fewer than 183 days anywhere and you're not taxed anywhere" is wrong for three reasons:

  1. Many countries have tests other than days. Spain treats you as resident if you spend more than 183 days there or if your main centre of economic interests is there. Germany can treat you as resident simply because you have a home available there. The UK, as above, combines days with ties.
  2. The 183-day test in tax treaties is about something else. It mainly decides whether an employee's salary can be taxed in the country where they work, not where a self-employed person is resident.
  3. Your home country doesn't stop counting when you leave. Unless you meet its own tests for leaving, you remain resident there.

Double tax treaties and the tie-breaker

If two countries both treat you as resident under their own laws, a double tax treaty between them usually decides which one wins for treaty purposes. Most UK treaties follow the OECD model, which looks in turn at:

  1. where you have a permanent home available;
  2. if that's both or neither, where your centre of vital interests is (personal and economic ties);
  3. then where you have a habitual abode;
  4. then nationality, and finally agreement between the two tax authorities.

The treaty also gives the other country credit for tax paid, so you shouldn't be taxed twice in full, but you may still have to file in both. Treaties also matter when US programs pay you, which is why the residence you claim on a W-8BEN form must be accurate.

Non-resident affiliate tax: your business, not just you

If you run your sites through a UK limited company and move abroad, the company can become tax resident where it is really managed, which may be wherever you are making the decisions. That can create a tax presence in your new country you didn't plan for. Our comparison of sole trader vs limited company explains the UK side; take local advice on the rest.

VAT follows different rules. Where you are established for VAT, and where your customers are, decide your VAT obligations, separately from income tax residence.

Nomad visas and special tax regimes in Europe

A digital nomad visa is permission to live somewhere; it doesn't by itself decide your tax. Some countries pair residence with a special tax regime for new arrivals. The rules are strict, change often and frequently exclude self-employed online business owners, so treat this as a map, not a recommendation.

CountryRegimeHeadline treatmentWatch for
UKForeign income and gains (FIG) regime, from April 2025New arrivals who have been non-resident for 10 years can claim relief on foreign income and gains for their first four years of UK residenceReplaced the old non-dom remittance basis; UK income still taxed
SpainSpecial regime for inbound workers ("Beckham law")24% flat rate on employment income up to €600,000, for the year of arrival plus five more; available to some digital nomad visa holdersNot resident in Spain in previous five years; strict application deadline after registering
ItalyImpatriate regime (revised 2024)50% of qualifying work income exempt, capped at €600,000 a year, for five yearsMust be highly qualified or specialised; not resident in previous three years; must stay four years or repay the benefit
PortugalIFICI, which replaced the NHR regime20% on qualifying Portuguese professional income for 10 years; much foreign income exemptLimited to specific qualifying activities, which typical affiliate businesses may not meet

Before you rely on any of these, confirm with the national tax authority or a local adviser that your income type qualifies.

Practical steps for location-independent webmasters

  • Keep a day-count log with flights, accommodation and where you were at midnight.
  • List your UK ties each tax year and decide deliberately which you'll keep.
  • Get advice before you go, not after; the order of moves can matter.
  • Register properly in your new country if you become resident there, and get a tax number.
  • Update your tax residence with every bank, payout provider, platform and program, and keep it consistent everywhere.
  • Keep crypto records especially carefully: moving abroad doesn't erase gains, and our guide to tax on crypto payouts explains why.

Frequently asked questions

Can I be tax resident in two countries at once?

Yes, under each country's domestic law. A double tax treaty then usually decides which country has the main right to tax, and the other gives credit for tax paid.

If I spend under 183 days in the UK, am I non-resident?

Not necessarily. Under 183 days you avoid one automatic UK test, but the sufficient ties test can still make you resident with far fewer days.

Does a digital nomad visa make me tax resident?

Not on its own, but living somewhere on one often meets that country's residence tests. Check the tax position before you apply, not after you arrive.

Next steps

Start your day-count log now and review your UK ties before the next tax year starts on 6 April. If you are choosing where to base yourself, our guides to Malta and Cyprus as online business bases cover the commercial side, and our tax and VAT hub has more.