Last Updated on September 21, 2026 by seo-tool-reader
If you are applying for or renewing a Spanish residence permit, sooner or later you will meet the Modelo 790. This official state-fee form (tasa) is the small but unavoidable step that trips up many applicants, because the wrong code or the wrong box can delay your file. The Modelo 790 comes in several versions, and immigration cases rely on two of them: código 052 and código 012.
This guide explains what each code covers, how much they cost in 2026, how to fill them out, and how to pay so your appointment goes smoothly.
Planning your move to Spain?
Get the free step-by-step roadmap — covering visas, budget, housing, and the mistakes to avoid.
Start the Moving to Spain Hub →What the Modelo 790 is and why two codes matter
The form is Spain’s standard document for paying a public administration fee. Each type of procedure is linked to a numbered code that tells the bank and the administration which fee you are settling.
For foreigners, two codes do almost all the work. Código 052 covers residence and stay authorizations, while código 012 covers your physical identity documents.
Getting the distinction right is essential. Paying código 052 when you needed código 012, or vice versa, means your payment does not match your procedure and your application can stall.
Código 052 — residence and stay authorizations
Código 052 is the fee for the authorization itself: the legal permission to reside or stay in Spain. You pay it when you apply for or renew permits such as the non-lucrative residence authorization.
Need an immigration lawyer?
Compare English-speaking immigration lawyers vetted by Spainguru for NLV, Digital Nomad, Student and other visa applications.
See Vetted Lawyers →This code is managed through the electronic headquarters of the Administraciones Públicas, available at sede.administracionespublicas.gob.es. If you are researching the Spain non-lucrative visa, código 052 is the tasa attached to that residence authorization stage.
The concept you tick under código 052 depends on whether you are applying for the first time, renewing, moving to long-term status, or relying on exceptional circumstances. Each of these has its own fee, so read the concept list carefully before choosing.
Código 012 — TIE and NIE identity documents
Código 012 is a different fee entirely. It pays for the foreigner identity documents: the TIE (Tarjeta de Identidad de Extranjero) and the assignment of a NIE (Número de Identidad de Extranjero).
This code is managed through the electronic headquarters of the Policía Nacional. In practice, you often pay código 052 for the permit and then, once approved, pay código 012 to obtain the physical TIE card.
The two payments therefore happen at different moments and through different portals. Keeping this sequence in mind helps you avoid mixing up the codes when you have several forms open at once.
Modelo 790 código 052 fees in 2026
The amounts below follow the fee schedule introduced by the new Immigration Regulation, published in the official state gazette (source: BOE-A-2025-12056) and effective in 2026. These figures cover the most common residence authorizations.
| Código 052 concept | 2026 fee |
|---|---|
| Initial temporary residence authorization | €10.94 |
| Renewal of temporary residence authorization | €16.40 |
| Long-duration (long-term) residence | €21.87 |
| Authorization for exceptional circumstances | €38.28 |
Notice how the initial and renewal fees differ. Ticking “initial” when you are actually renewing is one of the most common errors, so match the concept to your exact stage.
Código 012 fees in 2026
Código 012 fees apply to your identity documents rather than the authorization. The table below lists the 2026 amounts for the TIE and the NIE assignment.
| Código 012 concept | 2026 fee |
|---|---|
| TIE for family members of EU citizens | €12.00 |
| TIE initial issuance | €16.08 |
| TIE renewal | €19.30 |
| TIE for long-duration residence | €21.87 |
| NIE assignment at the applicant’s request | €9.84 |
Fees can change between budget cycles and regulatory updates. Always confirm the current amount on the official electronic headquarters before you pay, rather than relying on an old printout.
How to fill the Modelo 790 step by step
Would you rather a gestor filed and paid this for you?
Filling modelo 790 yourself is doable — but the fee codes, entities and stamp requirements are exactly where residence files most often bounce back. Our approved gestores prepare the form, pay the fee at the bank and file it with your NIE, TIE or residence application in one clean submission.
Filling the form is straightforward once you know which version you need. Start by downloading the correct form from the right official source.
For código 052, use the Administraciones Públicas electronic headquarters at sede.administracionespublicas.gob.es. For código 012, use the Policía Nacional electronic headquarters at sede.policia.gob.es.
Next, enter your personal data: full name, NIE or passport number, and address. Take care that these match the details on your application exactly.
Then tick the concept box that matches your procedure, such as initial issuance versus renewal. The fee amount usually auto-fills, but if you complete it manually it must match the official schedule for that concept.
Finally, review everything before generating the final document. A single mismatched box between your form and your application can force you to redo the payment. If paperwork feels overwhelming, services like EntreTrámites for Spain residency paperwork can prepare the forms for you.
How to pay your fee form
Once the form is complete, you have two main payment routes. You can print the form and pay in person, or you can pay online through the electronic headquarters.
To pay in person, print the completed form and take it to almost any Spanish bank, where you settle it over the counter. The bank stamps or receipts your copy as proof of payment.
To pay online, use a card or bank account directly through the same electronic headquarters where you downloaded the form. The system generates a digital proof of payment for you to save.
Either way, keep the stamped or receipted copy safe. You must present proof of payment together with your application or at your appointment, and losing it means paying again.
Many offices expect the fee to be paid before you attend, not on the day itself. Settling it a few days in advance leaves a margin to fix any mistake before your slot arrives.
Common Modelo 790 pitfalls to avoid
Most payment problems come down to a handful of avoidable mistakes. Being aware of them saves time and repeat trips.
The frequent errors are choosing the wrong código (052 versus 012), ticking the wrong concept box (initial versus renewal), or paying an amount that does not match the schedule. Each of these can invalidate the payment for your specific procedure.
There is also a practical limitation for people applying from abroad. You generally cannot pay these fees easily from outside Spain, which matters if you are trying to organize everything before you arrive.
If you are tracking a residence file, it also helps to keep an eye on your case reference; you can learn how to check your lote number while your paperwork is in process.
Related on SpainGuru: how to fill the EX-01 form, how to check your lote number after fingerprints, how to check if your TIE is ready for pickup, and Sistema Mercurio for online filings.
Where to get help with your fee forms
The Modelo 790 is simple in theory but unforgiving in detail, and a rejected payment can cost you an appointment slot. If you would rather not risk an error on código 052 or código 012, professional support is worth considering.
Here you can find Spainguru’s recommended services for Spanish visas: https://spainguru.es/services-for-spanish-visas/
Join Spainguru’s Spain Non Lucrative Visa Facebook group here: https://www.facebook.com/groups/spanishnlv
Conclusion
The Modelo 790 is a small form with a big impact on your immigration timeline. By matching código 052 to your residence authorization, código 012 to your TIE or NIE, ticking the correct concept, and confirming the current 2026 fee before paying, you keep your application moving without avoidable setbacks.
This article is for informational purposes and reflects the experience of the Spainguru community alongside publicly available sources. It is not legal advice. For professional guidance, consult expert immigration lawyers — see https://spainguru.es/services-for-spanish-visas/.
Get your free step-by-step Spain move plan
10 emails over 2 weeks covering visas, budget, housing & the mistakes to avoid.
Free, from the team behind a community of 225,000+ expats.
100% free · No credit card · Unsubscribe anytime






