Skip to main content

Where do I owe what? · Spain

US citizen living in Spain: what is taxed where?

Seven kinds of income, two tax systems, one treaty. For each income, whether Spain taxes it, whether the United States taxes it, how the US–Spain income tax treaty avoids taxing it twice, which US forms are involved, how social security coverage works, and the trap to avoid. Every answer below is drawn from the legal text it cites. No AI writes these answers.

  • 42 rules, each with its source
  • 22 legal sources cited
  • Reviewed 2026-11-25
  • Treaty in force since 1990 · social security agreement in force

How much do you owe? Build my report with your own figures · $19

Salary from a Spanish employer

Employment income earned while living in Spain.

Taxed in Spain?

A Spanish resident is taxed on all income, wherever it was produced (Ley 35/2006, art. 2); salary is employment income (art. 17). The Basque Country and Navarre have their own income tax.

Source: www.boe.es
Artículo 2. Objeto del Impuesto. Constituye el objeto de este Impuesto la renta del contribuyente, entendida como la totalidad de sus rendimientos, ganancias y pérdidas patrimoniales y las imputaciones de renta que se establezcan por la ley, con independencia del lugar donde se hubiesen producido y cualquiera que sea la residencia del pagador.
www.boe.es/buscar/act.php?id=BOE-A-2006-20764#a2

Taxed in the US?

Every U.S. citizen reports worldwide income, Spanish salary included (Pub 54); use the §911 exclusion or the §901 credit.

Source: IRS publication
If you are a U.S. citizen or resident alien living and working abroad, you are taxed on your worldwide income.
www.irs.gov/pub/irs-pdf/p54.pdf

How double taxation is avoided

U.S.-Spain treaty, Art. 16: salary is taxable in the State of residence and in the State where the work is done; the saving clause (Art. 1(3)) lets the U.S. tax its citizens, who credit the Spanish tax (Art. 24).

Source: Treaty text
Dependent Personal Services 1. Subject to the provisions of Articles 20 (Pensions, Annuities, Alimony, and Child Support) and 21 (Government Service), salaries, wages, and other similar remuneration derived by a resident of a Contracting State in respect of an employment shall be taxable only in that State unless the employment is exercised in the other Contracting State. If the employment is so exercised, such remuneration as is derived therefrom may be taxed in that other State. 2. Notwithstanding the provisions of paragraph 1, remuneration derived by a resident of a Contracting State in res…
www.irs.gov/pub/irs-trty/spain.pdf

US forms involved

Form 1040; Form 2555 (exclusion) or Form 1116 (credit); Form 8938 and FBAR depending on your accounts.

Source: IRS publication
If you qualify, you can use Form 2555 to figure your foreign earned income exclusion and your housing exclusion or deduction.
www.irs.gov/forms-pubs/about-form-2555

Social security coverage

U.S.-Spain social security agreement: an employee contributes to one country only; for a posting, the certificate of coverage issued by the INSS (Spain) or the SSA (U.S.) proves exemption from the other system.

Source: Social security agreement (SSA)
[Administrative Arrangement, Chapter 2] … Article 3 Where the laws of a Contracting State are applicable in accordance with Part II of the Agreement, the agency of that Contracting State, upon request of the employer, employee or self-employed person, shall issue a certificate stating that the employee or self-employed person is covered by those laws. This certificate shall be proof that the named worker is exempt from the laws on compulsory coverage of the other Contracting State. The certificate referred to in paragraph 1 shall be issued In Spain: by the National Social Security Institute. I…
web.archive.org/web/20261108034231/https://www.ssa.gov/international/Agreement_Texts/spanish.html

Watch out

Trap: Spanish tax paid by your employer on your behalf is taxable compensation in the U.S. (Pub 54); so are benefits in kind. “Earned” income excludes investment income.

Source: IRS publication
Does my foreign earned income include my U.S. dividends and the interest I receive on a foreign bank account? No. The only income that is foreign earned income is in- come from the performance of personal services abroad. Investment income isn’t earned income. However, you must include it in gross income reported on your Form 1040 or 1040-SR. 3) My company pays my foreign income tax on my foreign earnings. Is this taxable compensation? Yes. The amount is compensation for services performed. The tax paid by your company should be reported on Form 1040 or 1040-SR, line 1h, and on Form 2555, Part…
www.irs.gov/pub/irs-pdf/p54.pdf

Freelance and self-employment income

Sole trader, consultant, contractor: income from your own activity in Spain.

Taxed in Spain?

Income from economic activities (business, profession) is income involving organising means of production on one’s own account (Ley 35/2006, art. 27), taxed on a worldwide basis for a resident (art. 2).

Source: www.boe.es
Artículo 27. Rendimientos íntegros de actividades económicas. 1. Se considerarán rendimientos íntegros de actividades económicas aquellos que, procediendo del trabajo personal y del capital conjuntamente, o de uno solo de estos factores, supongan por parte del contribuyente la ordenación por cuenta propia de medios de producción y de recursos humanos o de uno de ambos, con la finalidad de intervenir en la producción o distribución de bienes o servicios. En particular, tienen esta consideración los rendimientos de las actividades extractivas, de fabricación, comercio o prestación de servicios, …
www.boe.es/buscar/act.php?id=BOE-A-2006-20764#a27

Taxed in the US?

Taxable in the U.S., and self-employment tax (Schedule SE) is due from $400 of net earnings, even with the §911 exclusion (Pub 54), unless you hold a Spanish certificate of coverage.

Source: IRS publication
citizen or resident, the rules for paying self-employment tax are generally the same whether you are living in the United States or abroad. The self-employment tax is a social security and Medi- care tax on net earnings from self-employment. You must pay self-employment tax if your net earnings from self-em- ployment are at least $400. For information on the maximum amount of self-em- ployment net earnings that is subject to the social security portion of self-employment tax, see the instructions for Schedule SE (Form 1040), available at IRS.gov/ ScheduleSE. All net earnings from self-employme…
www.irs.gov/pub/irs-pdf/p54.pdf

How double taxation is avoided

U.S.-Spain treaty, Art. 15: income from independent personal services is taxable only in the State of residence unless there is a fixed base in the other State; the U.S. still taxes its citizens and grants the credit.

Source: Treaty text
Independent Personal Services 1. Subject to the provisions of Article 7 (Business Profits), income derived by a resident of a Contracting State in respect of professional services or similar activities of an independent character shall be taxable only in that State. However, such income may be taxed in the other Contracting State if such resident has or had a fixed based regularly available to him in the other Contracting State for the purpose of performing those activities. In that case, only so much of the income as is attributable to that fixed base may be taxed in that other Contracting St…
www.irs.gov/pub/irs-trty/spain.pdf

US forms involved

Form 1040; Schedule C; Schedule SE (unless certificate of coverage); Form 2555 or Form 1116.

Source: IRS publication
Use Schedule SE (Form 1040) to figure the tax due on net earnings from self-employment.
www.irs.gov/forms-pubs/about-schedule-se-form-1040

Social security coverage

U.S.-Spain agreement, Art. 4: a self-employed person is covered only by their country of residence; the Spanish certificate of coverage exempts from U.S. self-employment tax, without which Schedule SE remains due.

Source: Social security agreement (SSA)
[U.S.-Spain] Agreement on Social Security, … Article 4: Except as otherwise provided in this Part, a person employed within the territory of one of the Contracting States shall, with respect to that employment, be subject to the laws of only that Contracting State. A person who would otherwise be covered under the laws of both Contracting States with respect to self-employment shall be subject to the laws of only the Contracting State of which he is a resident.
web.archive.org/web/20261108034231/https://www.ssa.gov/international/Agreement_Texts/spanish.html

Watch out

Trap: if the business runs through a Spanish company (S.L., S.A.), heavy information returns apply: Forms 5471, 926, 8865 (Pub 54), with penalties if missed.

Source: IRS publication
person. For more information, go to IRS.gov/Form8938. Form 5471. Certain U.S. persons who are officers, direc- tors, or shareholders in certain foreign corporations must file Form 5471, Information Return of U.S. Persons With Respect To Certain Foreign Corporations, and schedules to satisfy the reporting requirements of sections 6038 and 6046, and the related regulations for each applicable for- eign corporation. For more information, go to IRS.gov/ Form5471. Form 926. U.S. citizens or residents, domestic corpora- tions, or domestic estates or trusts must file Form 926, Re- turn by a U.S. Tran…
www.irs.gov/pub/irs-pdf/p54.pdf

Rental income

Rent from property located in Spain.

Taxed in Spain?

Rent is income from real estate capital: everything derived from letting or assigning rights over a property (Ley 35/2006, art. 22), taxed at the general rates. From 2026: Reform of the reduction of net positive income from residential lettings (Law 35/2006, art. 23(2), as worded by RDL 29/2026): for a new lease signed by a landlord who is not a 'large holder', 100%, 95%, 90%, 85% or 70% reduction if the initial rent is cut by more than 5% (depending on tenant continuity, rent below the reference index, stressed-market area, tenant aged 18-35); 50% if the rent does not rise; 40% down to 15% if it rises; first-time letting: 100%, 95%, 90%, 85% or 50%; 70% (social housing/public programme), 60% (dwelling renovated in the previous 2 years), 80% during tacit renewal if the rent respects the index. Earlier leases keep the old regime (transitional provision 38: wording at 31/12/2021 for leases before Law 12/2023, wording at 31/12/2025 for leases signed up to 1/12/2026). The US has no such reduction: net rent is fully taxed (Schedule E), so less Spanish tax is available to credit.

Source: www.boe.es
Artículo 22. Rendimientos íntegros del capital inmobiliario. 1. Tendrán la consideración de rendimientos íntegros procedentes de la titularidad de bienes inmuebles rústicos y urbanos o de derechos reales que recaigan sobre ellos, todos los que se deriven del arrendamiento o de la constitución o cesión de derechos o facultades de uso o disfrute sobre aquéllos, cualquiera que sea su denominación o naturaleza. 2. Se computará como rendimiento íntegro el importe que por todos los conceptos deba satisfacer el adquirente, cesionario, arrendatario o subarrendatario, incluido, en su caso, el correspon…
www.boe.es/buscar/act.php?id=BOE-A-2006-20764#a22

Taxed in the US?

Rent from a property in Spain is part of the worldwide income reported in the U.S. (Schedule E, Pub 54); credit for the Spanish tax (passive basket).

Source: IRS publication
All U.S. citizens and resident aliens are subject to U.S. tax on their worldwide income.
www.irs.gov/pub/irs-pdf/p54.pdf

How double taxation is avoided

U.S.-Spain treaty, Art. 6: income from real property is taxable in the State where it is located; for property in Spain, Spain taxes first and the U.S. grants the credit.

Source: Treaty text
Income from Real Property (Immovable Property) 1. Income derived by a resident of a Contracting State from real property (including income from agriculture or forestry) situated in the other Contracting State may be taxed in that other State. 2. The term "real property" shall have the meaning which it has under the law of the Contracting State in which the property in question is situated. The term in any case shall include property accessory to immovable property, livestock and equipment used in agriculture and forestry, right to which the provision of general law respecting landed property a…
www.irs.gov/pub/irs-trty/spain.pdf

US forms involved

Form 1040; Schedule E; Form 1116 (passive basket); Form 4562 (depreciation).

Source: IRS publication
Use Schedule E (Form 1040) to report income or loss from rental real estate, royalties, partnerships, S corporations, estates, trusts, and residual interests in real estate mortgage investment conduits (REMICs).
www.irs.gov/forms-pubs/about-schedule-e-form-1040

Watch out

Trap: a rental property outside the United States is depreciated under ADS, over 30 years for residential property (40 years if placed in service before 2018), not 27.5; depreciation is mandatory.

Source: IRS publication
[Required use of ADS:] … Any tangible property used predominantly outside the United States during the tax year. … Nonresidential real property . . . . . . . . . . . 40 years Residential rental property . . . . . . . . . . . . 30 years1 … 1 40 years for property placed in service before January 1, 2018.
www.irs.gov/publications/p946

Dividends and interest

Bank interest, shares and funds held through a Spanish bank or broker.

Taxed in Spain?

Dividends and interest are income from movable capital (Ley 35/2006, art. 25), included in the savings base, taxed at its own rates.

Source: www.boe.es
Artículo 25. Rendimientos íntegros del capital mobiliario. Tendrán la consideración de rendimientos íntegros del capital mobiliario los siguientes: 1. Rendimientos obtenidos por la participación en los fondos propios de cualquier tipo de entidad. Quedan incluidos dentro de esta categoría los siguientes rendimientos, dinerarios o en especie: a) Los dividendos, primas de asistencia a juntas y participaciones en los beneficios de cualquier tipo de entidad. b) Los rendimientos procedentes de cualquier clase de activos, excepto la entrega de acciones liberadas que, estatutariamente o por decisión d…
www.boe.es/buscar/act.php?id=BOE-A-2006-20764#a25

Taxed in the US?

Spanish dividends and interest are taxable in the U.S.; dividends from a Spanish company can be “qualified dividends” (treaty-eligible company, IRC §1(h)(11)).

Source: www.govinfo.gov
corporations (i) In general Except as otherwise provided in this paragraph, the term "qualified foreign corporation" means any foreign corporation if— (I) such corporation is incorporated in a possession of the United States, or (II) such corporation is eligible for benefits of a comprehensive income tax treaty with the United States which the Secretary determines is satisfactory for purposes of this paragraph and which includes an exchange of information program. (ii) Dividends on stock readily tradable on United States securities market A foreign corporation not otherwise treated as a qualif…
www.govinfo.gov/app/details/USCODE-2024-title26/USCODE-2024-title26-subtitleA-chap1-subchapA-partI-sec1

How double taxation is avoided

U.S.-Spain treaty, Art. 10: withholding at source of at most 15% on dividends for an individual; Art. 11 for interest; the State of residence taxes and credits.

Source: Treaty text
Dividends 1. Dividends paid by a company which is a resident of a Contracting State to a resident of the other Contracting State may be taxed in that other State. 2. However, such individuals may also be taxed in the Contracting State of which the company paying the dividends is a resident, and according to the laws of that State, but if the beneficial owner of the dividends is a resident of the other Contracting State, the tax so charged shall not exceed: (a) 10 percent of the gross amount of the dividends if the beneficial owner is a company which owns at least 25 percent of the voting stock…
www.irs.gov/pub/irs-trty/spain.pdf

US forms involved

Form 1040; Schedule B (foreign accounts, Part III); Form 1116 (passive basket); Form 8621 for foreign funds (PFIC).

Source: IRS publication
Use Schedule B (Form 1040) if any of the following applies: You had over $1,500 of taxable interest or ordinary dividends.
www.irs.gov/forms-pubs/about-schedule-b-form-1040

Social security coverageNone

No US social security contributions: dividends and interest are excluded from self-employment earnings (§1402(a)(2)), except for dealers.

Source: www.govinfo.gov
(2) there shall be excluded dividends on any share of stock, and interest on any bond, debenture, note, or certificate, or other evidence of indebtedness, issued with interest coupons or in registered form by any corporation
www.govinfo.gov/app/details/USCODE-2024-title26/USCODE-2024-title26-subtitleA-chap2-sec1402

Watch out

Trap: Spanish investment funds and ETFs are usually PFICs (foreign companies with passive assets): Form 8621 and the punitive §1291 regime; prefer direct holdings or U.S. funds.

Source: Congressional Research Service
17 A PFIC is a passive foreign investment company, a foreign corporation that primarily holds passive assets. It does not fall under CFC rules, but has a separate set of anti-avoidance rules that generally were not changed by the new law. Issues in International Corporate Taxation: The 2017 Revision (P.L. 115-97)
crsreports.congress.gov/product/pdf/R/R45186

Capital gains

Selling a home, shares or other assets while resident in Spain.

Taxed in Spain?

Capital gains are changes in the value of assets revealed by a change in their composition (Ley 35/2006, art. 33), included in the savings base; a resident is taxed on assets located anywhere. From 2026: New 'Financia Europa Savings and Investment Account' (Law 35/2006, art. 95 ter, RDL 29/2026): gains and losses on assets held in the account enter the tax base only on a withdrawal; for the part attributable to contributions held over 5 years, 100% exclusion up to €10,000 per taxpayer and 20% beyond (one account, cash contributions only, at most €150,000 of unrecovered contributions; marketing conditional on a ministerial order). The US grants neither deferral nor exclusion: each gain realised in the account is taxable in the year of sale, and funds held are generally PFICs. New temporary exemption (RDL 29/2026): gain on the sale of a dwelling to a public-sector social/affordable housing entity, if the total price is below €800,000 and the dwelling had been empty without cause for 2 years: full exemption up to a €200,000 price, tapering between €200,000 and €800,000; the non-exempt part may be exempted by reinvestment in the Financia Europa Reinversión account (6 months, at most €800,000). The gain remains taxable in the US.

Source: www.boe.es
Artículo 33. Concepto. 1. Son ganancias y pérdidas patrimoniales las variaciones en el valor del patrimonio del contribuyente que se pongan de manifiesto con ocasión de cualquier alteración en la composición de aquél, salvo que por esta Ley se califiquen como rendimientos. 2. Se estimará que no existe alteración en la composición del patrimonio: a) En los supuestos de división de la cosa común. b) En la disolución de la sociedad de gananciales o en la extinción del régimen económico matrimonial de participación. c) En la disolución de comunidades de bienes o en los casos de separación de comun…
www.boe.es/buscar/act.php?id=BOE-A-2006-20764#a33

Taxed in the US?

Gains on property located in Spain are part of the worldwide income reported in the U.S. (Form 8949 / Schedule D); credit for the Spanish tax.

Source: IRS publication
All U.S. citizens and resident aliens are subject to U.S. tax on their worldwide income.
www.irs.gov/pub/irs-pdf/p54.pdf

How double taxation is avoided

U.S.-Spain treaty, Art. 13: gains on real property are taxable in the State where it is located; other gains in the State of residence, the saving clause letting the U.S. tax its citizens.

Source: Treaty text
Capital Gains 1. Gains derived by a resident of a Contracting State from the alienation of real property situated in the other Contracting State may be taxed in that other State. 2. Gains from the alienation of stock, participations, or other rights in a company or other legal person the property of which consists, directly or indirectly, mainly of real property situated in Spain, may be taxed in Spain. 3. Gains from the alienation of personal property which are attributable to a permanent establishment which an enterprise of a Contracting State has or had in the other Contacting State, or whi…
www.irs.gov/pub/irs-trty/spain.pdf

US forms involved

Form 1040; Form 8949 and Schedule D; Form 1116 (passive basket).

Source: IRS publication
The subtotals from this form will then be carried over to Schedule D (Form 1040), where gain or loss will be calculated in aggregate.
www.irs.gov/forms-pubs/about-form-8949

Watch out

Trap: a main home exempt in Spain (reinvestment or age 65+) is exempt in the U.S. only up to the §121 exclusion ($250,000, $500,000 for a couple); repaying a euro mortgage can also create a currency gain: a home loan is a personal transaction, so §988 does not apply to it (§988(e)(1)) and its $200 exemption, which only covers disposing of foreign currency (§988(e)(2)), does not cover it; a currency loss on the loan is not deductible (§165(c)).

Source: www.govinfo.gov
[§121: home-sale exclusion $250,000 / $500,000 joint] … [§988(e)(2)] Exclusion for certain personal transactions: If (A) nonfunctional currency is disposed of by an individual in any transaction, and (B) such transaction is a personal transaction, no gain shall be recognized for purposes of this subtitle by reason of changes in exchange rates after such currency was acquired by such individual and before such disposition. The preceding sentence shall not apply if the gain which would otherwise be recognized on the transaction exceeds $200.
www.govinfo.gov/app/details/USCODE-2024-title26/USCODE-2024-title26-subtitleA-chap1-subchapN-partIII-subpartJ-sec988

Pensions and retirement income

State pensions, employer pensions, US Social Security received in Spain.

Taxed in Spain?

Pensions from public social security schemes and pension plans are employment income (Ley 35/2006, art. 17(2)), taxed at the general rates.

Source: www.boe.es
primas que se satisfagan hasta la extinción del contrato de seguro. No obstante, la imputación fiscal tendrá carácter obligatorio en los contratos de seguro de riesgo. Cuando los contratos de seguro cubran conjuntamente las contingencias de jubilación y de fallecimiento o incapacidad, será obligatoria la imputación fiscal de la parte de las primas satisfechas que corresponda al capital en riesgo por fallecimiento o incapacidad, siempre que el importe de dicha parte exceda de 50 euros anuales. A estos efectos se considera capital en riesgo la diferencia entre el capital asegurado para fallecimi…
www.boe.es/buscar/act.php?id=BOE-A-2006-20764#a17

Taxed in the US?

Pensions and retirement income, Spanish ones included, are taxable in the U.S.; the treaty makes no exception for U.S. citizens, so social security benefits remain taxable with a credit for the Spanish tax.

Source: Treaty text
General Scope 1. This Convention shall apply to persons who are residents of one or both of the Contracting States, except as otherwise provided in the Convention. 2. The Convention shall not restrict in any manner any exclusion, exemption, deduction, credit, or other allowance now or hereafter accorded: (a) by the laws of either Contracting State; or (b) by any other agreement between the Contracting States. 3. Notwithstanding any provision of the Convention except paragraph 4, a Contracting State may tax its residents (as determined under Article 4 (Residence)), and by reason of citizenship …
www.irs.gov/pub/irs-trty/spain.pdf

How double taxation is avoided

U.S.-Spain treaty, Art. 20: private pensions are taxable only in the State of residence; social security benefits may also be taxed by the paying State; the saving clause lets the U.S. tax its citizens.

Source: Treaty text
Pensions, Annuities, Alimony, and Child Support 1. Subject to the provisions of Article 21 (Government Service): (a) pensions and other similar remuneration derived and beneficially owned by a resident of a Contracting State in consideration of past employment shall be taxable only in that State; and (b) social security benefits paid by a Contracting State to a resident of the other Contracting State or a citizen of the United States may be taxed in the first-mentioned State. 2. Annuities derived and beneficially owned by a resident of a Contracting State shall be taxable only in that State. T…
www.irs.gov/pub/irs-trty/spain.pdf

US forms involved

Form 1040 (lines 4–5); Form 1116; Form 8833 if you take a treaty-based position; Form 3520 if the plan is treated as a trust (unless exempt under Rev. Proc. 2020-17).

Source: IRS publication
Taxpayers use this form to make the treaty-based return position disclosure required by Internal Revenue Code section 6114.
www.irs.gov/forms-pubs/about-form-8833

Watch out

Trap: a Spanish pension plan may be treated as a foreign trust (Form 3520 / 3520-A) and its funds as PFICs; heavy penalties if missed (Pub 54). Many tax-favored foreign retirement plans are exempt from Forms 3520 / 3520-A under Rev. Proc. 2020-17 (tax-favored locally, reported to the local tax authority, capped contributions, withdrawals tied to retirement), provided their income has been reported correctly; the exemption covers those two forms only.

Source: IRS publication
decedents) file Form 3520, Annual Return To Report Transactions With Foreign Trusts and Receipt of Certain Foreign Gifts, to report: • Certain transactions with foreign trusts, • Ownership of foreign trusts under the rules of Internal Revenue Code sections 671 through 679, and • Receipt of certain large gifts or bequests from certain foreign persons. For more information, go to IRS.gov/Form3520. Form 3520-A. A foreign trust with at least one U.S. owner files Form 3520-A, Annual Information Return of Foreign Trust With a U.S. Owner, annually to provide infor- mation about: • The trust, • Its U.…
www.irs.gov/pub/irs-pdf/p54.pdf

Social security contributions

Who you pay contributions to, and whether the US self-employment tax still applies.

Taxed in Spain?

Social security contributions are deductible expenses from employment income (Ley 35/2006, art. 19(2)(a)).

Source: www.boe.es
Artículo 19. Rendimiento neto del trabajo. 1. El rendimiento neto del trabajo será el resultado de disminuir el rendimiento íntegro en el importe de los gastos deducibles. 2. Tendrán la consideración de gastos deducibles exclusivamente los siguientes: a) Las cotizaciones a la Seguridad Social o a mutualidades generales obligatorias de funcionarios. b) Las detracciones por derechos pasivos. c) Las cotizaciones a los colegios de huérfanos o entidades similares. d) Las cuotas satisfechas a sindicatos y colegios profesionales, cuando la colegiación tenga carácter obligatorio, en la parte que corre…
www.boe.es/buscar/act.php?id=BOE-A-2006-20764#a19

Taxed in the US?

Employee: no U.S. contributions; self-employed: U.S. self-employment tax is due unless you hold a certificate of coverage (totalization agreement). Spanish contributions are not creditable as income tax.

Source: IRS publication
citizen or resident, the rules for paying self-employment tax are generally the same whether you are living in the United States or abroad. The self-employment tax is a social security and Medi- care tax on net earnings from self-employment. You must pay self-employment tax if your net earnings from self-em- ployment are at least $400. For information on the maximum amount of self-em- ployment net earnings that is subject to the social security portion of self-employment tax, see the instructions for Schedule SE (Form 1040), available at IRS.gov/ ScheduleSE. All net earnings from self-employme…
www.irs.gov/pub/irs-pdf/p54.pdf

How double taxation is avoided

U.S.-Spain social security agreement, Art. 5: an employee posted by the employer stays covered by the home country if the posting is not expected to exceed five years; otherwise the law of the country of work applies (Art. 4).

Source: Social security agreement (SSA)
Article 5: Where a person who is covered under the laws of one Contracting State in respect of work performed for a firm in the territory of that Contracting State is sent by that firm to work in the territory of the other Contracting State, the person shall be subject to the laws of only the first Contracting State as if he were employed in its territory, provided that the period of work in the territory of the other Contracting State is not expected to exceed five years.
web.archive.org/web/20261108034231/https://www.ssa.gov/international/Agreement_Texts/spanish.html

US forms involved

Schedule SE; Form 1040; certificate of coverage (totalization agreement): for an employee, the employer keeps it to produce if the IRS asks, without sending it; a self-employed person exempt from U.S. self-employment tax attaches a copy of the foreign certificate to the U.S. return every year (Rev. Proc. 84-54).

Source: IRS publication
Use Schedule SE (Form 1040) to figure the tax due on net earnings from self-employment.
www.irs.gov/forms-pubs/about-schedule-se-form-1040

Social security coverage

Certificate of coverage issued by the INSS (Spain) or the SSA (U.S.) at the request of the employer or self-employed person: proof of exemption from the other system.

Source: Social security agreement (SSA)
[Administrative Arrangement, Chapter 2] … Article 3 Where the laws of a Contracting State are applicable in accordance with Part II of the Agreement, the agency of that Contracting State, upon request of the employer, employee or self-employed person, shall issue a certificate stating that the employee or self-employed person is covered by those laws. This certificate shall be proof that the named worker is exempt from the laws on compulsory coverage of the other Contracting State. The certificate referred to in paragraph 1 shall be issued In Spain: by the National Social Security Institute. I…
web.archive.org/web/20261108034231/https://www.ssa.gov/international/Agreement_Texts/spanish.html

Watch out

Trap: a temporary posting keeps you covered by the home country (five years at most); without a certificate of coverage, you may pay twice and the IRS may claim self-employment tax.

Source: IRS publication
The agreements gener- ally make sure that social security taxes (including self-employment tax) are paid only to one country. For a list of current international social security agree- ments, go to SSA.gov/international/status.html. As agree- ments with additional countries enter into force, they will be posted on this website. For more information on inter- national social security agreements, go to SSA.gov/ international/totalization_agreements.html. Employees. Generally, under these agreements, you are subject to social security taxes only in the country where you are working. However, if y…
www.irs.gov/pub/irs-pdf/p519.pdf

Your own numbers

This table says what is taxed where. Your Tax report says how much.

Enter your salary, business income, rent, investments, accounts and travel dates. The report runs the 330-day test, compares exclusion, credit, both and deducting the foreign tax, checks the FBAR and Form 8938 thresholds, flags PFIC funds and lists your deadlines, from the same sourced parameters, with no AI in the calculation. Change a number and everything recalculates.

Tax report: $19 launch price, one payment for one report. The free preview (eligibility, filing thresholds, best route) comes first. Individuals can buy with a card billed in the United States, Australia, the Bahamas, Bermuda, the British Virgin Islands, Brunei, Canada, the Cayman Islands, Guernsey, Hong Kong, Indonesia, Japan, Kuwait, Liechtenstein, Macao, Malaysia, New Zealand, the Philippines, Qatar, Singapore, South Africa, Switzerland and Thailand. What counts is the billing country of your card, not where you live: an American abroad paying with a card billed to a US address can buy.

Decision aid computed from cited official texts — not a tax return and not personalised tax advice.

A specific question instead, for example about a home sale, a pension or a fund in Spain? Ask the Tax chat · from $9

How this table is built

Each of the 42 cells is a rule written from one identified legal source: the US–Spain income tax treaty, the Spain tax code or official guidance, the US–Spain social security agreement, the Internal Revenue Code and Treasury regulations, IRS publications. The source and the quoted passage are shown under every cell. Rules are stored with a status (candidate, reviewed, locked) and a journal of every change; only reviewed rules appear here. Figures that change every year (exclusion limit, standard deduction, thresholds) are kept in a dated parameter table and shown in the personal report. See our methodology.

Other countries: Portugal · Japan · United Kingdom · Canada · Mexico · Germany · France · Italy · Switzerland · Netherlands · Ireland · Sweden · Australia · South Korea · Brazil · China · Thailand · New Zealand · Hong Kong · Singapore · United Arab Emirates · Costa Rica · Philippines · Colombia · Argentina.