# Does income while staying in a foreign country usually only count if you are performing work to earn it?

**URL:** <https://boards.straightdope.com/t/does-income-while-staying-in-a-foreign-country-usually-only-count-if-you-are-performing-work-to-earn-it/1009301>\
**Category:** Factual Questions\
**Created:** [October 27, 2024, 5:07pm UTC](https://boards.straightdope.com/t/does-income-while-staying-in-a-foreign-country-usually-only-count-if-you-are-performing-work-to-earn-it/1009301 "2024-10-27T17:07:39Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![UDS1](https://avatars.discourse-cdn.com/v4/letter/u/e47774/32.png) [@UDS1](https://boards.straightdope.com/u/UDS1)\
**Post date:** [October 29, 2024, 1:15am UTC](https://boards.straightdope.com/t/does-income-while-staying-in-a-foreign-country-usually-only-count-if-you-are-performing-work-to-earn-it/1009301/21 "2024-10-29T01:15:21Z")

</div>

> [@HMS\_Irruncible](#):
>
> Much of this depends on whatever tax treaty is in effect for that country. Tax treaties are intended to prevent double taxation. [Spain has one with the US](https://internationaltaxesadvice.com/the-us-spain-tax-treaty-what-you-didnt-know/#:~:text=The%20United%20States%20%26%20Spanish%20Treaty,earning%20income%20from%20the%20US.).
> 
> So without knowing more specifics about the situation, the tax treaty generally means that the US need not bother with Spanish taxes because it’s understood they’re still US taxpayers (and vice versa for Spanish citizens in the US). And thanks to the [foreign income tax exclusion](https://www.irs.gov/individuals/international-taxpayers/foreign-earned-income-exclusion) the first $107K would be tax free.

It’s not so simple.

Broadly, the thrust of the US-Spain DTA is to provide that income is (mostly) taxed in the country where it originates rather than in the country in which the recipient is resident. So a Spanish resident earns rent on a property he owns in the US; that rent is taxable in the US.

But there are many exceptions; if you retire to Spain, your pension income in respect of your former US employment is taxable in Spain (but your social security income is taxable in the US). If you establish a business in Spain — a consultancy, say — that derives income from the US, that income is taxable in Spain. If you’re resident in Spain but derive dividend from stock in a US company, those dividends are taxable in Spain (but the US can impose a withholding tax not exceeding 15%, for which Spain will allow a full credit). Etc, etc.

The application of the treaty largely depends on residence, not citizenship. The treaty has rules for determining whether someone who has links to both the US and Spain is a resident of the US or a resident of Spain… Those rules do not depend on citizenship, except in very marginal cases. In most cases, your US citizenship is irrelevant in determining whether you are a resident of Spain for tax treaty purposes, and vice versa. (The treaty does have a clause, however, that says that if you’re a resident of Spain under the treaty rules, that doesn’t stop the US from taxing you _as a citizen_.)

Finally, the treaty only applies in relation to US/Spain issues. If you’re a US citizen resident in Spain who derives income from Germany, or a US citizen resident in Germany who derives income from Spain, US/Spain treaty won’t apply in relation to the taxation of the income from the third country.

[Previous page](https://boards.straightdope.com/t/does-income-while-staying-in-a-foreign-country-usually-only-count-if-you-are-performing-work-to-earn-it/1009301.md?page=1)
