Which country taxes my salary if I fly international routes?
As a rule, not the countries you fly over. Most treaties contain a dedicated article for crew of aircraft operated in international traffic, and it commonly hands taxing rights to the country of the employer, or of the place from which the enterprise is managed, rather than to the places the aircraft passes through or lands in. That single article is why a pilot's return does not follow the ordinary employment rules, and why advice written for an employee who crosses a border occasionally is the wrong advice for a roster. Identify the article in the treaty between the countries actually involved before counting anything.
My airline withholds tax I do not think I owe — what can I do?
Treat payroll and the return as separate problems, because they are. Payroll applies the instruction it has been given, and a payroll department is rarely equipped to apply a treaty article, so the deductions usually continue whatever the analysis says. The return is where the position is asserted and where over-withheld tax is reclaimed, supported by the treaty article, the employment contract and a record of duties. It is worth putting the position in writing first, because the same document supports the claim on the return and any request to change the basis of withholding for future periods.
Do layover days count towards residency in that country?
They can, and they are counted more often than pilots expect, which is why a roster held only in the airline's system is a risk. Residency tests generally look at presence rather than at purpose, so a night in a hotel between duties is capable of counting even though the roster is what put you there. The answer differs by country and by test, so the practical step is the same in every case: keep a day-by-day record of where you were, built from rosters and boarding records rather than from memory, before anybody asks for it.
I am paid in one country and based in another — who taxes me?
That is the ordinary pilot's position, and it is the situation the crew article exists to resolve. Where the aircraft is operated in international traffic, the article usually points at the employer or at the place from which the enterprise is managed, and each of those can differ from your base and from where you sleep. Base matters instead for residency and for social security, which are separate questions with separate answers. Work through them in order: residence first, then the article that governs the employment income, then whether the country of your base has any claim left over.
Is there a special treaty rule for airline crew?
In most treaties, yes. Crew of aircraft operated in international traffic have an article of their own, and it displaces the general employment rule that would otherwise allocate income to the place where the duties were performed. That matters for a pilot because the duties are performed in the air and across a series of countries, none of which the general rule handles well. The wording varies: some treaties point at the employer's residence, others at the place of effective management of the enterprise. That difference decides the outcome, so read the treaty itself rather than a summary of it.
Do I have to file a return in every country I fly into?
Usually not, and the crew article is the reason. Where it applies, taxing rights over the employment income sit with one country identified by the article rather than with each country on the roster, so flights into a place do not by themselves create a filing obligation there. Two things can change that: the article not covering the flying you actually do, and presence in a country reaching a threshold that creates an obligation on its own footing. Both are questions of fact about your particular year, which is why the day record matters even when the answer turns out to be no.
Which countries have a tax treaty with the United States?
Around sixty, including Canada, the United Kingdom, India, Australia and most of western Europe — but the list matters less than the terms, because each treaty caps rates and allocates income differently. Two countries with treaties can produce opposite answers on the same pension or the same royalty. What decides your position is the specific article covering your income type. See our country guides.
How does the treaty tie-breaker work when both countries say I am resident?
As a sequence, stopping at the first test that gives an answer: where you have a permanent home available; if in both or neither, where your centre of vital interests is; then habitual abode; then nationality; and if all of those tie, the two tax authorities decide by agreement. It is evidential rather than elective — you do not choose your treaty residence, you demonstrate it, which makes the record of homes, family and time the substance of the claim. See tie-breaking dual residency.