Back to blog
Digital Nomad Visa

NIE and Digital Certificate for Spain's Digital Nomad Visa: What You Need to File From Spain (2026)

HoplyWritten by Hoply
Natalia MenendezReviewed by Natalia Menendez, licensed lawyer expert
10 min read
Woman at the counter of a bright Spanish public office taking her passport back after an identity check, relieved

If you plan to apply for Spain's digital nomad visa from inside Spain, you only need an NIE and a digital certificate if you file the application yourself. The Unidad de Grandes Empresas (UGE), which decides in-country applications, states that an electronic certificate is required to submit an application. That certificate can only be issued to someone who already holds an NIE.

If an immigration lawyer files on your behalf, they sign with their own professional certificate, and your NIE is assigned during the residence process. This guide explains both routes, how to get each credential, and where applicants usually get stuck.

Key Takeaways

  • The UGE requires an electronic certificate to submit a digital nomad visa application online. There is no separate "UGE login" or account to create.
  • The FNMT digital certificate is free and valid for 4 years, but you must hold an NIE before you can request it.
  • Non-residents can request an NIE with form EX-15. The police have 5 days to decide, and a request with no answer in that time is treated as refused.
  • If you are already in Spain, you request the NIE at a police station or foreigners' office. The consular route is only for people still living abroad.
  • When a lawyer represents you, you do not need an NIE or a certificate to file. The NIE is assigned during the process.

In this guide

  • Do you need an NIE and a digital certificate to file from Spain?
  • Why the UGE asks for a digital certificate
  • How to get an NIE before you have residency
  • Police station or Spanish consulate: what applicants report
  • How to get your FNMT digital certificate
  • Filing from Spain vs from a consulate abroad
  • What to do if the process stalls
  • Let a lawyer file for you instead

Do You Need an NIE and a Digital Certificate to Apply for the Digital Nomad Visa From Spain?

Only if you plan to submit the application yourself.

Applying from inside Spain is the route that gives you up to 3 years of residence in a single application, as explained in our guide to applying for the digital nomad visa from within Spain. The UGE handles these applications online, through the electronic office (sede electrónica) of Spain's Ministry of Inclusion, Social Security and Migration.

Spanish administrative law lets any applicant act through a representative (Article 5 of Ley 39/2015). When a lawyer files for you, they log in and sign with their own certificate. You do not need an NIE or a certificate of your own, and if you do not already have an NIE, one is assigned during the residence process.

If you want to file yourself, the order is fixed. First you get an NIE, then a digital certificate, and only then can you submit the application and pay the fee. The same logic applies if you are already in Spain on another permit, as our guide to switching from a job-seeker permit explains.

Why the UGE Asks for a Digital Certificate (and Why There Is No "UGE Login")

Many applicants search for a "UGE login" expecting an account they can register for. It does not exist.

The UGE's official applications page says that you need an electronic certificate to submit an application. The certificate is your login: it identifies you on the Ministry's electronic office and lets you sign the application electronically.

You also use it to pay the UGE fee, form 790 code 038, which costs €73.26 per applicant. Our digital nomad visa cost guide breaks down the other fees.

Representation is built into the system. The UGE points applicants to the Registro Electrónico de Apoderamientos, the official register for authorising a third party to file for you (Article 6 of Ley 39/2015). If the terms are new to you, our Spain digital nomad visa glossary defines NIE, TIE, certificado digital and Cl@ve.

How to Get an NIE Before You Have Spanish Residency

You can get an NIE (Número de Identidad de Extranjero) without holding any residence permit.

Spain assigns a non-resident NIE to foreigners who have economic, professional or social interests in the country, under Ley Orgánica 4/2000 and its regulation, Real Decreto 1155/2024. The request is made on form EX-15 and is decided by the Dirección General de la Policía.

Two conditions apply. You must explain the reasons for your request, and you must not be in Spain irregularly. The second condition matters if you are close to your 90-day Schengen limit.

Where you apply depends on where you are:

Your situationWhere to request the NIEWhat to expect
Already in Spain (for example, as a visitor)Police station (comisaría) or foreigners' office (Oficina de Extranjería), with an appointmentThe police must decide within 5 days of registering your request
Still living abroadSpanish consulate in your country of residenceThe consulate forwards the request to the police in Spain, which usually takes longer
Not able to attend in SpainA legal representative in SpainRequires a valid power of attorney

You fill in form EX-15, pay the fee using form 790 code 012 (around €10, check the exact amount when you generate the form), and bring your passport with a copy. If the police do not answer within 5 days, the request is treated as refused, and you can challenge that decision.

The document you receive, often called the "white NIE certificate", states your number. The number itself is permanent, even if the paper certificate shows a limited validity.

Police Station or Spanish Consulate: What Applicants Report

The official rules say any eligible foreigner can request a non-resident NIE. In practice, it is less predictable.

Applicants on forums report that some police stations have refused NIE requests from non-EU citizens. The refusals they describe usually came when the only reason given was the visa application itself. We have found no official instruction that tells offices to refuse these requests, and practice varies from one office to another.

What is well documented is the shortage of appointments in large cities. Waits of several weeks are common, which is the same bottleneck that affects TIE appointments, as our appointment timeline guide explains.

Some applicants recommend getting the NIE and the certificate at the Spanish consulate before travelling. That is only possible while you still live abroad: the consular route is meant for applicants in their country of residence, not for someone already in Spain as a visitor.

Always give a truthful reason when you request an NIE. If you would rather not spend weeks chasing appointments, our lawyers can file your application with their own certificate, so this step does not hold up your filing.

How to Get Your FNMT Digital Certificate Once You Have an NIE

The most widely used certificate is the persona física certificate issued by Spain's Fábrica Nacional de Moneda y Timbre (FNMT). It is free, valid for 4 years, and available to any adult foreigner with an NIE.

The process takes three stages. First, you install the FNMT key-generation software (Configurador FNMT) and request the certificate on the FNMT website with your NIE and email address. The FNMT then emails you a request code.

Next, you prove your identity in person at an identity-accreditation office. The FNMT has more than 2,400 of them across Spain, including tax agency (AEAT) and Social Security offices, most of which need an appointment. Abroad, Spanish consular offices can do the same check.

Bring the request code, your passport, and the official document showing your NIE. The FNMT accepts that document regardless of its validity date, because what matters is that the number has been assigned to you.

Finally, you download the certificate from the FNMT website to the same computer and browser you used for the request. Downloads are usually available shortly after accreditation in Spain, while consular accreditations can take a day or two. Back the certificate up as soon as you install it.

Cl@ve, Spain's government login system, is a separate credential that also requires an NIE. It is useful for many public services, but the UGE names the electronic certificate as the requirement for submitting an application, so treat the certificate as the credential you need.

The certificate keeps being useful after approval. You will use it to register as autónomo, file tax forms and handle Social Security procedures, and you do not need to wait for your TIE card to start, as our guide to registering as autónomo without a TIE explains.

Filing From Spain vs From a Consulate Abroad: What Changes

The certificate requirement only applies to in-country filing with the UGE.

If you apply at a Spanish consulate in your home country, you submit a visa application in person and do not need a digital certificate. Some consulates ask you to request the NIE at the same window, at the same time as the visa. The consular route gives you a 1-year visa, while the UGE route gives you up to 3 years.

If you file from Spain, you also need to show that you entered legally and are still within your permitted stay. Our guide to proving your entry without a passport stamp covers the evidence the UGE accepts.

Your nationality does not change any of these steps. UK, US and Latin American applicants follow the same NIE and certificate process. What can differ is the consulate, its appointment availability and how long it takes to process an NIE request. See our guide for UK citizens for the rest of the UK-specific route.

What to Do If the NIE or Certificate Step Stalls

The real risk is time.

Imagine you arrive in Madrid as a visitor with 90 Schengen days, planning to file from Spain. The first NIE appointment you can find is three weeks away. Add the certificate appointment and a few days to gather your documents, and a month of your stay is gone before you have filed anything.

You must file while your stay is still legal. Our guide to the 90-day Schengen limit explains where you can still apply if that window is closing.

If appointments are not available, check other cities in the same province, and look again early in the morning, when new slots are often released. If you are still abroad, start the consular NIE request before you travel.

You can also remove the step entirely by having a representative file for you. A missing NIE or certificate is then no longer a reason to delay your filing.

Let a Lawyer File for You Instead

The NIE and the digital certificate are only an obstacle when you file the UGE application yourself. They take appointments, travel and time that come out of your legal stay in Spain.

At Hoply, our immigration lawyers review your documents, prepare your application and file every in-country case with their own professional certificate. You do not need an NIE or a certificate to start. Our comparison of DIY, a traditional lawyer and Hoply shows what each option involves.

If you are planning to apply from Spain, book a free case evaluation and we will tell you whether your profile qualifies and what you need to have ready before your Schengen days run out.

Frequently Asked Questions

This article is for informational purposes only and does not constitute legal or tax advice. Regulations can change and every case is different. Always consult a qualified immigration lawyer and tax adviser. At Hoply we have specialists who can review your specific situation.