Relocating your tax residency from the United States to Spain when you own an LLC or a C-Corp is not a change of address — it is a tax engineering operation that requires two separate legal systems to be coordinated with a precision that leaves little room for error. The US side demands decisions about IRC §877A exit tax and the management of accumulated earnings. The Spain side sets day one of residency, the Beckham regime, and the effective-management risk under Art. 8 LIS. This guide walks through every lever, in sequence, with the deadlines attached.
1. Why pre-move planning is worth more than any post-residency optimization
The most expensive mistake I’ve seen — and I’ve seen it more times than I’d like — doesn’t happen after the move. It happens six months before, when the client decides they’ll “sort it out once they’re settled in Madrid.” By then, the window to distribute accumulated C-Corp earnings at US rates has already closed. The Modelo 149 clock has been running without them realizing it. And the AEAT has a file open because they were signing contracts from Madrid while their LLC was still billing as a US entity.
Pre-move planning is worth more than any post-residency optimization because the decisions you make before you cross the tax border determine your starting basis. Once you are a Spanish tax resident, your room to maneuver on what’s already inside the system is minimal. You can optimize future cash flows, but you cannot rewrite the history of the US entity.
There are two distinct events to control: the US-side close (deciding whether to renounce your green card or citizenship, whether there is E&P to move, and how you wind down or restructure the LLC or C-Corp) and the Spain-side open (the exact date you start the 183-day count, when you file Modelo 149, and with what structure your income lands in the Spanish IRPF). Each event has its own logic. Let’s start with Spain, because it’s the one that surprises US clients the most.
2. The date that changes everything: day one of Spanish residency
Art. 9.1 of Law 35/2006 (LIRPF) sets two alternative tests for treating a person as a Spanish tax resident: (a) physical presence in Spanish territory for more than 183 days during the calendar year, and (b) having the core of your activities or economic interests located in Spain, either directly or indirectly.
The first test is the better-known one. The second is the one that catches people off guard: it requires not a single day in Spain. If your main clients are Spanish, if your primary bank account is here, if your family is living here — the AEAT can argue that your centre of economic interests is in Spain even if you were physically in the US for most of the year.
A third, less-discussed presumption also applies: Art. 9.1.b LIRPF presumes Spanish habitual residence when your non-legally-separated spouse and dependent minor children reside in Spain. The presumption is rebuttable, but the burden falls on you.
Beckham softens the blow: under the special regime of Art. 93 LIRPF, only employment income is taxed in Spain (not foreign-source income such as dividends or capital gains from US entities). But to access Beckham you need to have filed Modelo 149 on time. Which brings us directly to Section 5.
3. The US side: IRC §877A exit tax — who it applies to, and who it doesn’t
IRC §877A — the US exit tax — only applies to so-called covered expatriates: individuals who, upon renouncing US citizenship or permanent resident (green card) status, meet at least one of the following three tests in the year of expatriation:
- Net worth test: net worth equal to or greater than $2,000,000 on the date of expatriation.
- Average annual net income tax test: average federal net income tax over the five prior years equal to or greater than the indexed threshold (approximately $201,000 for 2026).
- Certification test: failure to certify that all US tax obligations for the five prior years have been met (Form 8854).
If you are a green card holder and choose not to renew it on your way out, §877A applies if you meet any of the three tests. The mechanism is a mark-to-market fiction: all your property is treated as sold the day before expatriation at fair market value, and the gain above the indexed exclusion is taxed at ordinary or capital-gains rates.
Your LLC or C-Corp interest is not excluded. A low-basis, high-value LLC membership interest goes into the mark-to-market; private C-Corp shares are valued by appraisal; and accumulated C-Corp E&P can trigger additional “ineligible deferred compensation” exposure under §877A(d).
4. Pre-move checklist: the 12 months before you leave
This is the window with the highest density of decisions. Most clients underuse it because they are still focused on the logistics of the physical move. Here are the actions that need to be taken before you cross the Spanish tax border:
Distribute C-Corp E&P before the change of residency. Accumulated Earnings & Profits in a C-Corp are taxed as dividends when distributed. While you are still a US resident, the distribution is taxed at the qualified dividend rate (0%, 15%, or 20% depending on your bracket). Once you are a Spanish tax resident without Beckham, US dividends are also taxable in Spain (savings income base, 19%–28%). Under Beckham they are not taxable in Spain — but you have to have filed Beckham correctly. The optimal plan typically involves distributing the E&P, or making an S-Corp election if feasible, before you enter Spain.
§962 election as an alternative. For US shareholders in foreign entities generating GILTI (Global Intangible Low-Taxed Income) , the §962 election allows GILTI to be taxed at the US corporate rate rather than the individual rate, taking advantage of the Foreign Tax Credit . This is relevant if the LLC is reclassified as a C-Corp for US tax purposes.
Form 8854 (Initial and Annual Expatriation Statement). If you renounce citizenship or permanently abandon a green card, you must file Form 8854 in the year of expatriation. This is the form that certifies compliance with tax obligations for the five prior years (the Certification Test under §877A). Filing it while not current on all prior returns automatically makes the taxpayer a covered expatriate.
Clean up outstanding LLC balances. Members’ capital accounts, member-to-entity loans (and vice versa), and deferred distribution balances should be resolved or clearly documented before the move. Once you are a Spanish resident, any financial flow between you and the LLC carries Spanish tax treatment that may differ from the US treatment.
Appraise US assets. If there is a §877A risk (green card plus net-worth or income threshold), get a formal appraisal — especially of the LLC or C-Corp interest — before the expatriation date. The appraisal establishes the mark-to-market basis and can support a pre-move transfer if that is tax-cheaper than a post-expatriation liquidation.
5. Beckham: the critical deadline that US clients miss most often
The special regime for displaced workers under Art. 93 LIRPF — the Beckham Law — allows qualifying individuals to be taxed as non-residents for up to six tax years. The flat rate is 24% IRNR on employment income up to €600,000, versus the standard IRPF progressive scale (up to 47% or more). For an LLC owner who moves into employment with a Spanish company or registers entrepreneurial activity in Spain, the annual saving can exceed €50,000.
The application is filed using Modelo 149 and must be submitted within six months of the start of activity in Spain — typically the date of registration with the Spanish Social Security system or the date of registration on the census as a self-employed individual (Art. 93.2 LIRPF, Art. 116 RIRPF). This window is absolute. There is no extension, no late filing with supporting documentation, and no legal challenge that has succeeded under recent case law.
The deadline is exactly why US relocators miss it more than anyone else: they arrive, spend the first months handling the logistics of the move and opening bank accounts, and by the time their Spanish adviser mentions Modelo 149, seven months have already passed. Beckham is gone for that residency cycle.
For LLC owners who plan to keep the US activity running, fitting into Beckham requires that the relocation falls under one of the qualifying categories of Art. 93 LIRPF: an employment contract with a Spanish company, a transfer ordered by a foreign group entity, entrepreneurial activity with ENISA certification, or the provision of services to a technology-based or R&D company. The profile of “working from Madrid for my US LLC” does not fit neatly into any of these categories — which reinforces the importance of structuring the move before you land.
6. The CDI España-EE.UU.: Form 8833 and the residency tie-breaker
The Convention between the Kingdom of Spain and the United States of America for the avoidance of double taxation (BOE-A-2019-15166) contains in Art. 4 the residency tie-breaker rule for individuals considered tax residents by both states. The rule cascades through: permanent home, centre of vital interests, habitual abode, nationality, and — as a last resort — agreement between the competent authorities.
Year one is the highest double-taxation risk period: the US may treat you as a US resident for the full year (if expatriation has not been formalized), while Spain counts you as resident from the moment the 183-day threshold is crossed or your economic centre shifts. The CDI resolves the conflict, but not automatically — you must claim it.
Form 8833. When you use a CDI position to reduce US tax — claiming Spanish residency under Art. 4 and excluding Spanish-source income from your US taxable base — Form 8833 must be attached to Form 1040. The penalty for omission is $1,000 per form; the bigger risk is that an undocumented treaty position gets rejected in an IRS review.
CDI Article 10: dividends. The treaty caps US withholding at 15% on ordinary dividends (or 5% for a ≥10% stake). Under the standard regime, that credit offsets Spanish tax, eliminating double taxation. Under Beckham, foreign-source dividends are not taxable in Spain, so the credit is moot — but there is no double taxation either.
CDI Article 7: business profits. LLC or C-Corp profits may only be taxed in the US, unless the entity operates through a permanent establishment (PE) in Spain. If the LLC has a PE — which the AEAT can assert when the member manages the business from Madrid — the PE-attributable profits are also taxable in Spain under Art. 22 TRLIRNR. This is the bridge to the Art. 8 LIS risk discussed in the next section.
7. The LLC in your first Spanish tax year: three options, one central risk
The central risk has a name: Art. 8.1 of Law 27/2014 on Corporate Income Tax (LIS). An entity is deemed a Spanish tax resident if (a) it was incorporated under Spanish law, (b) its registered office is in Spanish territory, or (c) its effective place of management is in Spanish territory.
The effective place of management is where the direction and control of the entity’s activities as a whole is exercised. If you are the sole member and manager of your US LLC and from day one in Madrid you run projects, sign contracts, make operational decisions, and handle client calls — the AEAT has grounds to argue that the LLC’s effective management is in Spain and that its profits are therefore subject to Spanish corporate income tax.
In the face of this risk, owners relocating with an active LLC have three genuine options:
Option A: close the LLC before the move. The cleanest path. You liquidate the assets, distribute the balances at the US level, and arrive in Spain with no active structure. If you need to invoice in Spain, you open an SL or register as self-employed (autónomo). This option loses its appeal if the LLC has significant brand value, long-term contracts in place, or assets that would generate a meaningful tax cost on liquidation.
Option B: keep the LLC with genuine US substance. The LLC continues operating, but with a real decision-maker in the US — not a nominee. That person signs contracts, handles US client relationships, and attends meetings held physically in the US. Nothing is negotiated or closed from Spain. If the AEAT asks, you must be able to show the LLC is not managed from Madrid.
Option C: elect C-Corp treatment (Form 8832) before arrival. Via the check-the-box election you can reclassify the LLC as a US C-Corp before the move. This does not eliminate the Art. 8 LIS risk, but it shifts the character of income flows from pass-through to dividend and lets you plan distribution timing.
8. Case study: Sarah — US citizen, $300K LLC, moving to Madrid on June 1
Sarah is a US citizen (not a green card holder — no §877A exposure), the sole member of a Delaware LLC billing $300,000/year to US software clients. She has signed an employment contract with a Spanish tech company starting June 1. Spanish salary: €120,000 gross. She will keep the LLC active for her US clients (~$200,000 of annual billings).
January–May (pre-move):
— Sarah reviews five years of US tax records with her CPA to confirm no compliance gaps (Certification Test, relevant if she ever considers renouncing citizenship).
— The LLC has $180,000 of accumulated undistributed earnings. She distributes $100,000 before the move (qualified dividend rate: 15%). The remaining $80,000 stays as operating reserve.
— She engages a trusted US partner to serve as operational managing member for the American territory, documented in the operating agreement.
— She reviews the CDI España-EE.UU. with BMC to map out the tax structure for the years ahead.
June–December (first tax year as a Spanish resident):
— June 1: employment contract starts, Social Security registration filed. BMC prepares Modelo 149 that same day.
— October 30 (four months in): BMC files Modelo 149. Sarah is within the six-month window. Beckham is approved.
— The $200,000 of US LLC income for the partial year is reported on her Form 1040 as pass-through income. Under Beckham it is not taxable in Spain — it is foreign-source business income unconnected to her Spanish employment. The 24% Spanish rate applies only to the €70,000 of salary accrued June–December.
— Sarah attaches Form 8833 to her Form 1040, stating that she claims Spanish tax residency under Art. 4 of the CDI España-EE.UU. for June–December and that Spanish-source income has been taxed in Spain.
Full year 1 under Beckham:
— 24% on €120,000 salary = €28,800 Spanish tax (versus ~€55,000 under the standard IRPF scale in Madrid).
— The ~$200,000 US LLC income is not taxable in Spain; fully taxable in the US.
— The US managing member has handled new contracts from the US and the LLC’s annual meeting was held in person in New York. Substance documented.
— Gross differential on Spanish salary alone: ~€26,000/year saved. Over five more Beckham years, cumulative saving exceeds €130,000 — solely on the employment income, before counting the non-taxation of US LLC income in Spain.
Planning a US-to-Spain relocation with an active LLC or C-Corp has no shortcuts: every decision left unmade before you arrive carries a tax cost you pay later, with no way to reverse it. Modelo 149, the E&P distribution, LLC substance, Form 8833 — all are steps that must be executed in the right sequence and within the windows set by both US and Spanish law.
At BMC we manage the entire process: from reviewing your US tax history to filing Modelo 149 and monitoring your first year of compliance under Beckham, coordinating with your US adviser wherever the case requires it.