How to avoid paying tax twice when investing in Spain

For many Americans, the first question before investing in Spain is not “How much can I make?” but “Will I be taxed twice?” That concern is understandable. The United States generally taxes U.S. citizens and green card holders on their worldwide income, even when they live abroad, while Spain may also tax people who are Spanish tax residents or who earn Spanish-source income.

The good news is that the United States and Spain have a tax treaty designed to reduce double taxation. It does not eliminate all taxes, but it sets rules for deciding which country can tax different types of income, limits certain withholding taxes, and allows tax credits so that, in many cases, tax paid in one country can reduce the tax due in the other.

The key idea: it is not about paying no tax, but avoiding double tax

The treaty does not mean that an American investor can avoid tax altogether. It means that when the same income could be taxed by both countries, there are mechanisms to reduce or offset that double burden.

In practice, this usually works in three ways.

First, the treaty may reduce withholding tax at source. For example, if a Spanish company pays dividends to a U.S. investor, Spain may have the right to withhold tax, but the treaty can reduce the applicable rate.

Second, one country may have primary taxing rights over certain income. For example, some capital gains are generally taxed mainly in the country where the seller is tax resident.

Third, if both countries tax the same income, the taxpayer may be able to claim a foreign tax credit. This allows tax paid in Spain to reduce the tax owed in the United States on the same income, subject to limitations.

The part Americans often find confusing

The United States has an unusual tax system. U.S. citizens and green card holders generally remain subject to U.S. tax on worldwide income, even if they live in Spain.

The treaty helps, but it does not erase U.S. filing obligations. In many cases, the most practical tool for Americans investing in Spain is not only the treaty itself, but the correct use of the foreign tax credit on their U.S. tax return.

Dividends: one of the most common investment income types

Dividends are especially relevant for investors who own shares, company interests, or business structures across the two countries.

Under the treaty, dividends may be taxed both in the investor’s country of residence and in the country where the company paying the dividend is located. However, when the beneficial owner is resident in the other country, the source-country tax is generally limited.

In simple terms, Spain may withhold tax on dividends paid by a Spanish company to a U.S. investor, but the treaty may reduce that withholding. The investor would then report the income in the United States and may be able to claim a credit for the Spanish tax paid.

For example, if a U.S. resident receives dividends from a Spanish company, Spain may apply withholding tax. The U.S. investor then declares the dividend on their U.S. return and, where allowed, uses the Spanish tax paid as a credit against U.S. tax on that same income.

Interest and royalties: often treated more favorably

The treaty also provides important rules for interest and royalties.

In many cases, interest paid from one country to a beneficial owner resident in the other country may be taxed only in the country of residence of the recipient, provided the treaty requirements are met.

Royalties, such as payments for the use of intellectual property, software, trademarks, patents, or copyrights, may also benefit from favorable treatment. This can be particularly important for entrepreneurs, technology companies, creators, and businesses licensing intellectual property between the United States and Spain.

The key point is documentation. The investor or company must be able to prove tax residence, beneficial ownership, and eligibility for treaty benefits.

Real estate in Spain: Spain will usually have taxing rights

Real estate is different.

If an American invests in property located in Spain, Spain will generally have the right to tax rental income from that property. Spain will also usually have the right to tax capital gains when the property is sold.

That does not necessarily mean the investor pays full tax twice. The income may still need to be reported in the United States, but Spanish tax paid may often be used as a foreign tax credit, subject to U.S. rules and limitations.

For American investors, this means that buying a home, rental property, commercial unit, or real estate asset in Spain requires checking both Spanish and U.S. tax consequences before investing.

Capital gains: the asset matters

Capital gains are not all treated the same way.

If an American sells real estate located in Spain, Spain will generally be able to tax the gain. If the investor sells shares or interests in a company whose value is mainly derived from Spanish real estate, Spain may also have taxing rights.

By contrast, gains from other assets, such as ordinary shares not connected to Spanish real estate or a Spanish permanent establishment, may be taxed differently and may primarily fall under the investor’s country of residence.

The practical conclusion is simple: before selling, classify the asset correctly. Selling an apartment in Madrid is not the same as selling listed shares, a business interest, or shares in a real estate-heavy company.

The foreign tax credit: the practical anti-double-tax tool

For Americans, the foreign tax credit is often the most important mechanism.

If a U.S. investor pays Spanish tax on Spanish-source income, they may be able to use that tax as a credit against their U.S. tax on the same income. This is what often prevents true double taxation.

For example, if an American pays tax in Spain on rental income from a Spanish property, that income may also be reportable in the United States. But the Spanish tax paid may reduce the U.S. tax due, depending on the rules and limits that apply.

This does not always eliminate U.S. tax completely. But it helps prevent the same income from being taxed twice without coordination.

The treaty does not apply automatically

One of the most common mistakes is assuming that treaty benefits apply automatically. In practice, they usually require paperwork.

An American investor may need to prove U.S. tax residence and eligibility for treaty benefits. Depending on the income type and direction of payment, forms such as W-8BEN, W-8BEN-E, certificates of tax residence, or specific treaty disclosures may be relevant.

Companies must be especially careful. The treaty includes limitation-on-benefits rules designed to prevent people or companies from third countries from using artificial structures to access treaty benefits. Individuals are often easier to analyze, but companies should review eligibility before relying on reduced withholding rates.

Watch out for Spanish reporting obligations

For Americans who become Spanish tax residents, the issue is not only how much tax they pay. Reporting obligations can also be important.

Spanish tax residents may have to report certain assets held outside Spain, such as foreign bank accounts, securities, insurance products, investment accounts, and real estate, if the relevant thresholds are exceeded.

This can affect Americans living in Spain who still hold bank accounts, brokerage accounts, retirement assets, or property in the United States.

Final takeaway: investing in Spain can be tax-manageable

Double taxation should not stop Americans from investing in Spain. But it should be planned for.

The key is to determine tax residence, classify the income correctly, apply the treaty where available, reduce withholding tax when possible, claim foreign tax credits, and keep proper documentation.

Spain remains an attractive destination for real estate, business, and personal investment. With the right structure and advice, the U.S.-Spain tax treaty can turn one of the biggest concerns for American investors into a manageable issue.