I run payroll compliance for a company that has employees in eleven countries, and none of us started out knowing what we were doing. We hired our first remote engineer in Portugal thinking we'd just pay her the same way we paid our US staff, minus a bit of paperwork. Eighteen months and two tax penalties later, I had a much better education in what expatriate payroll actually requires.
The first thing I had to unlearn was the idea that "remote" and "expatriate" are the same problem. A remote hire who is a tax resident of the country they live in is a local employment issue, even if your company has no legal entity there. An expatriate, someone your company physically relocated from one country to work in another, usually on assignment, brings a second layer: home country tax obligations that don't disappear just because they moved. We had both types on our books and treated them identically for the first year. That was the mistake.
Every country has its own test for when someone becomes a tax resident, and most of them hinge on the 183-day rule, but not all of them. Some countries count calendar days present, some count tax years that don't align with the calendar, and a few use a "center of vital interests" test that looks at where your spouse and kids live, where your bank accounts are, even where your gym membership is. I learned the hard way that Germany's test is not the same as Spain's, and Spain's is not the same as the UK's Statutory Residence Test, which has its own scoring system with ties to work days, family presence, and accommodation.
What this means practically is that you cannot run one global payroll calendar and assume tax withholding kicks in at the same trigger everywhere. I now keep a residency tracker for every assignee, updated monthly, that logs physical presence days by country. It sounds excessive until the day a tax authority asks for it, and they will ask.
One of the most expensive mistakes we made in year one was paying both US Social Security and the host country's equivalent for the same employee, on the same income, for months before anyone caught it. Totalization agreements exist specifically to prevent this. The US has them with about thirty countries. If your assignee is going somewhere without one, you need a different strategy, usually a certificate of coverage application well before the assignment starts, not after.
The certificate of coverage is the document that proves to the host country that the employee is still covered under their home social security system and therefore exempt from host country contributions. Applying for this takes weeks in some jurisdictions, and if you miss the window, you may end up paying into a system your employee will never draw benefits from.
If your assignee is still paid from your home country payroll system but performs work in a host country, many jurisdictions require what's called shadow payroll: a parallel, non-paying payroll run in the host country purely for tax reporting and withholding purposes. The employee's actual salary might come from the US, but the host country wants to see the withholding calculated and reported as if it were paid locally.
We didn't set this up for our first assignee to Singapore because nobody told us it was required, and honestly our payroll provider at the time didn't ask the right questions either. The correction process involved amended filings and a very uncomfortable call with the employee, who suddenly had a personal tax liability she hadn't budgeted for. Now shadow payroll is one of the first things we scope before an assignment is approved, not something we figure out after the person has already landed.
Most companies with a real expatriate program use tax equalization, meaning the employee pays roughly what they would have paid in taxes had they stayed home, and the company absorbs the difference between that hypothetical tax and the actual combined home and host tax bill. This protects the employee from being financially punished for taking an international assignment, but it also means your payroll and finance teams need to calculate a hypothetical tax return every year in addition to the real ones.
We outsource this calculation to a specialist firm now because doing it in house was consuming more of my team's time than the rest of payroll combined. If you're running fewer than five expatriates, it might still make sense to do it internally, but the moment you cross into double digits, the complexity multiplies faster than headcount does.
Tax treaties between countries can reduce or eliminate double taxation, but the relief usually has to be claimed, it doesn't apply itself. Each treaty has its own forms, its own deadlines, and its own definitions of what counts as taxable presence. I've seen companies assume that because a treaty exists, their employee is automatically protected, only to find out at filing time that the employee missed a claim deadline and now owes tax in both countries with no easy way to recover it.
My advice is to build treaty claim deadlines into your assignment calendar the same way you'd track visa renewal dates. They are just as consequential and just as easy to miss if nobody owns them.
Get a local tax advisor in every country where you have an assignee before the assignment starts, not after a problem shows up. Build a residency day tracker and actually keep it updated. Confirm totalization agreement status and certificate of coverage requirements before departure. Ask your payroll provider directly whether they support shadow payroll in the destination country, because not all of them do despite what the sales pitch implies. And budget real money for tax equalization administration, because the DIY version costs more in staff time than most companies expect.
None of this is glamorous work, but getting it wrong is expensive, slow to fix, and hard on the employees who trusted the company to handle it correctly. Getting it right just means nobody ever has to think about it, which is honestly the best outcome payroll can offer.