Tax residence vs where your client is: which country taxes your freelance income?

Last updated 19 October 2026.

If you freelance or contract from abroad, one of the most common mix-ups is about which country gets to tax your income. Plenty of people assume it follows the client: a UK client means UK tax, a US client means US tax. Others assume it follows the bank account the money lands in. In most systems neither is the starting point. The starting point is where you are tax resident, and residence is decided by each country’s own rules about days, homes and ties. Where your client sits and where you physically do the work come in later, mostly through tax treaties. This guide walks through how residence is tested in the UK, the US, Australia and Canada, what a treaty does when two countries both claim you, where the client’s location really does matter, and a worked day-count example you can adapt to your own calendar.

This is general information, not tax or legal advice. Residence rules turn on detail, and the official guidance quoted below was checked on 19 October 2026. If a lot of money or a move between countries is involved, a qualified adviser in each country is worth paying for.

This piece sits in the Earn section. It pairs with Getting paid in one country while you live in another (the practical side of receiving the money) and W-8BEN for freelancers living abroad (the form US clients and platforms ask for).

The short version

  • Residence comes first. Each country decides for itself whether you are resident, using its own tests. Being resident usually means that country can tax your income from everywhere, not only income from local clients.
  • The client’s location is not a residence test. None of the four official residence tests summarised below asks where your customers are based.
  • You can be resident in two countries at once, or in none. Each country applies its own rules without checking what the other concluded.
  • Treaties settle double claims. Where there is a tax treaty, a “tie-breaker” decides which country counts as your residence for treaty purposes, and other articles decide which country may tax which income.
  • Where you physically work matters more than where the client is. For employees, treaties generally look at where the work is done. For the self-employed, the question is whether you have a fixed base or “permanent establishment” in the other country.
  • US citizens are a special case. The US taxes its citizens on worldwide income wherever they live.

Why “where my client is” feels like the answer

The confusion is understandable. A US platform asks for a W-8BEN, a UK agency asks for your National Insurance number, a client’s finance team asks which country you invoice from. Each of those is the payer collecting information for its own reporting or withholding, not a ruling on where you owe income tax. Some countries do withhold tax at source on certain payments to non-residents, and that is one place the client’s country genuinely matters (more on that below). But withholding is usually a prepayment or a final tax on a specific type of income, and it sits alongside, not instead of, the question of where you are resident.

How four countries test residence

Each country uses different tools. Some count days, some weigh your ties, most do both. Here is how the official guidance describes the main tests.

United Kingdom: the Statutory Residence Test

HMRC’s guidance note RDR3 (updated 11 June 2026) sets out the Statutory Residence Test for each tax year, which runs from 6 April to 5 April. It works in three steps.

Step 1: automatic overseas tests. You are not UK resident for the year if any one of these applies:

  • you were UK resident in one or more of the previous 3 tax years and you spend fewer than 16 days in the UK in the year;
  • you were UK resident in none of the previous 3 tax years and you spend fewer than 46 days in the UK; or
  • you work full-time overseas over the year, spend fewer than 91 days in the UK, work for more than 3 hours on fewer than 31 UK days, and have no “significant break” from overseas work (a break of at least 31 days).

Step 2: automatic UK tests. If none of the overseas tests applies, you are UK resident if any one of these does:

  • you spend 183 days or more in the UK in the year;
  • you have a UK home for at least one period of 91 consecutive days, at least 30 of those days fall in the year, you are present in that home on at least 30 days, and you have no overseas home or spend fewer than 30 days in it; or
  • you work full-time in the UK for any period of 365 days, with more than 75% of your workdays in that period being UK days.

Step 3: the sufficient ties test. If neither set of automatic tests settles it, you compare your UK days with your UK ties. HMRC’s manual (RFIG20500 onwards) defines the ties:

  • Family tie: broadly, a UK-resident spouse, civil partner or partner, or a minor child who is UK resident.
  • Accommodation tie: a place to live in the UK that is available to you for a continuous period of 91 days or more in the year and where you spend at least one night, or 16 or more nights if it is a close relative’s home.
  • Work tie: more than 3 hours of work a day in the UK on at least 40 days in the year.
  • 90-day tie: more than 90 days in the UK in either or both of the previous 2 tax years, each year counted separately.
  • Country tie (only if you were UK resident in at least one of the previous 3 years): the UK is the country where you were present at midnight on the most days in the year.

The more ties you have, the fewer days you can spend in the UK before you become resident:

UK days in the tax year Ties needed if UK resident in 1 or more of the previous 3 years (Table A) Ties needed if UK resident in none of the previous 3 years (Table B)
16 to 45 At least 4 Not applicable (fewer than 46 days is automatically non-resident)
46 to 90 At least 3 All 4
91 to 120 At least 2 At least 3
Over 120 At least 1 At least 2

Source: HMRC RDR3, sufficient ties test, Tables A and B. RDR3 also covers split years (where a year can be divided into a UK part and an overseas part when you arrive or leave) and temporary non-residence, which can bring certain income and gains back into UK tax if you return within five years or less.

Notice what is missing from all of that: nothing in the test asks where your clients are.

United States: citizenship, green card or the substantial presence test

The US is different in one big way. IRS Publication 54 (December 2025) says that if you are a US citizen or resident alien, “your worldwide income is generally subject to U.S. income tax, regardless of where you are living.” A US passport holder in Lisbon with only European clients is still in the US system, though Publication 54 also describes the reliefs that can reduce or remove the actual tax.

For everyone else, the IRS substantial presence test applies. You meet it for a calendar year if you were physically present in the US on:

  • at least 31 days during the current year, and
  • 183 days during the 3-year period made up of the current year and the 2 years before it, counting all days in the current year, one-third of the days in the first year before and one-sixth of the days in the second year before.

The IRS’s own example: 120 days in the US in each of 2023, 2024 and 2025 gives 120 + 40 + 20 = 180 days for 2025, so the test is not met. Some days are not counted, such as certain days in transit of under 24 hours and days commuting from Canada or Mexico. There is also a “closer connection” exception for people who meet the test but have a tax home and closer connection in another country. The IRS page sets out the conditions.

Australia: four statutory tests

The Australian Taxation Office’s page on tax residency (last updated 3 June 2026) lists four tests: the resides test, the domicile test, the 183-day test and the Commonwealth superannuation test. The resides test is the primary one; if you reside in Australia, you are resident and need not look at the others. The factors the ATO lists include physical presence, intention and purpose, family, business or employment ties, where your assets are kept, and social and living arrangements.

Under the domicile test, you are resident if your domicile is Australia, unless the ATO is satisfied your permanent place of abode is outside Australia. Under the 183-day test, you are resident if you are in Australia for more than half the income year, unless your usual place of abode is outside Australia and you have no intention of taking up residence. The ATO’s worked examples are worth reading: a teacher on a one-year contract in Japan who rents out her Australian home is still resident under the domicile test, while a worker who moves her whole family overseas for a three-year contract becomes a foreign resident.

Canada: residential ties first

The Canada Revenue Agency’s page on determining residency status says all the relevant facts must be weighed, and that the most important thing is whether you keep or establish significant residential ties with Canada. Significant ties are a home in Canada, a spouse or common-law partner in Canada, and dependants in Canada. Secondary ties that may matter include personal property such as a car, social ties, Canadian bank accounts or credit cards, a Canadian driver’s licence, a Canadian passport and provincial health insurance.

There is also a day count. The CRA’s deemed-residents page says you are a deemed resident if you stay in Canada for 183 days or more in the tax year, do not have significant residential ties, and are not treated as resident of another country under a treaty. Deemed residents report world income for the whole year. If you want the CRA’s view, it publishes Form NR73 (leaving Canada) and Form NR74 (entering Canada) for a residency determination.

The four side by side

Country Main tools Headline day number Asks where your clients are?
United Kingdom Automatic tests, then UK ties weighed against days 183 days is automatically resident; 16 or 46 days can be automatically non-resident No
United States Citizenship or green card; otherwise the substantial presence test 31 days this year and 183 weighted days over three years No
Australia Resides test first; then domicile, 183-day and superannuation tests More than half the income year No
Canada Significant and secondary residential ties; deemed residence by days 183 days or more (deemed residence) No

Sources: HMRC RDR3; IRS substantial presence test; ATO “Your tax residency”; CRA residency status and deemed residents pages, all checked 19 October 2026.

Get the weekly money brief

One email. No spam. Practical tips on earn, grow, and protect.

When two countries both say you are theirs

Because each country only applies its own law, you can end up resident in two at once. A common way it happens: you move abroad mid-year but keep enough UK days and ties to stay UK resident, while your new country treats you as resident from the day you arrived.

This is where tax treaties come in. HMRC’s International Manual (INTM154020) explains that modern UK treaties contain “tie-breaker” rules, applied in order until one gives an answer:

  1. Permanent home. You are treaty resident where you have a permanent home available to you (not necessarily owned).
  2. Centre of vital interests. If you have a permanent home in both, it is the country your personal and economic relations are closer to.
  3. Habitual abode. If that cannot be decided, or you have a permanent home in neither, it is where you habitually live.
  4. Nationality. If you have a habitual abode in both or neither, it is the country you are a national of.
  5. Mutual agreement. If all else fails, the two tax authorities settle it between them.

The same order appears in Article 4(2) of the OECD Model Tax Convention, which most treaties follow, though HMRC stresses that you always need to read the specific treaty. Two practical points from the HMRC manual are easy to miss. First, being treaty resident elsewhere does not erase your UK residence for domestic purposes: you may still have to file UK returns. Second, HMRC says claims to treaty residence abroad should not be “accepted uncritically”, and that substantial amounts of tax often turn on them. Expect to evidence where your home, family and economic life really are.

Where the client’s location does matter

None of this means the client’s country never counts. It matters in three main ways.

1. Where you do the work, for employees

Under Article 15 of the OECD Model, salary is generally taxable only where you are resident unless the employment is exercised in the other country. Even then, the other country cannot tax it if all three of these apply: you are there for no more than 183 days in any twelve-month period starting or ending in the fiscal year; your employer is not resident there; and the pay is not borne by a permanent establishment your employer has there. In other words, it is where you physically do the job that counts, plus where your employer is, not where the end customer sits.

2. Permanent establishment, for the self-employed

For business profits, Article 7(1) of the OECD Model says the profits of an enterprise of one country “shall be taxable only in that State unless the enterprise carries on business in the other Contracting State through a permanent establishment situated therein.” For a freelancer working remotely from their home country for a foreign client, the usual position under a treaty is that the client’s country has no taxing right over the profits, because the freelancer has no fixed place of business there. Spending long stretches working from a client’s office abroad is the situation where that can change, and it is worth checking the specific treaty and getting advice before it happens.

3. Withholding and paperwork

Some payers have to withhold tax on payments to non-residents, or collect forms that let them pay you gross. The W-8BEN that US platforms ask for is the best-known example; our W-8BEN guide covers what it does. Where tax is withheld at source, you usually claim relief for it in your country of residence under the treaty, or reclaim it from the source country.

Illustrative example: one year, two countries

Illustrative. Sam is a UK national and freelance designer who moved to Portugal in 2025. Sam’s clients are a London agency, a US software company and a German publisher. Sam was UK resident in 2024 to 2025, so Table A applies for the 2026 to 2027 UK tax year. Sam’s plan for the year:

  • 70 days in the UK, visiting family and working from the London agency’s office for part of the time;
  • the rest of the year mostly in Portugal, with a few short trips elsewhere;
  • Sam’s old London flat is let out, but Sam stays in a sibling’s spare room on 20 nights;
  • Sam spent 140 days in the UK in 2025 to 2026, the year of the move.

Automatic tests. 70 days is not fewer than 16, so the first automatic overseas test fails. Sam is self-employed rather than working full-time overseas in the RDR3 sense, so this example assumes the third overseas test is not met. 70 days is well below 183, and Sam has no UK home of their own, so the automatic UK tests do not apply either. On to ties.

Tie Sam’s facts Tie?
Family No UK-resident partner or minor children No
Accommodation 20 nights at a sibling’s home, and a sibling counts as a close relative, so the 16-night threshold is passed Yes
Work Plans 45 UK days with more than 3 hours of work Yes (40 or more)
90-day 140 days in the UK in 2025 to 2026 Yes
Country More midnights in Portugal than in the UK No

Three ties with 70 UK days. Table A says 46 to 90 days needs at least 3 ties, so on these facts Sam would be UK resident for 2026 to 2027, even though Sam lives in Portugal and two of the three clients are outside the UK. If Portugal also treats Sam as resident, the UK–Portugal treaty’s tie-breaker would then decide where Sam is resident for treaty purposes.

Now change two facts. Sam keeps UK working days to 35 (no work tie) and stays in a short-let instead of the sibling’s home. That leaves one tie, the 90-day tie, and with 70 days Sam would need three. On those facts Sam would be non-UK resident for the year. Next year, the 90-day tie also falls away if Sam stays under 91 UK days, because it only looks back two years.

The clients did not change between the two versions. The days, the work days in the UK and the bed Sam slept in did.

The US client creates no US residence for Sam: Sam is not a US citizen and spent no days in the US, so the substantial presence test is not in play. What the US client may do is ask Sam for a W-8BEN.

A simple record-keeping habit

Every residence test above depends on facts you will be asked to prove later. A light routine helps:

  • A day log. One line per day: which country you ended the day in, and whether you worked more than 3 hours. A spreadsheet is enough. Keep travel bookings and boarding passes alongside it.
  • A ties note per tax year. Where you could stay in each country, where your partner and children lived, where your main bank, doctor and gym are. The CRA and ATO lists of factors are good prompts.
  • Each country’s year. The UK year runs 6 April to 5 April. The US uses the calendar year. Australia’s income year runs to 30 June. Keep the log daily and you can slice it for any of them.
  • Invoices that match reality. Invoice from the address where you actually live and run the business. It will not decide residence, but a mismatch invites questions.

Common mistakes

  • Treating the client’s country as the tax country. A UK agency client does not make you UK resident; your days and ties might.
  • Counting only the days. The UK ties test, Australia’s resides test and Canada’s residential ties all look beyond a day count. Spending 182 days somewhere is not a guarantee of anything.
  • Forgetting the look-back. The UK’s Table A and 90-day tie both look at earlier years, and the US substantial presence test counts fractions of the two previous years.
  • Assuming “non-resident everywhere” is a plan. Moving between countries without settling anywhere can leave you resident in more than one, and the tie-breaker may not land where you expect.
  • Ignoring citizenship-based tax. US citizens abroad remain in the US system wherever they live and wherever their clients are.

FAQ

My only client is in the UK. Do I pay UK tax?

Not just because the client is there. Whether you are UK resident depends on the Statutory Residence Test. If you are not UK resident, the UK’s right to tax a self-employed person’s profits from work done abroad is generally limited, and a treaty may limit it further. Where the client is matters less than where you did the work and where you live.

Can I be tax resident nowhere?

It is possible on paper if you move constantly and fail every country’s tests, but it is fragile. Most residence tests look at more than days, and a single long stay can tip you into residence somewhere.

Which country wins if two both say I am resident?

If they have a tax treaty, the residence article’s tie-breaker decides: permanent home, then centre of vital interests, then habitual abode, then nationality, then agreement between the tax authorities. If there is no treaty, each country can tax under its own rules, and relief for double taxation depends on each country’s domestic law.

Does a W-8BEN make me non-resident in the US?

No. It is a form you give to a payer to certify your foreign status and claim any treaty benefit. Your US residence is set by citizenship, green card status or the substantial presence test.

How does the UK count a “day”?

RDR3 and the HMRC manual set out the day-counting rules, including some exceptions. Check them before relying on a close count, especially if you travel in and out often.

What this article is not

It is not a full statement of any country’s residence rules, and it does not cover social security, VAT or sales tax, which have their own tests. It does not tell you whether you are resident anywhere. The examples are fictional and simplified. Treaties differ from the OECD Model in places, so the specific treaty between your two countries is the document that counts.

Sources

  1. HMRC: RDR3 Statutory Residence Test guidance note (updated 11 June 2026). Automatic overseas tests (16 days, 46 days, full-time work abroad with fewer than 91 UK days and fewer than 31 UK workdays); automatic UK tests (183 days, UK home, full-time UK work); sufficient ties Tables A and B; split years; temporary non-residence. Last checked 19 October 2026.
  2. HMRC Residence and FIG Regime Manual: RFIG20500 ties test, including RFIG20550 (accommodation tie: 91 days available, 1 night or 16 nights at a close relative’s home), RFIG20560 (work tie: more than 3 hours on at least 40 days), RFIG20570 (90-day tie) and RFIG20580 (country tie). Last checked 19 October 2026.
  3. IRS: Substantial presence test. 31 days and 183 weighted days; worked example of 120 days a year giving 180; excluded days; closer connection exception. Last checked 19 October 2026.
  4. IRS: Publication 54, Tax Guide for U.S. Citizens and Resident Aliens Abroad (December 2025). Worldwide income of citizens and resident aliens generally subject to US tax regardless of where they live. Last checked 19 October 2026.
  5. Australian Taxation Office: Your tax residency (last updated 3 June 2026). Resides, domicile, 183-day and Commonwealth superannuation tests; factors; worked examples. Last checked 19 October 2026.
  6. Canada Revenue Agency: Determining your residency status. Significant and secondary residential ties; Forms NR73 and NR74. Last checked 19 October 2026.
  7. Canada Revenue Agency: Deemed residents of Canada. 183-day rule; reporting world income. Last checked 19 October 2026.
  8. HMRC International Manual: INTM154020 Dual residents. Tie-breaker order; effect of treaty residence; UK filing obligations continue; claims not to be accepted uncritically. Last checked 19 October 2026.
  9. OECD: Model Tax Convention on Income and on Capital 2025 (full version). Article 4(2) tie-breaker; Article 7(1) business profits and permanent establishment; Article 15 employment income and the 183-day condition. Last checked 19 October 2026.
  10. Bankrolled: Getting paid in one country while you live in another.
  11. Bankrolled: W-8BEN for freelancers living abroad.

Get the weekly money brief

One email. No spam. Practical tips on earn, grow, and protect.

Still got a question? Ask Bankrolled and get a quick answer from our guides.

Matt Cartwright
Matt Cartwright

Matt Cartwright runs Bankrolled, a trading name of CLYFAR LTD, a UK company. He edits every guide for people whose income, home and savings sit in different countries, and checks each rule, limit and fee against the official source before it goes up. Nothing here is personal advice.

Articles: 20