How to Get a NIF in Spain, Step by Step
The NIF (tax ID number) identifies you with Spain's tax agency. If you're a Spanish national, it's your DNI; if you're a foreigner, you first get an NIE, which then works as your NIF; if you're forming a company, the tax agency assigns the company its own NIF once you file form 036.
Figuring out which NIF applies to you is the real first step to moving to or setting up a business in Spain — before you can open a bank account or sign a lease for a premises.
It's worth getting this right the first time: using the wrong number on a lease, a contract, or a tax form can create mismatches that take weeks of paperwork to untangle later.
What to have ready
- Your passport or home-country ID, if you're a foreigner.
- Proof of why you need it (a job contract, intent to form a company, a property purchase, etc.), if requested.
- An appointment at a police station's Foreigners' Office, or through a Spanish consulate if you're applying from outside Spain.
- Tax form 036, if what you actually need is a company's NIF.
Step by step for a foreign individual (via NIE)
- Book an appointment at the National Police's Foreigners' Office in your province, or at a Spanish consulate if applying from abroad.
- Fill in form EX-15 and pay the fee.
- Show up with your passport and the paperwork supporting your reason for applying.
- Collect your card or certificate with your NIE number, which from then on also works as your NIF with the tax agency.
Step by step for a company
- Get the negative company-name certificate from the Central Commercial Registry first.
- Sign the incorporation deed in front of a notary.
- File form 036 on the tax agency's online portal to request the company's provisional NIF.
- Once the company is registered with the Commercial Registry, update the tax agency with the final details so the NIF becomes permanent.
Appointment wait times for the NIE vary a lot by province and time of year, so book well ahead if your business timeline depends on having the number quickly.
Provisional NIE vs. the physical residency card
There's a practical distinction that trips a lot of people up: you can receive a certificate or receipt with your NIE number well before you're handed the physical residency card (TIE). To start invoicing, open an account, or sign a lease, the number alone is usually enough, though some banks or landlords prefer to wait for the final physical document. Always ask rather than assume the provisional paperwork will be accepted for every step.
NIF and CIF aren't two separate things anymore
If you've been away from the Spanish system for a while, it's an easy mix-up: the CIF as a standalone document disappeared years ago, and companies today are also identified by a NIF, just with a different leading letter depending on the type of entity.
Once you have your NIF, the next step is almost always to open a business bank account in Spain, and shortly after that to get your digital certificate so you can sign and file paperwork online instead of showing up in person every time.
Once you have the NIF, the account, and your first customers, build the habit of asking every one of them for a review the same way — it's what actually helps people find you over time.
Get the paperwork sorted, and once you've got your first customers in Spain, ask every one of them for a review the same way with Tailwind: $5/month per tool, or $50/month for the Full plan covering everything, first month free, no card required.
Start your free month in Spain
Subscribe to our newsletter
We send helpful materials once a month, along with information about discounts and special offers. No daily spam
We use your email only to send this newsletter. You can unsubscribe at any time from the link in every email. See our Privacy Policy.
How to unsubscribe from the mailing list?