Why it exists
Without it, an American employee working from Spain would technically owe Social Security contributions in both countries — a form of double taxation on wages. The U.S. has signed totalization agreements with 30+ countries, including Spain, precisely to eliminate this situation. Under the agreement, a worker is covered by one system only, based on where their employer is located and the nature of the assignment.
How it applies to Digital Nomad Visa holders
A W-2 employee who moves to Spain under the Digital Nomad Visa is still employed by a U.S. company. Under the totalization agreement, they remain covered by U.S. Social Security — paying FICA as before, not Spanish Social Security (Seguridad Social). Spain cannot require parallel contributions for the same work.
This only holds when it is actively documented. The Social Security Administration issues a Certificate of Coverage — the physical proof that a specific worker remains in the U.S. system. That certificate is a required document in every W-2 employee's Digital Nomad Visa file, and the Spanish immigration authority (the UGE) expects it.
The Certificate of Coverage is the operative document
The totalization agreement is the treaty; the Certificate of Coverage is your personal proof of coverage under it. The distinction matters because:
- The agreement exists in the abstract; the certificate applies it to you specifically
- The UGE needs your certificate, not a copy of the treaty
- The SSA takes approximately three months to issue certificates — making it the longest lead item in most W-2 files
- If your payroll runs through a PEO (Justworks, TriNet, Rippling, etc.), the certificate request must name the right entities — the PEO complicates the request if not handled correctly
The practical guide to requesting the certificate — who submits it, what it says, how to sequence it — is at SSA Certificate of Coverage: the Document That Decides Your Spanish Visa.
What the agreement does not cover
The totalization agreement handles Social Security only. It does not affect:
- Income taxes — governed by the separate U.S.–Spain Income Tax Treaty
- Medicare — FICA's Medicare portion has its own rules; totalization does not eliminate Medicare contributions
- Spanish healthcare access — W-2 employees under the totalization agreement are not contributing to Spanish Social Security, so they do not automatically access Spain's public healthcare system; qualifying private health insurance is required instead
- Freelancers who register as autónomo — if you become a Spanish autónomo and contribute to Spanish Social Security, the totalization agreement's coverage provisions work differently
Duration of coverage
The standard posted-worker coverage lasts up to five years, which comfortably covers a 3-year Digital Nomad Visa permit and its 2-year renewal. An extension is possible if needed. The certificate is valid for the period it states — and a new certificate is part of the renewal file when the time comes.
Frequently asked questions
It can — if a self-employed American files a Certificate of Coverage for self-employed persons. But most Digital Nomad Visa freelancers who become tax residents in Spain register as autónomo and contribute to Spanish Social Security instead. The W-2-employee path is where the totalization agreement is most commonly used for this visa.
No. Social Security and income tax are separate systems. The totalization agreement handles Social Security contributions only. Tax residency and Spanish income tax are governed by a different instrument — the U.S.–Spain Income Tax Treaty.
The request is mostly administrative — I draft everything and the HR team submits. Genuine refusal is rare and usually means the underlying remote-work authorization isn't in place yet, which is its own conversation. Starting the conversation early gives time to resolve it.
No. The totalization agreement is the underlying treaty between the U.S. and Spain. The Certificate of Coverage is the document the SSA issues to an individual worker under that treaty, proving that person specifically remains in the U.S. system. The certificate is what goes in your visa file.
No — that is the entire purpose of the certificate. While it's valid, you remain subject only to U.S. Social Security, and Spain cannot require parallel contributions for the same covered work.
Sources: SSA — International agreements overview · SSA — U.S.–Spain agreement pamphlet. This page is general information, not legal advice. Last updated: July 2026.