Two different activity codes, two different purposes, one very common mistake. Below is what each one is, how they differ, and a lookup table of the codes foreign-owned companies actually use.
The CNAE (Clasificacion Nacional de Actividades Economicas) is Spain's statistical classification of economic activities, aligned with the EU's NACE system. It is a four-digit code describing what your company does — for example 6201 for computer programming or 7022 for business management consultancy. Every Spanish company has one.
The CNAE is statistical and describes your activity. The IAE (Impuesto sobre Actividades Economicas) is fiscal: it is the tax classification you declare on the Modelo 036, and it determines which tax obligations apply. They are related but not interchangeable, and they are declared to different bodies for different reasons.
Foreign founders usually meet both codes at the same moment — when the gestor asks which activity the company will carry out — and treat the question as administrative box-ticking. It is not. The code you choose is read by the tax authority, by the Commercial Registry and, most consequentially, by the bank assessing your account application.
| CNAE | IAE | |
|---|---|---|
| Purpose | Statistical classification | Tax classification |
| Full name | Clasificacion Nacional de Actividades Economicas | Impuesto sobre Actividades Economicas |
| Format | Four digits, e.g. 6201 | Epigrafe within a section, e.g. 843.9 |
| Declared where | Deed, Commercial Registry, statistics | Modelo 036 or 037 |
| EU equivalent | Maps to NACE Rev. 2 | No direct equivalent |
| Affects | Sector statistics, bank risk profiling, registry entry | Tax obligations, VAT treatment, possible exemptions |
| Can you have several | One principal, others possible | Yes, one per activity carried out |
A consultancy registered under a wholesale trade code, or a software company registered as generic "other services", creates a mismatch between what the paperwork says and what the bank hears in the interview. Compliance teams read the activity code as a risk signal, and an unexplained divergence between code and business narrative is one of the most common reasons an account application stalls.
These are the codes that come up most often in our own formation work. Use them as a starting point for the conversation, not as a final answer — the correct code depends on what the company genuinely does, and several activities sit close to a boundary.
| CNAE | Spanish description | In practice |
|---|---|---|
| 6201 | Actividades de programacion informatica | Software development, custom development, SaaS build |
| 6202 | Actividades de consultoria informatica | IT consultancy, systems advisory, implementation |
| 6209 | Otros servicios relacionados con las TIC | Other IT services not covered above |
| 6311 | Proceso de datos, hosting y actividades relacionadas | Hosting, data processing, cloud infrastructure |
| 6312 | Portales web | Web portals, marketplaces, content platforms |
| CNAE | Spanish description | In practice |
|---|---|---|
| 7022 | Otras actividades de consultoria de gestion empresarial | General business and management consultancy — the most common professional-services code |
| 7010 | Actividades de las sedes centrales | Head office and group management activities |
| 7112 | Servicios tecnicos de ingenieria y otras actividades | Engineering services, technical consultancy |
| 6910 | Actividades juridicas | Legal services |
| 6920 | Actividades de contabilidad, teneduria de libros, auditoria y asesoria fiscal | Accounting, bookkeeping, audit and tax advisory |
| 7490 | Otras actividades profesionales, cientificas y tecnicas n.c.o.p. | Professional services not classified elsewhere — use sparingly |
| CNAE | Spanish description | In practice |
|---|---|---|
| 4791 | Comercio al por menor por correspondencia o Internet | Online retail — the standard e-commerce code |
| 4619 | Intermediarios del comercio de productos diversos | Commercial agency and intermediation across product types |
| 4690 | Comercio al por mayor no especializado | General wholesale without a single specialisation |
| 4669 | Comercio al por mayor de otra maquinaria y equipo | Wholesale of machinery and equipment |
| 4652 | Comercio al por mayor de equipos electronicos y de telecomunicaciones | Electronics and telecoms equipment wholesale |
| 5210 | Deposito y almacenamiento | Warehousing and storage |
| CNAE | Spanish description | In practice |
|---|---|---|
| 7311 | Agencias de publicidad | Advertising agencies, marketing services |
| 7320 | Estudio de mercado y realizacion de encuestas de opinion publica | Market research and survey work |
| 7021 | Relaciones publicas y comunicacion | PR and corporate communications |
| 7410 | Actividades de diseno especializado | Design services |
| CNAE | Spanish description | In practice |
|---|---|---|
| 6420 | Actividades de las sociedades holding | Holding companies — expect additional bank scrutiny with this code |
| 6810 | Compraventa de bienes inmobiliarios por cuenta propia | Buying and selling property on own account |
| 6820 | Alquiler de bienes inmobiliarios por cuenta propia | Letting own property |
| 6832 | Gestion y administracion de la propiedad inmobiliaria | Property management for third parties |
| 6499 | Otros servicios financieros, excepto seguros y fondos de pensiones | Financial services — check licensing before using |
A holding code is legitimate and common, but it signals a passive entity to a bank compliance team, which raises questions about source of funds and business purpose. Financial-services codes may imply activity requiring authorisation. Neither is a reason to avoid the correct code — it is a reason to prepare the explanation before the bank asks.
The IAE is both a classification and a tax, which causes confusion. Most newly formed companies do not pay it, but they all have to declare under it.
An exemption commonly applies during the first tax periods of activity, and separately for companies below a turnover threshold. Most foreign-owned SLs fall into one or both categories at the outset.
Exemption from payment does not remove the duty to declare the activity correctly on the Modelo 036. Companies that treat "we do not pay IAE" as "IAE does not concern us" get the classification wrong by default.
We select CNAE and IAE against what the company genuinely does, keep them consistent with the objeto social, and build the business narrative that the bank will ask for — before it asks.