Quick answer
Request the personal certificate on the FNMT website, then prove your identity in person at an accreditation office with your request code, your valid passport and a document showing your NIE (for example your TIE, even if expired, or the official NIE assignment certificate). Once your identity is verified, you download the certificate on the same computer and browser you used to request it.
The names are confusing at first, because certificado digital, Cl@ve and AutoFirma are related but not the same thing. Here's how they fit together, and how to get the certificate itself.
Which tool does what?
- FNMT personal certificate (certificado de persona física): an electronic certificate issued by the Spanish Royal Mint (FNMT-RCM) that identifies you online and, where a service supports it, lets you sign.
- Cl@ve: a separate identity system run by the public administration, with its own registration methods and levels.
- AutoFirma: free software some government websites use to apply an electronic signature. Installing it doesn't create a certificate; it uses one you already have.
For many people living in Spain, the FNMT personal certificate is the most useful place to start.
Step 1. Check your identity documents
The FNMT asks foreign nationals for a valid passport in all cases (EU citizens can use their national ID card instead), together with one document that shows your NIE:
- your TIE (accepted even if it has expired);
- the EU citizen registration certificate;
- an original red, green or white foreigner's card;
- an official document granting your NIE, such as the NIE assignment certificate issued by the police.
An official NIE document must come from a competent authority, show your NIE and full name, and match the details in your passport. It doesn't need a photo or to be in date, as long as it correctly shows the NIE. Only adults (or emancipated minors) can request this certificate.
Step 2. Prepare your computer
Open the FNMT website and choose the personal certificate (persona física) as a software certificate. Follow the current setup instructions for your operating system before you make the request.
Use the same computer, browser and user profile for the whole process, from request to download. Private or incognito windows and switching devices are common reasons the download later fails.
Step 3. Make the request
Fill in the request form on the FNMT website. You'll receive a request code by email. Keep it private and to hand: you need it to prove your identity and again to download the certificate.
Step 4. Prove your identity in person
Take your request code, your passport and your NIE document to an identity accreditation office. The FNMT has more than 2,400 offices across Spain, and its office locator shows the ones near you. Tax Agency and Social Security offices, among others, require an appointment, so check with the office first. This certificate can't be requested through post offices.
If you're abroad, Spain's career consular offices can also verify your identity for this certificate. The FNMT publishes the list.
Step 5. Download and install it
After your identity has been verified, the download becomes available. The FNMT recommends downloading it as soon as possible, on the same computer and browser you used for the request.
Once it's installed, make an encrypted backup copy if your system and the FNMT instructions allow it, and protect it with a strong password. Your certificate lets you act in your own name with the administration: never send the file or its password to anyone.
Step 6. Test it before you need it
Visit an official service that accepts certificates and check that your browser recognises it. If a form asks you to sign, see whether it needs AutoFirma, and install it from the official government website.
What can you use it for?
Depending on your situation, a digital certificate can help you receive official notifications, download certificates, check information public bodies hold about you and complete some procedures online. Each authority decides which identification and signature methods it accepts for each service.
Troubleshooting
The certificate doesn't appear in my browser. Check that it was installed in the right certificate store or browser profile, then follow the FNMT's instructions for your operating system.
The website says my signature isn't valid. Check that the certificate is in date, which signature method the site asks for and how AutoFirma is configured. Don't keep resubmitting a form until you understand the error.
Can I use Cl@ve instead? Some services accept either; others require a specific level of Cl@ve or a certificate. The official page for each procedure is what counts.
Can someone else use my certificate for me? Don't share your certificate or password. If someone needs to act on your behalf, use the formal representation procedures the administration provides.
Official sources
- FNMT: accepted identity documents for foreign nationals
- FNMT: accrediting your identity (personal certificate)
- Cl@ve, the public administration's identity system
Checked on November 2026. Rules, forms and fees change: always confirm the current procedure with the competent authority before you act. This guide is general information, not legal, tax or financial advice.
