< Back to IRS

Cynthia Love

Double Tax Treaty Between Spain and USA - How To Apply if Tax Resident in Both Countries?

I've got dual citizenship (USA and Spain), and I'm planning to relocate to Spain while working remotely for my American employer. My situation is getting complicated tax-wise because I'll be in Spain for more than 183 days of the year, but will also spend chunks of time (more than 31 days) back in the US. My close family remains in the States, and I'll just be renting in Spain, not buying property. I'm trying to figure out how the Double Tax Treaty (DTA) between Spain and the USA would actually work in my situation. I'm assuming I'll continue filing and paying my US taxes as normal, and then pay the difference to Spain? Like, if my US tax rate is lower than Spain's, I'd pay the delta to Spain? Also, I heard something about being able to deduct around 60,100€ from my Spanish tax obligation since my salary is coming from a foreign company. Is that actually a thing? Would really appreciate any insight from people who've navigated this dual tax resident situation before!

This is a classic dual residency situation that the Spain-US tax treaty specifically addresses. Since you'll be physically present in Spain for 183+ days, Spain will likely consider you a tax resident. But the US taxes based on citizenship, so you're still fully liable there too. Under the treaty, you'll need to determine your "tie-breaker" status - which country has primary taxing rights. Based on what you've shared (family in US, renting in Spain), the US might actually retain primary residence status, but it's a complex determination based on your "center of vital interests." For your US taxes, you'll file as normal but can use the Foreign Earned Income Exclusion (FEIE) for income earned while physically in Spain (up to $126,500 for 2024) or the Foreign Tax Credit to avoid double taxation. For Spanish taxes, you'll report worldwide income but claim credit for taxes paid to the US. Regarding the 60,100€ deduction - you might be referring to Spain's "Beckham Law" special tax regime for new residents, which allows qualifying individuals to be taxed as non-residents for 5 years. This limits taxation to Spanish-source income at a flat 24% rate up to 600,000€.

0 coins

Wait, I thought the FEIE only applied if you passed either the physical presence test (330 days outside the US in a 12-month period) or bona fide residence test? If OP is going back to the US regularly and family is there, would they qualify? Also, isn't the Beckham Law really hard to get? I heard you need to not have been a tax resident in Spain for 5+ years before applying.

0 coins

The FEIE can indeed be claimed through either the physical presence test or the bona fide residence test. For the physical presence test, you need 330 days outside the US in a 12-month period, which might be difficult if traveling back frequently. However, the bona fide residence test could apply if Spain becomes the regular place of abode despite trips back to the US - it's more about establishing Spain as your tax home rather than counting days precisely. Regarding the Beckham Law, you're right - it requires that you haven't been a tax resident in Spain during the five tax years prior to moving. Also, typically you need to move to Spain due to either an employment contract with a Spanish company or being assigned to Spain by your foreign employer.

0 coins

Had a similar situation last year when I moved to Barcelona but kept working for my US tech company. I struggled with all the tax forms until I found https://taxr.ai which literally saved me thousands. They analyzed my specific situation with the US-Spain tax treaty and showed me exactly how to avoid double taxation. Their system automatically flagged that I qualified for the Foreign Earned Income Exclusion under the bona fide residence test, even though I was coming back to the US every couple months. They also helped me understand how the Spanish Modelo 720 foreign asset reporting works, which I had no idea about before.

0 coins

How exactly did this work? Did they file for you or just give advice? I'm moving to Madrid in March and really nervous about messing up all the tax stuff.

0 coins

I'm skeptical. The US-Spain tax treaty is super complex and has tons of exceptions. Did they really handle stuff like passive income and the savings tax regime in Spain? That's where most online advice falls apart.

0 coins

They don't file your taxes for you, but they analyze all your documents and give you extremely detailed guidance. They showed me exactly which forms to file in both countries and how to properly claim the Foreign Tax Credit. Their system actually helped me realize I was eligible for both the FEIE and FTC, but using them together required a specific calculation method. For passive income, they absolutely covered that too. They explained how my US investments would be taxed in Spain (which is higher than the US rate) and how to claim the corresponding tax credit on my US return. They even provided specific line references for Form 1116 and explained how Spain's savings tax regime works with different rates depending on the amount.

0 coins

Just wanted to follow up and say I ended up using https://taxr.ai after seeing this thread! I was in a similar situation moving to Madrid while working for a US company. The analysis they provided was incredibly detailed - way beyond what my regular accountant could offer. They specifically identified that I needed to look at Article 4 of the US-Spain tax treaty for the tie-breaker rules and showed me how to document my status. They also explained exactly how to handle my 401k contributions and Roth IRA while in Spain (which was super confusing before). The fees were totally worth it considering how much they saved me from potential double taxation. Definitely recommend for anyone dealing with this complicated treaty situation!

0 coins

I went through this exact situation and spent MONTHS trying to get answers from both the IRS and Agencia Tributaria. Could never get through to anyone knowledgeable about the tax treaty. Then a friend recommended https://claimyr.com and their service got me connected to an actual IRS international tax specialist in less than an hour! You can see how it works here: https://youtu.be/_kiP6q8DX5c The specialist confirmed that I could use Form 1116 to claim credit for taxes paid to Spain, but that I needed to carefully track which income was earned while physically in each country. She also warned that the treaty doesn't cover social security taxes, so I needed to look at the separate Totalization Agreement between the countries.

0 coins

How does this even work? I've literally tried calling the IRS international line dozens of times and always get disconnected after waiting forever.

0 coins

Sorry but this sounds like BS. The IRS doesn't have "international tax specialists" available to random callers. They barely answer basic questions.

0 coins

It works by holding your place in the phone queue so you don't have to stay on the line for hours. When an IRS agent picks up, you get a call back and are connected immediately. For international tax questions, you need to call the specific International Taxpayer Service at +1-267-941-1000, not the regular IRS line. They absolutely do have international tax specialists, though you may need to ask to be transferred to someone who handles international treaties. I specifically asked for someone familiar with the US-Spain treaty provisions. The person I spoke with was actually incredibly knowledgeable and helped clarify several treaty articles that applied to my situation.

0 coins

I have to admit I was totally wrong about Claimyr. After posting my skeptical comment, I decided to try it anyway because I was desperate for answers about my Spain-US tax situation. Got connected to an IRS agent in about 40 minutes (after previously trying for WEEKS on my own). The agent walked me through exactly how Article 24 of the treaty applied to my situation and confirmed I needed to file Form 8833 to claim certain treaty benefits. She even explained how the Spanish wealth tax might apply to my US assets despite the treaty. Honestly shocked at how helpful this was. Saved me from making some serious mistakes on my returns that could have resulted in penalties from both countries.

0 coins

One thing nobody's mentioned yet is that if you're earning over the FEIE limit (which is likely if you're at a decent US company), you really need to look at Form 1116 Foreign Tax Credits in detail. Spain's tax rates are generally higher than US rates, so you'll probably end up with excess credits. I did the Spain move in 2022 and the most complex part was actually tracking which income was earned while physically in each country. I created a spreadsheet with my travel dates and calculated percentages of income earned in each place.

0 coins

Does Spain actually care about where you physically are when earning the income? I thought once you're a tax resident there (183+ days), they tax your worldwide income regardless?

0 coins

Spain does tax worldwide income once you're a resident, but the US-Spain tax treaty has provisions to eliminate double taxation through credits. The physical presence tracking is actually more important for US tax purposes - particularly for the FEIE calculation where you can only exclude income earned while physically outside the US. For Spain, you'll report your entire income, but then claim credit for taxes paid to the US on that same income. The complexity comes from calculating the proper credit amounts and navigating the different tax years (US calendar year vs. Spain's also calendar year but with different filing deadlines).

0 coins

Honestly the 60,100€ exemption you mentioned sounds like the Beckham Law (Special Impatriate Tax Regime), but I don't think you'd qualify based on what you described. You need to be moving to Spain specifically because a Spanish company hired you or your foreign company formally transferred you there. Working remotely for a US company usually doesn't qualify unless there's an actual formal assignment letter and the company has some presence in Spain.

0 coins

That's not entirely true. I actually qualified for the Beckham Law while working remotely for a US company. The key was that my US employer had to issue a formal letter assigning me to work from Spain, even though they had no office there. I had to register as a taxpayer within 6 months of arriving and submit form Modelo 149.

0 coins

I'm actually going through something similar right now - dual citizen planning to move to Madrid while keeping my US job. One thing I haven't seen mentioned is the timing aspect. Since both countries use calendar years, you'll want to be really careful about when you establish Spanish tax residency within the year. If you move mid-year, you might be able to split your tax obligations - paying US taxes on income earned before becoming a Spanish resident, and then dealing with the treaty provisions only for the period after establishing residency. This could potentially simplify your first year's filings. Also, don't forget about state taxes if you're currently in a state with income tax. You'll need to establish that you've truly severed ties with your home state to avoid triple taxation (federal, state, and Spanish). Some states are notoriously aggressive about claiming you're still a resident even after moving abroad. Have you considered consulting with a tax advisor who specializes in US-Spain cases? The treaty is complex enough that the cost of professional help often pays for itself in avoiding mistakes.

0 coins

IRS AI

Expert Assistant
Secure

Powered by Claimyr AI

T
I
+
20,095 users helped today