What is a CNAE code?
A CNAE code is a code from Spain's national classification of economic activities. The current classification is CNAE-2025, and it is not the IAE epigraph your Hacienda Foral uses. Social Security's records use it. This page does not pick a code for a job.
What it is
The INE page for CNAE-2025 (opens in a new tab) says CNAE-2025 is a statistical classification of economic activities. It replaces CNAE-2009, and it was drawn up with the European NACE Rev. 2.1 and the international ISIC Rev. 5. The INE says it brings CNAE-2025 into the statistics it is responsible for from 1 January 2025, in stages.
Real Decreto 10/2025 (opens in a new tab), of 14 January, approves CNAE-2025. The BOE page says it was published in number 13 on 15 January 2025 and came into force on 16 January 2025. Article 1 says its object is to approve that classification. The preamble says the classification is statistical, and that its use has spread into administrative records. It says the Tesorería General de la Seguridad Social already coded economic activity with CNAE-2009, and that communicating the code under CNAE-2025 updates those codes rather than creating a new kind of duty.
The additional provision says that, so the code can go into the Social Security records that identify who must pay contributions, the people responsible must tell Social Security the CNAE-2025 code, by the procedure Social Security sets. Someone already on those records had to communicate it before 30 June 2025. Someone who joins after the decree came into force communicates the CNAE-2025 code when they join. The same provision says they also communicate the CNAE-2009 code until the Social Security legislation that sets the premium tariff for work accidents and occupational disease, adapted to CNAE-2025, comes into force. Article 7 says the INE may support equivalence tables between CNAE-2025 and sector classifications, and it names the IAE as one of those.
What is different in Euskadi
CNAE is a state classification. The three Haciendas do not each publish a CNAE list. They publish IAE tariffs and epigraphs. Paying the IAE, or being inside an exemption, is Do I pay IAE in Euskadi?. The decree does not replace that foral tax with a CNAE code.
Where to read the steps
Choosing both codes, and how they differ, is Choose your IAE and CNAE codes. Where Social Security asks for the code at registration is Register with Social Security. The short glossary line is Look up a Spanish or Basque term.
Independent information. Not an official government website or a gestoría. General information, not legal, immigration or tax advice. Confirm current requirements with the authority before you act.