This guide is what worked for us and the people we've helped — it is not legal advice, and we are not legal professionals. Rules change, every situation is different, and the cost of getting it wrong (denied visas, double taxation, fines, missed deadlines) is real.
Before you act on anything here, speak with a qualified legal professional — an immigration lawyer (abogado de extranjería), a cross-border tax accountant, or a licensed gestor — who can review your specific facts. Use this guide to know what questions to ask, not as a substitute for paid advice.
How do I renew my Spanish digital certificate? For an FNMT persona física software certificate, check the expiry date and renewal eligibility before using the official FNMT renewal page. The Spanish search term is renovar certificado digital. Renewal is available during the 60 days before expiry, provided the certificate has not been revoked and meets FNMT's identity-verification requirements. An expired certificate cannot be renewed.
How do I back up or transfer my certificado digital? Export a password-protected .p12 or .pfx including the private key, then import it on the new device and test a government-service login before deleting the old installation. A public certificate without its private key cannot sign for you.
Forgotten the backup password? If you still have a working, exportable installation, export a new backup with a new password. If the encrypted file is your only copy, FNMT cannot reset its password or recover the private key. Arrange revocation and a new certificate instead.
Need your first certificate rather than renewal? Use our free Getting Your Digital Certificate in Spain guide. After replacing or renewing one, follow the free Spanish services checklist to test tax, Social Security and notification access.
If you have not obtained one yet, start with Getting Your Digital Certificate in Spain — this guide assumes the certificate already exists and is installed somewhere.
A certificado digital is not an account you log into. It is a key pair: a public certificate that identifies you, and a private key that only your machine holds. Nobody — not the FNMT, not Hacienda, not a gestor — can recover that private key for you. Everything below follows from that one fact.
The five jobs you will actually have to do, roughly in the order life throws them at you: change or recover the password on your exported backup file; move the certificate to a new computer or phone; renew it before it expires; revoke it if a laptop is lost or stolen; and clean out the expired copies that pile up in your browser and confuse every government site you visit.
The one rule that prevents all of the pain: the moment you have a working certificate, export it to a password-protected .p12 file, store that file and its password in two separate safe places, and test the restore once. A certificate that exists only inside one browser profile is one laptop failure away from a new in-person appointment.
A word about the word "password". Three different secrets get called the password, and mixing them up is the single most common cause of "my certificate stopped working". The next section untangles them.
