---
title: How to Legally Reduce Your Taxes While Working Remotely Across Borders
siteUrl: https://logzly.com/remotetaxinsights
author: remotetaxinsights (Remote Tax Insights)
date: 2026-06-16T15:21:51.033884
tags: [tax, remotework, digitalnomad]
url: https://logzly.com/remotetaxinsights/how-to-legally-reduce-your-taxes-while-working-remotely-across-borders
---


**Disclosure: We are reader supported, and earn affiliate commissions when you buy through us.**


You’ve probably heard the phrase “work from anywhere” and imagined sipping coffee in Bali while your paycheck rolls in. The reality is a bit messier – every new country you set up shop in brings its own tax rules. Get them right and you keep more of what you earn; get them wrong and the tax office will remind you, politely but firmly, that you owe them. Below is a straightforward game plan that lets you [stay compliant when earning income across borders](/remotetaxinsights/how-to-stay-compliant-when-earning-income-across-borders-a-step-by-step-guide-for-remote-professionals) while trimming the tax bite.

## Know Where You’re Tax Resident – It’s Not Just About Where You Sleep  

### The residency test in plain English  

Most countries decide residency based on two simple ideas: **physical presence** and **center of vital interests**. Physical presence means the number of days you spend in a country. The classic rule is 183 days – stay longer than that and you’re usually a tax resident. The “center of vital interests” looks at where your family lives, where you own a home, where you bank, and where you spend most of your time.

### Why it matters for remote workers  

If you’re hopping between Portugal, Mexico, and Thailand, you could end up a tax resident in more than one place. That triggers double taxation unless a treaty steps in. The first step is to map out your calendar for the year and see which jurisdictions cross the 183‑day line. Then, check if you have a “tax home” – the place you consider your main base. That will be the anchor for most of your [tax obligations](https://www.amazon.com/s?k=tax+obligations&tag=organizationtip101-20).

## Use Tax Treaties – Your Secret Weapon  

### What’s a treaty and why you should care  

A tax treaty is a bilateral agreement that says, “We’ll each tax only the income that belongs to us, and we’ll give you credit for taxes paid abroad.” Over 150 countries have treaties with the [United States](https://www.amazon.com/s?k=United+States&tag=organizationtip101-20), the UK, Canada, and many EU states. If you’re a US citizen working in Spain, the US‑Spain treaty can prevent you from paying full US tax on the same salary you already paid Spanish tax on.

### How to apply it  

1. Identify the treaty between your home country and the country you’re working in.  
2. Look for the “residence” and “source” articles – they tell you which country gets the right to tax which income.  
3. File the appropriate forms (for US citizens, that’s usually Form 1116 for foreign tax credit). For a practical walkthrough, see our [step‑by‑step guide to filing remote‑work taxes](/remotetaxinsights/a-stepbystep-guide-to-filing-remotework-taxes-as-a-digital-nomad).  

If you’re unsure, a quick chat with a tax consultant can save you hours of paperwork.

## Claim the Foreign Earned Income Exclusion (FEIE) – A US‑Centric Hack  

If you’re a US citizen or green‑card holder, the IRS lets you exclude up to $120,000 (for 2024) of foreign earned income if you meet either the **Bona Fide Residence Test** or the **Physical Presence Test**.

- **Bona Fide Residence Test**: You must live in a foreign country for an uninterrupted year and intend to stay there.  
- **Physical Presence Test**: You must be physically present in a foreign country for at least 330 full days in any 12‑month period.

Both tests require good record‑keeping. Keep a travel log, passport stamps, and [rental agreements](https://www.amazon.com/s?k=rental+agreements&tag=organizationtip101-20). The exclusion is a powerful tool, but remember it doesn’t cover self‑employment tax, which the US still expects you to pay.

## Leverage Local Deductions and Credits  

Every country has its own set of deductions – think [home office expenses](https://www.amazon.com/s?k=home+office+expenses&tag=organizationtip101-20), [health insurance premiums](https://www.amazon.com/s?k=health+insurance+premiums&tag=organizationtip101-20), or even a “digital nomad tax break.” For example, Estonia offers a flat 20% corporate tax on retained earnings, but if you register a company there and pay yourself a salary, you can deduct that salary as a business expense. Portugal’s Non‑Habitual Resident (NHR) regime lets certain professionals pay a flat 20% on foreign‑sourced income for ten years.

### Quick checklist  

- **[Home office](https://www.amazon.com/s?k=home+office&tag=organizationtip101-20)**: If you have a dedicated workspace, many jurisdictions let you deduct a portion of rent, utilities, and internet.  
- **[Health insurance](https://www.amazon.com/s?k=health+insurance&tag=organizationtip101-20)**: Some countries treat private health premiums as a tax‑deductible expense.  
- **[Retirement contributions](https://www.amazon.com/s?k=retirement+contributions&tag=organizationtip101-20)**: Contributions to local pension schemes often reduce [taxable income](https://www.amazon.com/s?k=taxable+income&tag=organizationtip101-20).  

Research the specific rules of each country you plan to stay in for more than a month. A small deduction today can turn into a big saving by year‑end.

## Structure Your Income – Salary vs. Contractor vs. Company  

### Salary (employee)  

If you’re on a payroll, your employer usually withholds tax according to the local rules. This is the simplest route, but you may lose out on deductions you could claim as a contractor.

### Contractor (self‑employed)  

You control your invoices and can deduct [business expenses](https://www.amazon.com/s?k=business+expenses&tag=organizationtip101-20) more freely. However, you’ll need [to file](https://www.amazon.com/s?k=To+File&tag=organizationtip101-20) self‑employment [tax returns](https://www.amazon.com/s?k=tax+returns&tag=organizationtip101-20) in each jurisdiction where you earn. Some countries treat short‑term contractors as “non‑resident” and tax only the income earned within their borders.

### Set up a foreign company  

Many digital nomads create a “shell” company in a low‑tax jurisdiction (e.g., Singapore, Estonia, or the UAE). They then invoice clients through that company and pay themselves a salary. The company’s profit is taxed at the corporate rate, often lower than personal rates, and you can defer personal tax until you draw a salary or dividend. This structure adds complexity and compliance costs, so weigh it against the potential savings.

## Keep Clean Records – The Unsung Hero  

Tax authorities love paperwork. A well‑organized folder can be the difference between a smooth audit and a sleepless night. Here’s what to keep:

- Daily travel log (date, country, purpose)  
- Copies of rental agreements, [utility bills](https://www.amazon.com/s?k=utility+bills&tag=organizationtip101-20), and internet invoices  
- [Bank statements](https://www.amazon.com/s?k=bank+statements&tag=organizationtip101-20) showing foreign income and tax payments  
- Receipts for any business‑related expense (software, coworking space, travel)  

Store everything digitally in a cloud folder with date stamps. When the tax season rolls around, you’ll thank yourself.

## Plan Ahead – The Calendar Is Your Ally  

[Tax planning](https://www.amazon.com/s?k=tax+planning&tag=organizationtip101-20) is not a one‑off task. At the start of each year, sit down with a spreadsheet and plot:

1. Expected travel dates and days per country  
2. [Income sources](https://www.amazon.com/s?k=income+sources&tag=organizationtip101-20) and where they will be earned  
3. Which treaties apply and what forms you’ll need  

Adjust your plans if you see a red flag – for instance, a two‑month stint in a high‑tax country that pushes you over the 183‑day threshold. A short change in itinerary can keep you in a lower‑tax jurisdiction without sacrificing the experience.

## When in Doubt, Get [Professional Help](https://www.amazon.com/s?k=professional+help&tag=organizationtip101-20)  

I get it – the tax code feels like a maze built by accountants who love riddles. That’s why I started Remote Tax Insights: to give remote workers a clear map. A short consultation can uncover credits you didn’t know existed and help you avoid costly mistakes. Think of it as an investment in [legally reducing your taxes while working remotely across borders](/remotetaxinsights/how-to-legally-reduce-your-taxes-while-working-remotely-across-borders) for the next adventure.
