Home / Insights / Company formation
Lookup · CNAE-2025 · all 664 classes

CNAE code lookup: find the activity code for your Spanish company.

Updated

Search the full official classification below. Then read the part that costs people money: CNAE is not IAE, the two are declared in different places, and the whole classification was replaced in January 2025 — so the code you were given before then may no longer exist.

Search the 664 codes ↗ Official CNAE-2025, published by the INE
In force
CNAE-2025
Approved by Real Decreto 10/2025. Replaced CNAE-2009.
Classes
664
In 21 sections, 87 divisions and 287 groups.
Where it is declared
Modelo 036
And again to Social Security. IAE is a separate code.

The full classification.

Type a code, or a word in Spanish or English. Titles are reproduced in the official Spanish, because that is the wording that goes on the form.

Source: Instituto Nacional de Estadistica, Estructura CNAE-2025. Reproduced under CC BY-SA 4.0.

The codes foreign-owned companies actually use.

Most companies we incorporate land on one of these. The English line is our gloss, not an official translation.

CNAE is not IAE, and both exist.

CNAE

A statistical classification

  • Set by the INE, four digits
  • Declared on Modelo 036 and to Social Security
  • Describes what the business does
  • No tax is calculated from it
IAE

A tax classification

  • Epigraphs set in the IAE tariffs, a different structure
  • Declared on Modelo 036 as the activity for tax
  • Determines the business activity tax position
  • Most small companies are exempt, but still declare it

They are not interchangeable and there is no official one-to-one table between them. A company usually needs both, and they have to describe the same business. Where they contradict each other — a software CNAE against a retail IAE epigraph, say — the mismatch surfaces later, usually at the bank, because compliance reads the activity declared on the tax registration and compares it with what you told them you do.

Your pre-2025 code may not exist any more.

CNAE-2025 was approved by Real Decreto 10/2025 of 14 January and replaced CNAE-2009 outright. It is not a renumbering exercise: some classes were merged, some split, and some changed meaning while keeping a similar number. Companies already registered with Social Security were required to report their CNAE-2025 code by 30 June 2025. If nobody did that for your company, it is worth checking.

One change that catches e-commerce.

Under CNAE-2009, online retail on your own account sat in 4791, comercio al por menor por correspondencia o Internet. In CNAE-2025 the number 4791 still exists but means something else: actividades de servicios de intermediacion para el comercio al por menor no especializado — intermediation, which is what a marketplace does, not what a shop does. A business selling its own goods online now classifies under the specialised retail class for what it sells, not under a generic internet-retail code.

This is the kind of change that does not announce itself. The old code is still a valid code, so nothing bounces; it simply now describes a different business from yours.

Choosing, in practice.

Start here
Describe the activity that will actually invoice.Not the ambition, not the full object of the company in the articles. The code should match what appears on your invoices in year one.
Then
Pick the most specific class that fits.The catch-all classes ending in 9 exist for activities that genuinely fit nowhere. Using one when a specific class fits invites questions later.
Check
Does the IAE epigraph tell the same story?Two codes, one business. If a reader of the two would picture different companies, fix it before filing rather than after.
Remember
You can have more than one.A company can declare several activities. A main one and secondary ones is normal, and it is better than forcing a single code to cover two real businesses.
The classification above is the official structure of CNAE-2025 as published by the Instituto Nacional de Estadistica, reproduced under CC BY-SA 4.0, current to October 2026. Titles are given in the original Spanish. English glosses on the shortlist are ours and have no official status. CNAE-2025 was approved by Real Decreto 10/2025 of 14 January, published in the BOE on 15 January 2025. Choosing an activity code has consequences for tax registration, social security and licensing; this page is general information, not advice on your situation.
The law behind this guide, in English

Unofficial translations of the BOE consolidated texts, with the articles named on each page. All of them are in our library of Spanish laws in English.

Fixed quote, one business day

Not sure which code your business takes?

We pick the CNAE and the IAE epigraph together, file them on Modelo 036, and make sure the pair tells the same story your bank will hear.

  • Fixed fee agreed before the work starts
  • Official costs separately, never marked up
  • Barcelona office, own team
1,300+Projects across the BCA group
Since 2010Group practice, 7 offices
BarcelonaOwn office, own team
Clients of the BCA group include Teva, Autodesk, STRABAG, L'Occitane, HANSA-FLEX, Orona and Urola. Some engagements are under NDA and are not listed.
Request the quote
Four fields. We read it ourselves, not a queue.
Please fill in your name, country, email and what you need.
or
Send it on WhatsApp instead
Sent. We reply within one business day, from a person who has read it.
We use your details only to answer you. No list, no sequence, no sharing. Privacy