AI expert analysis based on the knowledge base sections loaded above.
UK Freelance Web Developer on £95,000: Splitting the Year Between the UK, Spain and Portugal
Tax years: UK 2025-26 (6 April 2025 to 5 April 2026). Spain and Portugal use the calendar year (2025), so their "4 months" will not line up exactly with the UK year.
Assumptions:£95,000 is taxable trading profit after expenses."4 months each" means about 120 to 123 midnights in each country.You were UK resident in at least one of the previous three tax years, so the "leaver" rules apply.You are an English (not Scottish) taxpayer with no other income.You have no spouse, partner or children resident abroad.
1. UK Residence: the Statutory Residence Test (FA 2013 Sch 45)
Step 1: Automatic overseas tests (all fail)
| Test | Condition | You | Result |
|---|
| Leaver day limit | Fewer than 16 UK days | ~122 | ✗ |
| Full-time work overseas | 35+ hrs/week average abroad, fewer than 91 UK days, fewer than 31 UK workdays, no significant break (para 14) | ~122 UK days | ✗ |
Step 2: Automatic UK tests (probably not met)
183+ UK days: no (~122).Only home in the UK: met only if you have a UK home and no home overseas. Short-term rentals or Airbnbs abroad are unlikely to count as a "home", so check this carefully.Full-time work in the UK: unlikely, because your work is spread across three countries.Step 3: Sufficient ties test (the deciding test)
The exact day count matters, because ~122 days sits on a band boundary. 365 ÷ 3 = 121.7, so you are most likely in the 121–182 band.
| UK days | Ties needed (leaver) |
|---|
| 91–120 | 2 |
| 121–182 | 1 |
Your likely UK ties:
| Tie | Likely met? |
|---|
| 90-day tie: more than 90 UK days in either of the two previous tax years | Almost certainly, if you were previously UK-based |
| Work tie: 40+ UK days working more than 3 hours | Very likely over ~122 UK days |
| Accommodation tie: UK accommodation available for a continuous 91+ days and used for at least one night | Likely, if you keep a UK home |
| Country tie (leavers only): the UK is where you spend the most midnights | Likely. Where midnights are equal, the UK can still count if it ties for the highest number |
| Family tie: UK-resident spouse, partner or minor child | Depends on your circumstances |
Conclusion: you are almost certainly
UK resident for the whole of 2025-26, probably with 3 or 4 ties when only 1 or 2 are needed. You are therefore taxable in the UK on your
worldwide income.
Split-year treatment (Sch 45 Part 3) is
not available. It covers specific one-off departures, such as starting full-time work overseas or ceasing to have a UK home. A rotating pattern between three countries is not a departure.
What it would take to become non-resident
It would need a real change of lifestyle, for example:
cutting UK days to fewer than 16, or to 16–45 days with no more than 3 ties; orgiving up your UK home and genuinely relocating to Spain or Portugal (more than 183 days there).Avoid being "resident nowhere". Treaty protection only works once you are resident somewhere.
2. Your UK Tax Bill as a Sole Trader (2025-26)
Income tax (ITA 2007; trading income under ITTOIA 2005 Part 2)
Your income is below £100,000, so there is no personal allowance taper.
| Item | Working | Amount |
|---|
| Trading profit | | £95,000 |
| Personal allowance | | (£12,570) |
| Taxable income | £95,000 − £12,570 | £82,430 |
| Basic rate | £37,700 × 20% | £7,540.00 |
| Higher rate | (£82,430 − £37,700) = £44,730 × 40% | £17,892.00 |
| Income tax | | £25,432.00 |
Class 4 NIC (SSCBA 1992)
| Band | Working | Amount |
|---|
| Main rate | (£50,270 − £12,570) = £37,700 × 6% | £2,262.00 |
| Upper rate | (£95,000 − £50,270) = £44,730 × 2% | £894.60 |
| Class 4 | | £3,156.60 |
Class 2: there is no compulsory Class 2 from 6 April 2024. Your profits exceed the £6,845 Small Profits Threshold, so you are treated as having paid it and your State Pension year is protected.
Totals
Total UK tax and NIC: £25,432.00 + £3,156.60 = £28,588.60Effective rate: £28,588.60 ÷ £95,000 = 30.1%Net income: £95,000 − £28,588.60 = £66,411.40Planning point: personal pension contributions
Gross personal pension contributions
extend your basic-rate band (£37,700 + gross contribution) under FA 2004 s.192. Each £1 of gross contribution that moves income out of the higher-rate slice saves 40p of income tax. Up to £44,730 of income currently sits in that slice. This is the simplest and most effective saving available to you.
3. Spain
Residence (Ley 35/2006 del IRPF, art. 9)
You are Spanish resident if you spend
more than 183 days in Spain in the calendar year, or if Spain is your main centre of economic or vital interests.
At ~122 days you should be non-resident.Trap: Spain can count "sporadic absences" toward the 183 days unless you prove tax residence elsewhere. Obtain a UK certificate of residence from HMRC to rebut this.Tax if non-resident
Any Spanish-source income without a permanent establishment falls under IRNR (Real Decreto Legislativo 5/2004), filed on Modelo 210.As a UK resident (outside the EU/EEA since Brexit), the rate is a flat 24%.The 19% rate is not available to you, and the resident IRPF progressive bands do not apply to non-residents.Treaty protection (UK–Spain Double Taxation Convention 2013)
Art 7 (business profits): a UK resident's business profits are taxable only in the UK unless the business is carried on through a permanent establishment (PE) in Spain.A remote developer with no fixed place of business in Spain should normally have no Spanish tax to pay.PE risk: using the same Spanish flat or co-working desk as your office for four months every year increases the risk. Rotating accommodation lowers it.If a PE exists: Spain taxes the profit attributable to it. The UK then gives Foreign Tax Credit Relief (TIOPA 2010 Part 2) on the SA106 pages. The credit is capped at the UK tax on that same income, and the foreign tax is converted to sterling at the exchange rate on the date the income arose.
4. Portugal (confirm with a Portuguese adviser)
Residence is broadly triggered by more than 183 days in any 12-month period, or by having accommodation on any day in circumstances suggesting you intend to keep it as your habitual residence.The habitual-residence limb is the real risk for you. Keeping a long-term Portuguese lease could make you resident even at ~122 days.Treaty: the UK–Portugal Double Taxation Convention dates from 1968 (as amended). It may use an independent personal services or "fixed base" article rather than a modern business-profits article. Confirm the current text and conditions.NHR: the former NHR regime has been replaced by a narrower incentive regime (IFICI). Do not assume any special regime is available.If you are non-resident with no Portuguese-source income, there should be no Portuguese filing. You may still need a NIF for practical matters.If Spain or Portugal also claims you as resident
Each treaty's Article 4 tie-breaker decides treaty residence. The tests apply in this order:
Permanent home availableCentre of vital interestsHabitual abodeNationalityIf your only permanent home is in the UK, this would normally resolve in the UK's favour.
5. Social Security: Spain and Portugal
Working in Spain or Portugal as self-employed can trigger local registration. Spanish self-employed contributions are substantial:
31.4% general rate, on a minimum base of
€653.59/month (maximum base €5,101.20/month).
Protection under the UK–EU Trade and Cooperation Agreement social security protocol:A self-employed person who regularly works in several states is generally covered only by their state of residence, if a substantial part of the work is done there (around 25% or more).About a third of your work is in the UK, so you should remain solely in the UK NIC system.Apply to HMRC for an A1 certificate as proof for the Spanish and Portuguese authorities. Without it, local contributions could be claimed.Confirm with an adviser how the multi-state rule applies to your rotating pattern, and the current application procedure.
6. UK Compliance
Filing and payment
| Obligation | Deadline |
|---|
| Register for Self Assessment (if not already registered) | 5 October 2026 (TMA 1970 s.7) |
| SA100 + SA103 (self-employment) for 2025-26 | 31 January 2027 online / 31 October 2026 paper |
| SA106 (foreign pages) | Only if foreign tax is paid and credit is claimed |
| SA109 (residence pages) | Only if claiming non-residence or split year (not expected) |
| Balancing payment for 2025-26 | 31 January 2027 |
| Payments on account for 2026-27 | 31 January and 31 July 2027, each £28,588.60 ÷ 2 = £14,294.30 |
Making Tax Digital for Income Tax
MTD starts
April 2026 for qualifying self-employment income over £50,000. At £95,000 you should expect to keep digital records and file quarterly updates from 2026-27.
Penalties to avoid
Late filing (FA 2009 Sch 55): £100, plus £10 a day for 90 days = £1,000. At 6 months late, and again at 12 months, a further penalty of the greater of 5% of the tax due or £300.Inaccurate return (FA 2007 Sch 24): if you wrongly claim non-residence or split year, the penalty is a percentage of the potential lost revenue.| Behaviour | Unprompted min | Prompted min | Max |
|---|
| Careless | 0% | 15% | 30% |
| Deliberate, not concealed | 20% | 35% | 70% |
| Deliberate and concealed | 30% | 50% | 100% |
For example, on £10,000 of lost revenue, a careless error costs between £1,500 (prompted minimum: £10,000 × 15%) and £3,000 (maximum: £10,000 × 30%). If you took
reasonable care, there is
no penalty.
Evidence
Keep a
contemporaneous midnight-by-midnight and workday diary, backed by boarding passes, rental contracts and invoices showing where you worked. HMRC can demand this under FA 2008 Sch 36. Failing to comply attracts a £300 fixed penalty, up to £60 per day after that, and up to £3,000 per inaccurate document.
7. Should You Incorporate?
Assumptions: £95,000 company profit, £12,570 director's salary, rest extracted as dividends. Employment Allowance is not available to a sole-director company.
Corporation tax
The company is UK resident because it is UK-incorporated (CTA 2009 s.14). Profit falls between £50,000 and £250,000, so the
marginal relief formula applies (CTA 2010 Part 2 Ch 3A), not banded rates.
| Step | Working | Amount |
|---|
| Employer NIC | (£12,570 − £5,000) × 15% | £1,135.50 |
| Taxable profit | £95,000 − £12,570 − £1,135.50 | £81,294.50 |
| CT at main rate | £81,294.50 × 25% | £20,323.63 |
| Marginal relief | 3/200 × (£250,000 − £81,294.50) | (£2,530.58) |
| Corporation tax | £20,323.63 − £2,530.58 | £17,793.05 |
| Available for dividends | £81,294.50 − £17,793.05 | £63,501.45 |
Personal tax on extraction
The salary uses your personal allowance. Employee NIC is nil, because £12,570 equals the primary threshold.
| Dividend slice | Working | Tax |
|---|
| Dividend allowance (still uses basic band) | £500 × 0% | £0 |
| Basic rate | (£37,700 − £500) = £37,200 × 8.75% | £3,255.00 |
| Higher rate | (£63,501.45 − £37,700) = £25,801.45 × 33.75% | £8,707.99 |
| Dividend tax | | £11,962.99 |
Comparison
| Sole trader | Company (full extraction) |
|---|
| Total tax and NIC | £28,588.60 | £1,135.50 + £17,793.05 + £11,962.99 = £30,891.54 |
| Net cash to you | £66,411.40 | £12,570 + £63,501.45 − £11,962.99 = £64,108.46 |
If you take out all the profit, a company leaves you about £2,303 worse off each year (£66,411.40 − £64,108.46), before accountancy and payroll costs.
Further points against incorporating now
No international benefit: a company does not change your personal residence.Added cross-border risk: working from Spain or Portugal could give the company a PE there (Spanish CT is 25%, Ley 27/2014). If board decisions are effectively taken abroad, either country could also claim the company as resident. Keeping decisions in the UK and minuting board meetings there reduces this risk.Offshore companies don't help: a Spanish or Portuguese company owned by you while UK resident falls within Transfer of Assets Abroad (ITA 2007 s.720 onward), with its income taxed on you at up to 45%. A foreign company managed and controlled from the UK is UK resident anyway (*De Beers Consolidated Mines v Howe* [1906]).IR35: if your clients are medium or large UK businesses, the off-payroll rules (ITEPA 2003 Part 2 Chapter 10) could remove the dividend advantage entirely.Director's loans: an overdrawn loan account not repaid within 9 months triggers a 33.75% charge (CTA 2010 s.455).Dividend rates change from 6 April 2026. Confirm the new rates with an adviser. Any increase makes incorporation less attractive from 2026-27.When a company does help: only if you retain profits in the company, or extract value through employer pension contributions.
Summary
| Question | Answer |
|---|
| UK residence | Almost certainly UK resident for 2025-26: probably 3–4 ties against 1–2 needed |
| Split year | Not available for a rotating pattern |
| UK liability | £25,432.00 income tax + £3,156.60 Class 4 = £28,588.60 (net £66,411.40) |
| Spain | Likely non-resident. No Spanish tax on business profits without a PE. Any Spanish-source income without a PE is IRNR at a flat 24% |
| Portugal | Likely non-resident on days, but the habitual-residence rule is a real risk if you keep a regular home there |
| Social security | Stay in UK NIC. Obtain an A1 certificate |
| Incorporate? | Not on these figures: about £2,303 a year worse off and no cross-border advantage |
Key Actions
Keep a day and workday diary with supporting evidence.Obtain an HMRC certificate of residence (to protect against Spain's sporadic-absence rule and Portugal's home test) and an A1 certificate.Avoid a fixed, recurring workspace in Spain or Portugal, and avoid long-term leases there, especially in Portugal.File your 2025-26 return by 31 January 2027 and set up MTD-compatible software ahead of April 2026.Use personal pension contributions to cut your 40% tax before considering a company.Take local advice in Spain and Portugal to confirm residence, PE and social-security positions.This is tax information, not regulated tax advice.
*Verified: 40 claims checked · 0 corrected · 0 flagged · 1 foreign-law/treaty citation(s) outside the UK knowledge base — confirm with a local adviser: the UK–Portugal Double Taxation Convention dates from 1968 (as amended). It may use an independent personal services or "fixed base" article.*
Disclaimer: This is tax information for educational purposes only — not regulated tax advice. Tax rules change frequently and individual circumstances vary. Always consult a qualified tax professional before acting. AITaxAdvise is a division of Tyga.Cloud Ltd.