Important Notice
This guide is for informational purposes only and does not constitute tax, legal, or financial advice. Social Security rules, tax treaties, and bilateral agreements involve complex interactions that depend on your individual circumstances. Consult a qualified cross-border tax professional before making decisions based on this information. All figures are current as of March 2026.
How We Researched This
This guide draws on the official SSA bilateral agreement pamphlets for Portugal and Spain, the SSA Primary Insurance Amount formula and 2026 bend points, the Social Security Fairness Act documentation, and the IRS totalization overview. Tax treatment was cross-referenced against the Agencia Tributaria's published guidance on US income for Spanish residents and the US-Portugal income tax convention text. Contribution rates were verified against PwC Tax Summaries for both countries. Last verified March 2026.
Key Takeaways
- The US has totalization agreements with 30 countries including Portugal (since 1989) and Spain (since 1988). These agreements prevent dual Social Security taxation and let you combine credits from both countries to qualify for benefits.
- You need a minimum of 6 US quarters (1.5 years of work) to use totalization for US benefits. Without filing, Americans who worked fewer than 40 US quarters may get zero Social Security, even with decades of combined US and foreign work.
- The hidden problem: Totalization helps you QUALIFY for benefits but does NOT add foreign earnings to your US benefit calculation. Years abroad with no US earnings count as $0 in the 35-year AIME average, reducing your monthly benefit. An American earning $80,000/year who works 10 years in Portugal instead of the US could see their benefit drop by roughly ~$610/month.
- The Windfall Elimination Provision (WEP) was repealed on January 5, 2025 (Social Security Fairness Act), retroactive to January 2024. Americans receiving both a Portuguese or Spanish pension AND US Social Security are no longer subject to WEP benefit reductions. SSA has paid $17 billion in retroactive increases.
- Tax treatment: Both Portugal and Spain tax US Social Security benefits as residence countries, with a foreign tax credit for US tax paid. The US may also tax your benefits (up to 85% taxable depending on income).
- Portugal's total Social Security burden (34.75%) and Spain's (~36-37%) are both more than double the US rate (15.3% self-employed). This matters significantly for self-employed Americans choosing where to base operations.
In This Guide
- What Happens to Your Social Security When You Move Abroad?
- How Do Totalization Agreements Work?
- What Does the US-Portugal Totalization Agreement Cover?
- What Does the US-Spain Totalization Agreement Cover?
- Portugal vs Spain: How Do the Two Agreements Compare?
- How Do Years Abroad Affect Your Benefit Amount?
- What Changed When WEP Was Repealed in January 2025?
- How Are Social Security Benefits Taxed in Portugal and Spain?
- What Are the Social Security Contribution Rates in Each Country?
- How Do You Claim Totalized Benefits?
- Frequently Asked Questions
- Sources
What Happens to Your Social Security When You Move Abroad?
Your US Social Security benefits do not disappear when you move abroad. But the system was built for domestic careers, and Americans who split their working years across countries face gaps that can cost thousands of dollars annually in reduced benefits.
The standard requirement: 40 quarters of coverage (10 years of work) to qualify for US retirement benefits. In 2026, you earn one credit for every $1,890 of covered earnings, up to 4 credits per year. Full retirement age ranges from 66 (born 1943-1954) to 67 (born 1960 or later), with reduced benefits available starting at age 62.
US Social Security covers American citizens working abroad for American employers, regardless of assignment length. Without a totalization agreement, self-employed US citizens remain covered by US Social Security even while living and working overseas. When a totalization agreement applies (as with Portugal and Spain), the agreement's rules override this default — see Sections 3 and 4 below.
Without a totalization agreement, an American employed in Portugal or Spain would owe Social Security taxes to both countries simultaneously. The combined payroll tax rate would exceed 40%. This dual-coverage problem is the primary issue totalization was designed to solve.
One thing totalization cannot fix: Medicare does not work abroad. Workers exempted from foreign social security by the totalization agreement also lose access to that country's public healthcare and sickness benefits. If you move to Portugal or Spain under totalization coverage, you will need private health insurance for Portugal or private health insurance for Spain.
Practical Note
If you already have 40 US quarters (10+ years of US work), totalization will not change your eligibility. You already qualify. But the AIME calculation impact in Section 6 affects everyone who works abroad, regardless of how many quarters they have. Keep reading.
How Do Totalization Agreements Work?
The US maintains bilateral Social Security agreements with 30 countries, and these agreements serve two purposes: they eliminate dual taxation, and they let workers combine credits from both systems to qualify for benefits they could not earn from one country alone.
The basic rule is territorial. You pay into the Social Security system of the country where you physically work. An American employed in Lisbon contributes to Portuguese Social Security. The same person working from New York contributes to the US system. Workers cannot choose which system to join.
There is one major exception. The detached-worker rule covers temporary assignments of up to 5 years. The regulation requires that a worker sent temporarily to another country stays covered by the sending country's system, provided the employer obtains a Certificate of Coverage.
When you reach retirement age, each country pays its own benefit proportional to the time you worked in that country. You can receive benefits from both countries at the same time. The 30 countries with agreements (by year of entry into force): Italy (1978), Germany (1979), Switzerland (1980), Belgium (1984), Norway (1984), Canada (1984), United Kingdom (1985), Sweden (1987), Spain (1988), France (1988), Portugal (1989), Netherlands (1990), Austria (1991), Finland (1992), Ireland (1993), Luxembourg (1993), Greece (1994), South Korea (2001), Chile (2001), Australia (2002), Japan (2005), Denmark (2008), Czech Republic (2009), Poland (2009), Slovak Republic (2014), Hungary (2016), Brazil (2018), Uruguay (2018), Slovenia (2019), and Iceland (2019).
The minimum to use totalization for US benefits: 6 US quarters (1.5 years of work). Portugal requires at least 12 months of Portuguese coverage. Spain requires at least 1 year. Notable absence from the 30-country list: Thailand has no totalization agreement with the US, which creates a very different problem for Americans living there.
| Without Totalization | With Totalization | |
|---|---|---|
| US Quarters | 32 (8 years) | 32 US + 12 Portugal = 44 total |
| Meets 40-quarter minimum? | NO — $0 benefit | YES — eligible for partial US benefit |
| Dual SS taxes? | YES — pay into both systems | NO — pay into one system only |
What Does the US-Portugal Totalization Agreement Cover?
The US-Portugal totalization agreement has been in force since August 1, 1989 and covers the general social security system: old-age, survivors, and disability insurance, including self-employed workers.
For self-employed workers, the residence rule applies. The regulation requires that self-employed workers who reside in the US contribute to US Social Security, and those residing in Portugal contribute to Portuguese Social Security. There is no choice in the matter.
Portugal's retirement age in 2026 is 66 years and 9 months (up from 66 years and 7 months in 2025, increasing annually based on INE life expectancy data, per government Portaria). The minimum Portuguese coverage period for a regular retirement pension: 15 years. For disability benefits, the minimum is 5 years. To use totalization to qualify for Portuguese benefits, the minimum Portuguese coverage required is 12 months.
One important exclusion: workers exempted from Portuguese Social Security by the agreement cannot access sickness, maternity, occupational injury, unemployment, or family allowance programs. The Certificate of Coverage form is P/USA 1, requested from the regional center of the Instituto da Seguranca Social. Americans living in Portugal can apply for totalized benefits through the Federal Benefits Unit at the US Embassy in Lisbon or at any Portuguese social security office.
Before You Move
Request your Certificate of Coverage before relocating. The application process can take months. Contact SSA or the Portuguese Instituto da Seguranca Social well in advance of your move date.
What Does the US-Spain Totalization Agreement Cover?
In force since April 1, 1988, the US-Spain agreement covers Spain's General System of Social Security for disability, old age, and death/survivorship. It also applies to several special systems: agricultural, maritime, coal miners, domestic employees, and self-employed workers.
Self-employment follows the same residence-based rule as Portugal, with one additional wrinkle. The regulation requires that self-employed workers who transfer their business to the other country for 5 years or fewer stay covered by the origin country's system.
Spain's standard retirement age is 67. Workers with 38.5 or more years of contributions can retire at 65 on a sliding scale based on total contribution years. The minimum Spanish coverage for retirement: 15 years, including at least 2 years during the last 15 years before retirement. For totalization eligibility, Spain requires a minimum of 1 year of Spanish credits.
The exclusion mirrors Portugal. Workers exempted from Spanish Social Security cannot access sickness insurance, healthcare, unemployment, workers' compensation, or family allowance programs. Certificate of Coverage form: E/USA 1, issued by the provincial office of the General Treasury of Social Security (TGSS).
A practical advantage with Spain: cross-filing. You can submit your US benefit application at any Spanish social security office, and they will forward it to SSA. This saves a trip to the embassy. Apply from Spain through the Federal Benefits Unit at the US Embassy in Madrid (Serrano 75, 28006 Madrid, fbu.madrid@ssa.gov) or any INSS office.
Cross-Filing Advantage
Spain's cross-filing means you can file your US benefit application at any local Spanish social security office. They forward it directly to SSA. Portugal also supports cross-filing, but Spain's network of INSS offices is larger and more accessible in most cities.
Portugal vs Spain: How Do the Two Agreements Compare?
Both agreements follow the same structural template, but the details matter when you are choosing between two countries. We built this comparison because no one else has published it, and the differences affect your retirement planning more than most people expect.
| Feature | Portugal | Spain |
|---|---|---|
| Agreement in force since | August 1, 1989 | April 1, 1988 |
| Covers self-employed? | Yes | Yes |
| Local retirement age (2026) | 66 years, 9 months | 67 (or 65 with 38.5yr contributions) |
| Min local coverage for retirement | 15 years | 15 years (2yr in last 15yr) |
| Min local credits for totalization | 12 months | 1 year |
| Min US credits for totalization | 6 quarters | 6 quarters |
| Detached worker period | Up to 5 years | Up to 5 years |
| Certificate of Coverage form | P/USA 1 | E/USA 1 |
| SS authority | Instituto da Seguranca Social | Instituto Nacional de la Seguridad Social |
| US Embassy FBU | Lisbon | Madrid (Serrano 75) |
| Cross-filing available? | Yes | Yes |
| Employee SS contribution | 11% | 6.35-6.45% |
| Employer SS contribution | 23.75% | ~30% |
| Total SS burden | 34.75% | ~36-37% |
The structures are nearly identical. The practical differences that actually affect decision-making: Portugal's total contribution burden runs slightly lower. Spain's retirement age is higher at 67, but workers who have accumulated 38.5 years of contributions can retire at 65. For the complete Portugal financial picture or the complete Spain financial picture, see our corridor-specific guides.
How Do Years Abroad Affect Your Benefit Amount?
This is the part almost nobody talks about. Totalization helps you qualify for Social Security, but it does not add your foreign earnings to the US benefit calculation. Every year you work abroad with zero US earnings pulls down your 35-year average, and the monthly cost can exceed $900.
US Social Security benefits are calculated from your Average Indexed Monthly Earnings (AIME), which averages your highest 35 years of earnings. Years with no US earnings, including years working abroad under a foreign Social Security system, count as $0. Those zeros dilute the 35-year average.
The Primary Insurance Amount (PIA) formula for workers turning 62 in 2026 applies three bend points: 90% of the first $1,286 of AIME, plus 32% of AIME between $1,286 and $7,749, plus 15% of AIME above $7,749.
Under totalization, the benefit is proportional. SSA first calculates a theoretical PIA as if all your work had been in the US, then prorates it by the ratio of US quarters to total quarters. The key misconception we want to correct: totalization fills the eligibility gap, not the earnings gap. The numbers below show why this distinction matters.
Scenario A: Full US Career (35 Years, $80,000/Year Average)
Baseline: the full benefit with no years abroad.
Scenario B: 25 Years US + 10 Years in Portugal ($80,000/Year When Working)
Monthly reduction vs full US career: ~$610. Annual reduction: ~$7,320.
Ten years in Portugal costs roughly $610 per month in reduced US Social Security, every month, for the rest of your life. That is real money. But it is not the full picture, because those 10 years also build a Portuguese pension.
Scenario C: 20 Years US + 15 Years in Spain ($80,000/Year When Working)
Monthly reduction vs full US career: ~$914. Annual reduction: ~$10,968.
These calculations are simplified for illustration. The actual formula involves wage indexing, exact bend points, and the proration formula. Real benefits will vary. The point is the order of magnitude: hundreds of dollars per month, compounding over a 20-30 year retirement.
It Cuts Both Ways
The AIME reduction is not the whole story. If your US earnings were modest but your Portuguese or Spanish career was well-compensated, the foreign pension may more than offset the US reduction. Run the numbers for both countries' pension systems before assuming you are worse off. A cross-border financial planner can model both benefits simultaneously.
What Changed When WEP Was Repealed in January 2025?
The Social Security Fairness Act was signed into law on January 5, 2025, permanently repealing both the Windfall Elimination Provision (WEP) and the Government Pension Offset (GPO). If you receive a foreign pension alongside US Social Security, your US benefit is no longer reduced.
The repeal is retroactive to January 2024. The last month WEP or GPO applied was December 2023. As of July 2025, SSA completed 3.1 million payments totaling $17 billion to affected beneficiaries, finishing 5 months ahead of the statutory deadline.
The Act specifically helps "people whose work had been covered by a foreign social security system." Before the repeal, WEP could reduce US benefits by up to approximately $500/month for workers who also qualified for a foreign pension. That reduction is gone.
For Portugal and Spain movers specifically: if you receive (or will receive) a Portuguese or Spanish pension alongside US Social Security, the WEP deduction no longer applies. Most competitor content still references WEP as current law. It is not. The provision has been permanently eliminated.
If you are already receiving benefits, SSA has automatically adjusted your payments retroactive to January 2024 — no action needed. If you never applied because the WEP reduction made benefits too small, apply now. Under general SSA rules, retroactive payments are limited to 6 months before your application date. Every month of delay is a month of benefits lost permanently.
Act Now If This Applies to You
Contact SSA immediately if you avoided claiming US Social Security because of the WEP reduction. Existing beneficiaries got automatic adjustments back to January 2024. But if you never filed, the standard 6-month retroactivity limit on new applications means the clock is running.
How Are Social Security Benefits Taxed in Portugal and Spain?
Both Portugal and Spain tax US Social Security benefits received by their residents, while the US also retains the right to tax. Foreign tax credits prevent full double taxation, but the interaction between three tax systems (US federal, treaty, and host country) is genuinely complex.
We cover the general rules below. Your specific outcome depends on citizenship, residency status, income level, and pension type. Professional advice is not optional for this topic.
Portugal: US-Portugal Tax Treaty (Article 20)
Both countries may tax US Social Security benefits paid to a Portugal resident. The treaty uses permissive "may be taxed" language, meaning it grants taxing rights without exclusivity. Portugal taxes as the residence state. The US retains the right to also tax. Portugal provides a foreign tax credit for US tax paid on Social Security benefits (Portuguese tax authorities have confirmed this treatment in published rulings).
Private pensions, including 401(k) and IRA distributions, are taxable only in Portugal as the country of residence under Article 20(1)(a) of the treaty. For the full picture on Portugal's tax system, see our US-Portugal financial guide. Note that Portugal's IFICI regime (the NHR replacement) does not exempt pension income — see our IFICI pension trap analysis.
Spain: US-Spain Tax Treaty (Article 20 CDI)
US Social Security paid to a resident of Spain falls under shared taxation. Spain taxes as the residence state, and the US may also tax. Spain provides a foreign tax credit (deduction for international double taxation) for US tax paid, provided the US taxed based on criteria other than citizenship. For US citizens, this creates a potential problem: the US taxes based on citizenship, so Spain may deny the credit for US tax paid on Social Security. The treaty's saving clause (Article 1(3)) and relief provisions (Article 24) contain mechanisms to prevent full double taxation, but the interaction is complex and typically requires professional advice.
US government and military pensions (Article 21.2) are taxed only in the US. In Spain, these are exempt but subject to "exemption with progression," meaning the exempt amount is included when calculating the applicable tax rate on your other income. Private pensions (401(k), IRA): taxable only in Spain as country of residence. Our US-Spain financial guide covers the broader tax picture.
US Side (Both Corridors)
The US can tax up to 85% of Social Security benefits depending on your "combined income" level. US citizens abroad must file Form 1040 and report worldwide income. SSA-1099 documents the benefits received. For Americans weighing FEIE against the Foreign Tax Credit in this context, see our FEIE vs FTC Decision Matrix.
| Income Type | Taxed in Portugal? | Taxed in Spain? | Taxed in US? |
|---|---|---|---|
| US Social Security | Yes (FTC for US tax) | Yes (FTC for US tax) | Up to 85% |
| US Government Pension | Verify against treaty | No (exempt w/ progression) | Yes (exclusive) |
| Private Pension (401k/IRA) | Yes (exclusive) | Yes (exclusive) | File required, credits apply |
Get Professional Help on This One
The summary above covers the general rules. Your specific situation depends on your citizenship, residency status, income level, and the type of pension. A cross-border tax advisor can model your specific scenario and identify which credits apply, how the treaty interacts with domestic law, and whether restructuring income timing could reduce your total tax bill.
What Are the Social Security Contribution Rates in Each Country?
The total Social Security burden in Portugal (34.75%) and Spain (~36-37%) is more than double the US rate (15.3% for self-employed). For employed workers, employers absorb most of the cost. For self-employed workers, the difference is where the real planning decisions lie.
| United States | Portugal | Spain | |
|---|---|---|---|
| Employee rate | 7.65% (6.2% SS + 1.45% Medicare) | 11% | 6.35-6.45% |
| Employer rate | 7.65% (matching) | 23.75% | ~30% |
| Total burden | 15.3% | 34.75% | ~36-37% |
| Self-employed rate | 15.3% | ~14.98% effective (21.4% on 70% of income) | Varies by income bracket |
| Earnings cap | $184,500 (2026) | No cap | Varies by category |
| Quarter of coverage | $1,890 (2026) | N/A | N/A |
If you are employed, the employer-heavy split in Portugal and Spain means your take-home difference is smaller than the headline numbers suggest. Spanish employees pay just 6.35-6.45% out of their own salary, compared to 7.65% in the US. The employer pays the rest.
The self-employed picture is different and more consequential for remote workers and digital nomad visa holders. Portugal's effective self-employed rate of approximately 15% (21.4% applied to 70% of income) is comparable to the US rate of 15.3%. Spain's self-employed rate varies by income bracket and can run higher. This is a meaningful factor for Americans choosing where to establish tax residency.
Self-Employed and Choosing Between Countries?
If you are covered by Portuguese Social Security through the totalization agreement, you are building credits toward a Portuguese pension too. At 34.75% total contribution rate, Portugal's system is expensive for employers, but it also pays out proportionally higher pensions than the US system for equivalent contribution periods. Run the numbers on what you would receive from both systems at retirement before deciding where to base operations.
How Do You Claim Totalized Benefits?
Claiming totalized benefits requires coordination between two countries' social security agencies. The process is slower than a domestic claim, but the steps are straightforward. Apply at least 6 months before you need the benefits.
- Determine which agreement applies. If you worked in Portugal, the US-Portugal agreement applies. Spain means the US-Spain agreement. Worked in both? You may need to file under both agreements separately.
- Gather your documentation. You will need your US Social Security number, foreign social security number, proof of age, evidence of US earnings for the past 24 months, and information about your foreign coverage periods.
- File Form SSA-2490-BK ("Application for Benefits Under a U.S. International Social Security Agreement"). Available at ssa.gov.
-
Choose where to apply.
- From the US: Any Social Security office, or call 1-800-772-1213
- From Portugal: Federal Benefits Unit at US Embassy Lisbon, or any Portuguese social security office (Instituto da Seguranca Social)
- From Spain: Federal Benefits Unit at US Embassy Madrid (Serrano 75, 28006 Madrid, fbu.madrid@ssa.gov), or any Spanish social security office (INSS)
- File in the foreign country too. Apply separately for any Portuguese or Spanish pension you are entitled to. Cross-filing means either country's office can forward your application to the other.
- Request your Certificate of Coverage if you are still working. Form P/USA 1 (Portugal) or E/USA 1 (Spain) from the local social security authority. This proves you are exempt from one country's contributions.
- Track your claim. The SSA Office of International Programs handles totalization claims at: Office of Data Exchange, Policy Publications, and International Negotiations, 6401 Security Blvd., Baltimore, MD 21235.
For D7 visa holders in Portugal planning long-term stays, documenting your Portuguese coverage periods from day one saves significant effort later. The same applies for NLV holders in Spain.
Do Not Wait Until Retirement
Request a Social Security Statement at ssa.gov/myaccount now to see your current credits. If you are close to 40 quarters, you may not need totalization at all. If you are well below that threshold, start documenting your foreign coverage periods immediately. Gathering records from Portuguese or Spanish social security years after the fact can be surprisingly difficult.
Frequently Asked Questions
Yes. Each country pays its own benefit based on the work you did in that country. Totalization lets you combine credits for eligibility, but each country calculates and pays its own pension separately. You can receive both simultaneously.
Not for eligibility. You already qualify for US benefits. But totalization still matters for two reasons: avoiding dual Social Security taxation while working abroad, and understanding how years abroad with zero US earnings affect your AIME calculation and benefit amount (see Section 6).
If you reside in Portugal, you pay into the Portuguese social security system. If you reside in Spain, you pay into the Spanish system. Residence determines coverage for self-employed workers under both agreements. The exception: if you temporarily transfer your business for 5 years or fewer, you may stay in your origin country's system.
No. Medicare generally does not cover healthcare outside the US. If the totalization agreement exempts you from Portuguese or Spanish social security, you also lose access to their public healthcare and sickness benefits. You will need private health insurance. See our health insurance guides for both countries.
Yes. The Social Security Fairness Act was signed January 5, 2025, and is retroactive to January 2024. WEP and GPO are permanently repealed. If you see content warning about WEP reducing your benefits, it is outdated. SSA has already paid $17 billion in retroactive increases to 3.1 million beneficiaries.
SSA does not publish specific processing times for totalization claims. These require coordination between two countries' agencies, which typically takes longer than domestic claims. Apply at least 6 months before you need the benefits.
Generally no. If the totalization agreement assigns you to the foreign country's system, you cannot voluntarily pay into US Social Security. You contribute to the country the agreement designates. The exception is the detached-worker rule for temporary assignments of up to 5 years.
Your US benefit continues unchanged. You already qualified for it, and the amount does not change based on where you live for US citizens. Your Portuguese or Spanish pension may also be paid to you in the US, though exchange rate fluctuations and foreign tax treaty implications may apply.
Sources
- SSA.gov — US-Portugal Totalization Agreement Pamphlet — ssa.gov/international/Agreement_Pamphlets/portugal.html
- SSA.gov — US-Spain Totalization Agreement Pamphlet — ssa.gov/international/Agreement_Pamphlets/spain.html
- SSA.gov — International Agreements Overview — ssa.gov/international/agreements_overview.html
- SSA.gov — Social Security Fairness Act (WEP/GPO Repeal) — ssa.gov/benefits/retirement/social-security-fairness-act.html
- SSA.gov — PIA Formula and Bend Points — ssa.gov/oact/cola/piaformula.html
- SSA.gov — 2026 Bend Points — ssa.gov/oact/cola/bendpoints.html
- IRS — Totalization Agreements — irs.gov/individuals/international-taxpayers/totalization-agreements
- Agencia Tributaria (Spanish Tax Agency) — US Income for Spanish Tax Residents — sede.agenciatributaria.gob.es
- PwC Tax Summaries — Portugal Social Security — taxsummaries.pwc.com/portugal/individual/other-taxes
- PwC Tax Summaries — Spain Social Security — taxsummaries.pwc.com/spain/individual/other-taxes