The Tasa 790 is the Spanish administrative fee form you must pay before officials will process almost any immigration, residency, or nationality procedure. Without a validated payment receipt, your file stays untouched. The form comes in different versions identified by a three-digit code, and the amount you owe depends on which procedure you’re doing — fees run from under €10 for a simple certificate to over €100 for a nationality application.
Which Code You Need
Each code routes your payment to a different government department. Pay under the wrong one and the administration treats the fee as unpaid for the procedure you actually need. You then have to pay again under the correct code and file a separate refund request for the first payment, which runs on its own slow timeline and does nothing to unblock your immigration file.
Four codes cover most foreign residents:
- Code 012 — issuance and renewal of the Foreigner Identity Card (TIE), fingerprinting appointments, NIE assignment, and other procedures handled at National Police stations.1National Police. Foreigner Procedures – Foreigner Tax
- Code 052 — residency and work authorizations submitted or renewed through the Immigration Office (Oficina de Extranjería) rather than the police station.2Sede Electrónica de las Administraciones Públicas. Fee 052
- Code 026 — Spanish nationality applications, whether by residency, marriage, or naturalization. Processed through the Ministry of Justice.3Ministry of Foreign Affairs, European Union and Cooperation. Tasa 790 Template
- Code 038 — official recognition (homologación) of foreign academic qualifications through the Ministry of Science, Innovation, and Universities.
The 012 versus 052 distinction trips people up most often. If your next step involves going to a police station for a card or fingerprints, you need 012. If you’re filing a residency or work authorization application with the Immigration Office, you need 052.
How Much You’ll Pay
Amounts vary by the specific procedure inside each code. For Code 012, the National Police fee schedule sets the common ones as follows:1National Police. Foreigner Procedures – Foreigner Tax
- TIE for relatives of Spanish nationals: €12.00
- TIE for first temporary residence or stay authorization: €16.08
- TIE renewal of temporary residence: €19.30
- TIE for long-term or long-term EU residence: €21.87
- NIE assignment at the applicant’s request: €9.84
- Invitation letter authorization: €75.05
- Visa processing at the border: €90.00
The Code 026 nationality application fee is approximately €104. The Code 038 academic credential recognition fee is €166.50. The government updates these figures periodically, and the online form calculates the amount automatically based on the procedure you select, so confirm the number on the generated form before paying.
Reduced Fees
Victims of gender-based violence, sexual violence, and human trafficking pay €10.94 for their initial residence authorization instead of the standard rate. The TIE documenting residence and work authorization for these same groups is €16.08, which matches the standard first-time TIE rate but applies alongside the reduced authorization fee.1National Police. Foreigner Procedures – Foreigner Tax Children between 6 and 12 pay €45 for a border visa rather than the standard €90, and the competent authority can waive the border visa fee entirely when doing so serves the interests of the state or international commitments.
Filling Out the Form
You generate the form on the sede electrónica of the relevant ministry: the National Police portal for Code 012, the public administrations portal for Code 052, and the Ministry of Justice portal for Code 026. Each version asks for a short set of information:
- Your NIE if you already have one, or your passport number if you don’t.
- Your full legal name exactly as it appears on your passport. Even a minor mismatch can stop officials from linking your payment to your file.
- Your current residential address in Spain.
- The taxable event (hecho imponible), chosen from a drop-down that lists every procedure covered by the code. Your selection here determines the fee.
The hecho imponible is where most mistakes happen. The descriptions use formal administrative language and several options look alike. Under Code 012, a first-time TIE for temporary residence (€16.08) and a TIE renewal (€19.30) are separate line items at different prices. If you’re unsure which fits your situation, check your appointment confirmation or the resolution letter from the Immigration Office, which usually names the exact procedure.
Once every field is right, generate the PDF. The system produces a form with a unique barcode that ties your payment to your file. If you spot an error afterward, you start over with a new form.
Paying the Fee
You have two ways to pay: in person at a bank, or online with a digital certificate.
At a Bank
Print the PDF and take it to any collaborating bank. Major Spanish banks including CaixaBank, BBVA, and Santander accept these payments, and you don’t need an account at the bank where you pay. Cash at the counter and direct debit from a Spanish account both work, and many ATMs have barcode scanners that let you pay without waiting for a teller.
The printed form comes in three copies. Keep the one marked “ejemplar para la administración” — that’s the stamped or validated copy you bring to your appointment at the police station or Immigration Office. Without it, officials cannot proceed with your application.4Spanish Tax Agency. Consulta Tasas
Online
With a digital certificate installed or an active Cl@ve account, you can pay through the government’s electronic payment gateway and skip the bank. The system generates an electronic receipt that serves as your proof of payment. This is useful when your appointment is close and you don’t want to fit in a bank visit.
When to Pay
For Code 012 procedures, pay shortly before your scheduled appointment. For Code 052 applications processed through the Immigration Office, you generally have 10 days from the date your application is formally admitted to submit the payment. Don’t pay weeks ahead of an unconfirmed appointment; the form has no officially published hard expiration, but paying closer to the date reduces the risk of complications.
If You Paid the Wrong Code or Paid Twice
The administration does not correct a mispaid code for you. It treats the fee as unsatisfied for the procedure you actually need, and you have to generate a new form under the correct code and pay again before your file can move forward. The first payment isn’t lost, but you’re temporarily out the cost of two fees until the refund arrives.
You request a refund (devolución de ingresos indebidos) through the sede electrónica of the ministry that manages the fee you paid. For nationality-related fees under Code 026, the request goes through the Ministry of Justice. You submit the request online with a digital certificate or Cl@ve, attach proof of the original payment, and explain why a refund is warranted. The management center reviews the request and issues a resolution. If it’s granted, the file passes to the Tax Agency (Agencia Tributaria), which pays the money back directly.5Ministerio de Justicia. Procedimiento para la Devolución de Ingresos Indebidos para el Abono de Tasas Administrativas Modelo 790
Only the person who made the original payment, or an authorized representative, can request the refund. Expect weeks rather than days, since the request has to move through both the originating ministry and the Tax Agency before any money comes back.