A remote job feels borderless. The rules that govern it are not.

Three rule-books, one trip

Open your laptop in a cafe in another country and you are quietly being measured by three separate systems that rarely talk to each other:

  • Immigration — does your visa or entry stamp permit you to work at all?
  • Tax residency — have you stayed long enough that this country wants to tax you?
  • Your employer's tax — does your presence create a taxable footprint for the company that pays you?

Each has its own clock, its own thresholds, and its own idea of what "work" means. None of them resets just because the others look fine. Confuse one for another and the surprise usually arrives months later, in a letter.

Can your visa even allow it?

Start with the border. Most tourist or visitor permits are for tourism, not work — and the definition of "work" is set by the country you are standing in, not by where your salary lands.

The United States is blunt about it: a visitor (B-1/B-2) visa is for "tourism," "vacation," and visiting relatives, and "an individual on a visitor visa (B1/B2) is not permitted to accept employment or work in the United States" (U.S. Department of State). Working remotely for a foreign employer sits in a grey area many countries don't actively police — but "rarely enforced" is not the same as "permitted."

A few places have written the grey area into law. New Zealand now lets visitors "work for an overseas employer or client" while in the country, for applications received from 27 January 2025 — though the same rules still bar working for a New Zealand employer or doing anything that needs you physically at a local workplace, and warn that staying past a tax threshold (commonly 92 days, sometimes extendable to 183 under a treaty) can make your income taxable "from the first day" of your presence (Immigration New Zealand). The cleaner long-stay route, in a growing number of countries, is a dedicated digital-nomad visa — but income floors, day limits and eligibility vary widely, so check the official source for each.

The takeaway is not a universal rule. It is that there isn't one: whether your remote work is allowed depends on the specific country and your specific permit, and it changes.

The day count that can make you a tax resident

Clear the border and a second clock starts: how long can you stay before the country wants a share of your income?

There is no single global answer. Many countries treat roughly 183 days in a defined period as a line for tax residency — but the exact number, the window it is measured over, and the other tests that can catch you on fewer days all vary by country and treaty. We pull that apart in The "183-day rule" is not one rule. The point for a remote worker is plain: the longer you linger somewhere productive, the more likely a second country starts to see you as one of its taxpayers — and "I was only working, not living here" is not a defence the rules recognise.

Staying under a country's tax line is also a different question from staying legal at the border. The Schengen 90/180 limit, for instance, governs your right to be in the area — not where you owe tax. Don't let a clean travel record stand in for a clean tax position; if you are unsure you are resident anywhere, Can you be a tax resident of nowhere? explains why that is rarely the safe harbour it sounds like.

When your laptop becomes your employer's problem

There is a third party in the room you may never think about: the company that pays you. If an employee works regularly from another country, that country may decide the employer has a taxable presence there — a "permanent establishment" — with filing and tax consequences for the business.

This used to be murky. In November 2025 the OECD updated its Model Tax Convention — the template most of the world's tax treaties follow — specifically to reflect the rise of cross-border remote work, clarifying when a home office can count as a "place of business" of the employer (OECD). Broadly, the updated commentary looks at whether someone works from a home office for at least half of their working time over a rolling 12-month period, together with whether there is a genuine commercial reason for being there — working from abroad purely for personal convenience generally doesn't, on its own, create one (EY summary).

This is employer-facing, technical, and not yet uniform — it is a model, individual countries can and do deviate, and several have entered reservations. You don't need to master it. You need to know it exists, that it turns partly on how much time you spend working from where, and that your employer may have a stake in your day count too.

What actually protects you

Across all three systems, the recurring input is the same: dates. Which country, which days, when you arrived, when you left. Immigration counts them, tax authorities count them, and an employer's exposure can hinge on them — and in a dispute, the burden of proving where you were usually falls on you, not on the office asking.

People reconstruct this from memory, boarding passes and half-remembered weekends. Border systems and tax offices reconstruct it from records. The gap between those two versions is where the trouble lives.

That gap is the quiet thing Countly closes. It keeps an automatic, private, per-country record of the days you spend and the borders you cross — on your phone, with no account and no analytics — so the tally you bring to a visa form, a tax adviser, or your own peace of mind is the real one, not a guess. It won't tell you which rule applies to you. It makes sure that when one does, you can answer the single question all three systems agree on: how many days, and exactly when.

This is general information, not legal or tax advice. Immigration and tax rules vary by country and change — check the official sources or a qualified professional for your own situation.