Tax residence certificate and W-8BEN form
Last updated 22 September 2026 · Reviewed by Jaime Piñeira Pardo, lawyer registered with the ICAM bar, no. 138826 · English version of our Spanish guide.
The short answer
The tax residence certificate from the AEAT and the IRS W-8BEN form are the pair that prevents the United States from withholding 30%. You need the certificate for treaty purposes, not the generic one: it is valid for 1 year. The W-8BEN is given to the payer, never to the IRS, and expires after 3 years. Managora prepares and submits it for you.
We handle the whole procedure for you, from start to finish.
You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €120.00 (21% VAT included), plus the tasa (official fee) where there is one.
What is new, and the law that applies
- Protocol of 14 January 2013 modifying the treaty between Spain and the United States: published in the BOE on 23 October 2019 and in force since 27 November 2019. Since that date, interest and royalties with a beneficial owner in the other State do not bear withholding at source, and 0% was added for dividends from participations of 80% or more held for 12 months that pass the limitation on benefits clause.
- W-8BEN and W-8BEN-E form: as of 22 September 2026, the October 2021 revision is still in force, as are its instructions. There is no new version or change in the 3 year expiration rule.
- Multilateral Convention (MLI): Spain has been a party since 1 January 2022, after depositing its instrument on 28 September 2021. It affects its treaties with other countries, especially due to the anti-abuse clauses. The United States is not among the signatories on the official OECD list updated to 15 September 2026, so the Spanish-US treaty is not modified by the MLI.
- Tax certificates: the AEAT maintains immediate issuance at the electronic headquarters when the file data allows proving residence. For all other cases, the maximum issuance period of 20 days from the management and inspection regulations applies.
- Orden HAC/623/2026, of 12 June (BOE of 23 June 2026): modifies the order regulating modelos 210, 211 and 213 of the Non-Resident Income Tax, but does not touch the provision on the tax residence certificate in Spain or its forms. The changes to modelo 210 apply from 1 January 2027. For those requesting the certificate, nothing changes in 2026.
What is the tax residence certificate and which one do I need?
It is the document with which the Tax Agency proves to a payer or a foreign administration that you are a tax resident in Spain. The AEAT (the Spanish tax agency) issues 2 different versions and only one works to lower a withholding tax abroad.
The tax residence certificate in Spain, the generic one, simply states that you are a resident in Spain. It is the one valid for countries with which Spain does not have a treaty and for procedures where you only have to prove where you live for tax purposes.
The tax residence certificate for treaty purposes says something more: that you are a resident in Spain in the sense defined in the treaty between Spain and a specific country, which you choose when requesting it. That express mention is the requirement that the regulations demand to apply the exemptions or withholding limits of the treaty. Without it, the foreign payer cannot reduce anything, even if you have lived in Madrid your whole life.
Both are issued in Spanish and English, and the AEAT issues them based on the data already in your file. If that data does not prove your residence in Spain (for example, because you never filed a tax return here or because a foreign tax address appears), the request is denied and the census situation must be corrected first.
How do you request the certificate from the AEAT and how long does it take?
It is requested at the electronic headquarters of the Tax Agency, in the census certificates section, identifying yourself with Cl@ve (the Spanish electronic identity system), an electronic certificate or an electronic ID. It can also be requested at the Administration or Delegation corresponding to your tax address, submitting the modelo 01 for certificate requests.
The AEAT itself indicates that, whenever possible, the certificate is obtained immediately: the request is signed and the document appears instantly, with its secure verification code so the foreign payer can verify it. When the case needs manual review, the maximum period to issue a tax certificate is 20 days, which is generally set by the management and inspection regulations.
The certificate is valid for 1 year from the date of issue. After that 1 year, the foreign payer can demand a new one, and it is advisable to renew it before it expires instead of waiting for them to over-withhold again.
If your tax residence is in the Basque Country or Navarre, the certificate is not issued by the AEAT but by your regional tax authority, which has its own regulations and procedures. In the Canary Islands, Ceuta and Melilla, the certificate is issued by the AEAT, although your tax bill in Spain is later calculated with the specific rules of those territories.
Managora first checks that your census situation supports the certificate, requests it with the correct treaty country and delivers the document ready for you to upload to the platform or broker.
What is the W-8BEN form and why is it never sent to the IRS?
The W-8BEN is the form with which a non-US individual declares to whoever pays them from the United States that they are not a US taxpayer and that they want to benefit from the double taxation treaty. Its full name is Certificate of Foreign Status of Beneficial Owner for United States Tax Withholding and Reporting (Individuals). Companies use the W-8BEN-E.
It is not a tax return: it is a certification given to the withholding agent. The IRS instructions say it bluntly: do not send the W-8BEN form to the IRS, give it to whoever asks for it. In practice, it is filled out within the panel of the broker, platform or US client, who keeps it and uses it to justify the withholding they apply.
If the payer does not have a valid W-8BEN, they are obliged to withhold 30% on the gross amount of fixed or determinable US income (dividends, interest, royalties and similar). It is not a penalty or a payer error: it is the default rate of American law.
The form expires. It is valid from the day it is signed until 31 December of the 3rd full calendar year following, so one signed on any date in 2026 expires on 31 December 2029. Furthermore, if your circumstances change (you move countries, change your name or tax number), you have 30 days to notify the payer and provide a new one.
The version in force as of 22 September 2026 is still the October 2021 revision, both for the form and its instructions.
Which boxes on the W-8BEN lower the 30% withholding?
The first part of the form is identification: name, country of citizenship (Spain), tax residence address, mailing address if different and tax identification number. In the foreign tax identifying number box goes your Spanish NIF or NIE (foreigner identity number). The US tax number is only required in specific cases detailed in the form itself.
The second part is what really matters and is what most people leave blank. In box 9 you declare that you are a resident of Spain within the meaning of the income tax treaty between Spain and the United States. In box 10 you specify the cases that need additional conditions: the article of the treaty invoked, the corresponding withholding percentage and the type of income involved.
If the second part is left empty, the form proves that you are a foreigner, but does not allow the treaty to be applied: the payer will continue to withhold 30%. This is the most expensive and most frequent mistake.
The third part is the signature. The beneficial owner of the income or a representative with sufficient power of attorney must sign, and the date of the signature marks the start of the 3 year validity period.
For a Spanish company, the W-8BEN-E works the same but with more boxes: you must also declare the entity's classification for FATCA regulations purposes and, in the treaty benefits section, pass the limitation on benefits clause that the treaty with the United States incorporates.
How much is withheld if I work with YouTube, Twitch, Amazon KDP or a broker?
It depends on the type of income, and the treaty between Spain and the United States is one of the most favourable Spain has after the Protocol signed on 14 January 2013.
Income from YouTube, Twitch or Amazon KDP is treated as royalties, that is, as payments for copyright. With the treaty correctly invoked, the withholding in the United States is 0%: that income is only taxed in Spain. Without a valid form, the platform withholds 30% of the part of your income that comes from US audiences or buyers.
Dividends from US shares in your broker bear a 15% withholding with the treaty applied, compared to 30% without the form. That 15% is later taken into account in your Spanish tax return through the deduction for international double taxation, with the limits that this deduction has. Anything withheld above the treaty limit falls outside the deduction and must be claimed from the US administration, a slow procedure avoided by submitting the form on time.
Interest is taxed at 0% at source with the treaty, except for very specific cases indicated in the treaty itself (contingent interest and certain American mortgage products).
If you invoice services to a US client as an autónomo (freelancer) without a local or fixed installation there, it is treated as business profits: they are only taxed in Spain and no withholding applies in the United States, provided the client has your W-8BEN and, if requested, your residence certificate.
What if the payer is not from the United States?
The W-8BEN is a US administration form and is only valid for payments originating in the United States. For all other countries, the tool is the tax residence certificate for treaty purposes with that specific country, which the payer keeps as justification for not withholding or withholding at the reduced rate.
Some treaties are developed by a ministerial order that approves a specific form. When that form exists, it replaces the certificate, and using the wrong document leaves the withholding at the internal rate of the country of origin.
There is a 2nd factor worth checking country by country: the Multilateral Convention, known as MLI, has modified a large part of Spain's bilateral treaties since 1 January 2022. It does not change the withholding rates for dividends, interest or royalties, but it does introduce anti-abuse clauses that can prevent applying the treaty in operations set up to take advantage of it. With the United States there is no such problem: it is not among the MLI signatories on the official OECD list.
Managora reviews which treaty applies to you, if a specific form exists and which document to request, before the payer applies the first withholding.
What do I have to do later in my income tax return?
If you are a tax resident in Spain, you are taxed here on your worldwide income: US income goes on your IRPF (personal income tax) return even if they have already withheld tax there. Dividends and interest enter the savings base and platform income, depending on how you obtain it, in the general base as economic activity or as capital yields.
The tax paid in the United States is deducted in your Spanish return through the deduction for international double taxation, but that deduction has 2 caps and the lower of the 2 is always applied: the tax actually paid abroad, up to the limit set by the treaty, and the result of applying your average effective tax rate to the income obtained abroad. That is why it is in your interest that the withholding at source is exactly that of the treaty and no more, and that is why, when your average effective rate in Spain is lower than the withholding borne abroad, a part of what was withheld is not deducted.
If you also have accounts, securities or real estate outside Spain above the informative declaration thresholds, the obligation to report is independent of the W-8BEN and the certificate, and is checked every year.
Managora calculates and submits your IRPF by crossing what was withheld abroad with what must be declared here, and tells you in advance what part of the foreign tax is deductible with your numbers and what part, due to the deduction limits, would have to be claimed at source.
Step by step
- 1
Confirm your tax residence before requesting anything(Before the first foreign income and, in any case, before requesting the certificate.)
The certificate is only issued if the AEAT data proves that you are a tax resident in Spain. If you have returned from abroad, if you have a double link with another country or if your tax address is outdated, this is resolved first. Managora analyses your case and issues a tax residence opinion when there is a conflict with another country.
- 2
Regularise your tax address in the census if it has changed(3 months from the change if you are not in the census of entrepreneurs, professionals and retainers. If the deadline for submitting your income tax return ends before that period expires, the change is communicated in that return. For those who are in that census, the period is 1 month and modelo 036 or 037 is used.)
The change of tax address and variation of personal data are communicated with the modelo 030 to the AEAT. If the census says you live abroad, the residence certificate in Spain will be denied.
- 3
Request the certificate for treaty purposes, not the generic one(Immediate when the data allows it: in cases that need review, the maximum issuance period is 20 days.)
At the AEAT electronic headquarters, in census certificates, choose the modality for treaty purposes and select the payer's country. Identification with Cl@ve, electronic certificate or electronic ID. If you prefer to do it in person, submit modelo 01 at your Administration.
- 4
Check the text of the certificate before handing it over(Validity of 1 year from the date of issue.)
There must be an express mention that you are a resident in the sense of the treaty between Spain and that country. If the document does not have that phrase, it is the generic certificate and the payer will not be able to reduce the withholding. It does not need to be apostilled to take effect.
- 5
Fill out the complete W-8BEN, including the treaty part(Before receiving the first payment subject to withholding.)
Identification with your NIF or NIE in the foreign tax number box, box 9 with Spain as the treaty country and box 10 with the invoked article, the percentage and the type of income. Sign and date. Companies use the W-8BEN-E, with their FATCA classification and the limitation on benefits clause.
- 6
Give it to the payer, never to the IRS(The same day you sign it.)
It is uploaded to the panel of the broker, platform or US client, or sent to them through the channel they indicate. The IRS does not receive or stamp it. Keep a copy with the signature date.
- 7
Monitor the two expirations and changes in circumstances(1 year for the certificate, 3 years for the W-8BEN, 30 days to communicate changes.)
The AEAT certificate expires after 1 year and the W-8BEN on 31 December of the 3rd full calendar year following the signature. If you change your country of residence, your name or your tax number, notify the payer within 30 days and provide a new form.
- 8
File your income tax return in Spain and apply the deduction(Income Tax Campaign of the following year, approximately from April to June.)
US income is included in your IRPF and the tax borne there is discounted for international double taxation, with the lower of its 2 caps: what was paid abroad up to the treaty limit, or your average effective tax rate applied to the income obtained abroad. Managora submits the modelo 100 crossing what was withheld abroad with what is declared here and tells you in advance what part is deductible.
A worked example
You are a tax resident in Spain and receive €1,000 gross in dividends from US shares through your broker. We compare 2 scenarios: without a valid W-8BEN and with a W-8BEN invoking article 10 of the treaty. The dividends are your only income for the financial year, so they are taxed in the first bracket of the savings base, at 19%, and that 19% is also your average effective tax rate.
- Without W-8BEN: withholding in the United States of 30% on €1,000 = €300. You receive €700.
- With W-8BEN and treaty: withholding of 15% on €1,000 = €150. You receive €850.
- In your Spanish tax return, the €1,000 goes to the savings base: 1,000 x 19% = €190 tax quota.
- Deduction for international double taxation: the lower of its 2 caps is taken. Tax borne abroad up to the treaty limit = €150. Average effective rate applied to foreign income = 19% of €1,000 = €190. The lower is €150, so the €150 is deducted. Quota to pay in Spain: 190 - 150 = €40.
- With W-8BEN, total tax cost: €150 withheld abroad + €40 in Spain = €190.
- Without W-8BEN, total tax cost: €300 withheld abroad + €40 in Spain = €340, because the €150 withheld above the treaty limit is not discounted in the Spanish return and can only be claimed from the US administration.
- Careful with the 2nd cap: if your average effective rate were lower (for example, 8%), the deduction would stay at €80 and the rest of what was withheld at source could not be discounted in Spain.
Submitting the W-8BEN on time saves you €150 for every €1,000 of dividends, 15% of the gross income. In YouTube, Twitch or Amazon KDP royalties the saving is 30%, because with the treaty applied the withholding at source is 0%.
Withholding in the United States depending on whether you have the W-8BEN (Spain-US treaty)
| Type of income | Without valid W-8BEN | With W-8BEN and treaty | Treaty article |
|---|---|---|---|
| Dividends from US shares (individual) | 30% | 15% | Article 10 |
| Dividends to a company with at least 10% of the voting shares | 30% | 5% | Article 10 |
| Dividends to a company with 80% or more of the capital for 12 months, if it passes the limitation on benefits clause | 30% | 0% | Article 10 |
| Interest | 30% | 0% (10% on contingent interest and specific rules on certain American mortgage products) | Article 11 |
| Royalties: copyright, YouTube, Twitch, Amazon KDP | 30% | 0% | Article 12 |
| Business profits without a permanent establishment in the US | 30% | 0% | Article 7 |
Tax residence certificate and W-8BEN: the data that gets confused
| Concept | Tax residence certificate (AEAT) | W-8BEN form (IRS) |
|---|---|---|
| Who issues it | The AEAT, or the regional tax authority if you reside in the Basque Country or Navarre | You fill it out and sign it |
| Who it is given to | To the foreign payer or the tax administration of the other country | Only to the payer or withholding agent, never to the IRS |
| What it is for | To prove that you are a resident in Spain in the sense of the treaty | To certify that you are not a US person and claim the treaty |
| Validity | 1 year from the date of issue | Until 31 December of the 3rd full calendar year following the signature |
| Time to obtain | Immediate when the data allows it: maximum issuance period of 20 days | Immediate, it is completed in the payer's panel |
| Regulation governing its issuance | Articles 70 to 76 of Real Decreto 1065/2007, in its 2 modalities: residence and residence for treaty purposes | October 2021 revision |
| If missing or expired | The payer applies the internal rate of their country | Automatic 30% withholding |
Forms and deadlines usually involved in this procedure
| Document | Who submits it | Where | Deadline |
|---|---|---|---|
| Request for tax residence certificate for treaty purposes | The taxpayer or their representative | AEAT electronic headquarters, census certificates | At any time: annual renewal |
| Modelo 01 (request for certificates in office) | The taxpayer or their representative | AEAT Administration or Delegation of the tax address | In-person alternative to the headquarters |
| Modelo 030 | Individual who is not in the census of entrepreneurs, professionals and retainers | AEAT electronic headquarters | 3 months from the change of address or data, or earlier in your income tax return if this expires first |
| Modelo 036 or 037 | Individual included in the census of entrepreneurs, professionals and retainers | AEAT electronic headquarters | 1 month from the change of tax address |
| W-8BEN | Non-US individual | Broker, platform or client panel | Before the first payment: renewal every 3 years |
| W-8BEN-E | Non-US company | Payer's panel | Before the first payment: renewal every 3 years |
| Modelo 100 (IRPF) | Tax resident in Spain | Renta WEB, Tax Agency | Income Tax Campaign of the following year |
Generic certificate or certificate for treaty purposes: which one to request
| Tax residence certificate in Spain (generic) | Tax residence certificate for treaty purposes | |
|---|---|---|
| What it says | That you are a tax resident in Spain | That you are a resident in Spain in the sense defined in the treaty with a specific country |
| Must choose a country when requesting it | No | Yes, the country of the payer or the administration requesting it |
| Works to lower a withholding tax abroad | No, except for exemptions in the internal regulations of the other country | Yes, it is the document that the regulations demand to apply the treaty |
| When it is used | Countries without a treaty with Spain and procedures where you only have to prove residence | Brokers, platforms and clients from countries with a treaty, alongside the W-8BEN if the payer is from the US |
| Validity | 1 year from issuance | 1 year from issuance |
| Typical mistake | Giving it to a US payer and continuing to bear 30% | Requesting it with the wrong country in the dropdown menu |
Official forms and where it is filed
- Tax residence certificate in Spain (AEAT, procedure G305, census certificates at the electronic headquarters) ↗
- Tax residence certificate in Spain for treaty purposes (same request, choosing the treaty country) ↗
- Modelo 01, request for certificates at the AEAT Administration or Delegation of the tax address ↗
- W-8BEN form, Certificate of Foreign Status of Beneficial Owner for United States Tax Withholding and Reporting (Individuals), October 2021 revision. It is given to the payer, not the IRS ↗
- W-8BEN-E form, version for entities. It is given to the payer, not the IRS ↗
- Modelo 030, census declaration of registration, change of tax address and variation of personal data (AEAT Electronic Headquarters) ↗
- Modelo 100, IRPF declaration (Renta WEB, Tax Agency) ↗
Frequently asked questions
How long does the AEAT take to give me the tax residence certificate?
If the data in your file proves residence in Spain, the electronic headquarters issues it immediately: you sign the request and download the document with its secure verification code. When manual review is needed, the maximum period for issuing a tax certificate is 20 days. If the request is denied, you are allowed to provide additional documentation.
Can I give the generic certificate to my broker or platform?
It will not help you reduce the withholding. The document must expressly say that you are a resident in the sense of the treaty between Spain and that country, and that is only included in the treaty purposes modality, choosing the country when requesting it. It is the most common mistake: a correct certificate but of the wrong kind.
Do I have to send the W-8BEN to the IRS or register it somewhere?
No. The IRS instructions expressly prohibit sending it to them: the form is given to whoever pays you, who is obliged to withhold and who keeps it. There is no registry, no stamp, no acknowledgement of receipt. The normal thing is to fill it out within the panel of the broker, video platform or publisher.
What happens if I do not submit it or if it expires?
The payer applies 30% on the gross amount, which is the default rate of US law. It is not a fine, but the money is already withheld and recovering it requires claiming it in the United States. The form expires on 31 December of the 3rd full calendar year following the signature, so it is advisable to renew it before that date and not when they have already over-withheld.
Can I be penalised for filling out the W-8BEN incorrectly?
The form is signed under penalties of perjury, so declaring a residence or beneficial owner that are not the real ones has consequences with the US administration and, if you also hide income, with the Spanish one. A material error, on the other hand, is corrected by giving a new form to the payer. If your circumstances change, you have 30 days to notify them.
Do I get back everything withheld in the United States in my tax return?
Not always. The deduction for international double taxation stays at the lower of 2 amounts: what you paid abroad up to the treaty limit, and the result of applying your average effective tax rate to the income obtained abroad. If your average rate in Spain is low, a part of the foreign withholding is not discounted. With your numbers we tell you in advance how much is deductible.
Do I need a US tax number to claim the treaty?
In most cases no: your Spanish NIF or NIE in the foreign tax identifying number box is enough. The US number is required only in the specific cases detailed in the form and its instructions. If your case is one of them, we detect it before the payer applies the first withholding and we tell you exactly what to request.
We handle the whole procedure for you, from start to finish.
You describe your case in a chat and sign; we file it with the Spanish authorities. Fixed price from €120.00 (21% VAT included), plus the tasa (official fee) where there is one.
Related procedures
The price, the tasa (official fee) and the current deadlines are on each procedure page.
- Modelo 030 AEAT: taxpayer census for individualsWe file the Modelo 030 with the AEAT (Spanish Tax Agency): first registration in the taxpayer census, chang...
- Análisis de Residencia Fiscal y Conflictos de Doble Imposición (Tax Residence Analysis and Double Taxation Conflicts)We analyse your personal and financial situation to formally determine your tax residence according to Span...
- Modelo 100: IRPF annual income tax returnWe calculate and file your IRPF (modelo 100). We cover work income, real-estate capital, movable capital, b...
Related guides
- 401(k), IRA and Roth IRA for a resident in Spain
- Owning a US LLC as a resident in Spain
- Receiving a foreign pension while living in Spain
- The double taxation agreement between Spain and the UK
- The double taxation treaty between Spain and the United States
- Change your tax address and census details (Form 030)
- Dividends and interest from foreign brokers in your Renta
- Stock options, RSUs and phantom shares: Spanish income tax
Share this guide
If you found it useful, chances are someone you know needs it right now.