Autónomo Claro

Home › Alta y trámites

IAE Code for Autónomos in Spain: How to Pick Your Epígrafe

By CHANGE-ME Your Name · Updated

Quick answer: Your IAE epígrafe is the activity code you declare in casilla 402 of modelo 036, together with its section — and as a persona física you pay nothing for it (art. 82 TRLRHL exempts all individuals). What matters is the section: Sección 2ª (professional, e.g. 763 developer, 774 translator, 751 publicidad, 826 teacher) triggers 15 % IRPF retention on invoices to Spanish businesses — 7 % in your first year and the two following — while the Sección 1ª equivalents (845/849.9, 849.3, 844, 933.9) carry no professional retention. Figures below are current as of October 2026.

What an epígrafe is — and why you won't actually pay the IAE

The epígrafe is the code from the Impuesto sobre Actividades Económicas (IAE) tariff that tells Hacienda what you do for a living. You declare it when you register as an autónomo, and it travels with you: it sets whether your invoices carry IRPF retention and whether you can skip modelo 130 altogether.

First, kill the myth that drives half the bad advice online: you don't pay the IAE as an individual autónomo. Article 82 of the TRLRHL (RDL 2/2004) exempts "las personas físicas, sean o no residentes en territorio español", and separately any sujeto pasivo during its first two tax periods of activity. The €1,000,000 net-turnover threshold applies to corporate taxpayers, sociedades civiles and art. 35.4 LGT entities — not to you. So the euro figures printed next to each epígrafe in the tariff (849.9 = €202.17, 843.1 = €454.09, 861/863/864 = €115 each) are irrelevant to a persona física. "Pick the cheapest epígrafe" is not a strategy; it's a misunderstanding.

Second: the 036 asks for your IAE epígrafe, not your CNAE. CNAE is the INE's statistical classification, and it's what you declare on the Social Security side when you register with RETA. Guides that tell you to put a CNAE code in the 036 activity box are wrong.

All codes below are verbatim titles from the consolidated RDL 1175/1990 text (BOE), checked 27 October 2026.

The three sections, and the rule nobody explains

Section What it covers
Sección 1ª Actividades empresariales: ganaderas, mineras, industriales, comerciales y de servicios (Divisiones 0–9)
Sección 2ª Actividades profesionales (Divisiones 0–8)
Sección 3ª Actividades artísticas (Agrupaciones 01–05: cine/teatro/circo, baile, música, deporte, espectáculos taurinos)

The decisive rule is Regla 3ª of the Instrucción: Sección 2ª activities count as professional "siempre que se ejerzan por personas físicas." If a legal person or an art. 35.4 LGT entity does the exact same work, it "deberá matricularse y tributar por la actividad correlativa o análoga de la Sección 1.ª".

That single rule explains why "the same job" has two codes. An SL can never hold a Sección 2ª epígrafe. You, as a persona física, normally can — and the choice is driven by the nature of the activity (and, for some codes, your qualification), not by which tax treatment you'd prefer.

The other rule worth knowing is Regla 4ª.1: paying the quota for one activity "faculta, exclusivamente, para el ejercicio de esa actividad". One epígrafe per activity. If you develop software and also teach a course, that's two epígrafes.

Decision table: the epígrafes freelancers actually use

What you do Sección 2ª (professional) Sección 1ª mirror (business)
Translator, interpreter 774 Traductores e Intérpretes 849.3 Servicios de traducción y similares
Software developer, analyst 763 Programadores y Analistas de Informática (762 doctores, licenciados e ingenieros en informática; 764 diplomados en informática; 765 profesionales auxiliares del tratamiento electrónico de datos) 845 Explotación electrónica por cuenta de terceros; 849.9 Otros servicios independientes n.c.o.p.
Graphic designer, marketer, PR 751 Profesionales de la Publicidad, relaciones públicas y similares 844 Servicios de publicidad, relaciones públicas y similares
Interior designer, draughtsman 432 Decoradores-Diseñadores de interiores; 431 Delineantes 843.2 arquitectura y urbanismo; 843.5 delineación
Engineer 321 Ing. Técnicos Industriales/Textiles, Ayudantes y Peritos; 311 Ing. Industriales y Textiles; 213 Ing. de telecomunicación 843.1 Servicios técnicos de ingeniería; 843.9 otros servicios técnicos n.c.o.p.
Consultant (finance, HR, social sciences) 741 Economistas; 777 Especialistas en asuntos de personal y orientación y análisis profesional; 776 Doctores y Licenciados en Ciencias Políticas y Sociales, Psicólogos, Antropólogos, Historiadores y similares 842 Servicios financieros y contables; 849.9
Language / exam-prep teacher 826 Personal docente de enseñanzas diversas (Educación Física y Deportes, Idiomas, Mecanografía, preparación de exámenes y oposiciones y similares); 824 Profesores de formación y perfeccionamiento profesional 933.9 Otras actividades de enseñanza, tales como idiomas…
Copywriter, journalist, content 864 Escritores y guionistas; 863 Periodistas y otros profesionales de la información y la comunicación —
Artist, illustrator, artisan 861 Pintores, escultores, ceramistas, artesanos, grabadores, artistas falleros y similares —
Events / congress organiser 854 Expertos en organización de congresos, asambleas y similares —
Tour guide, mountain guide, make-up artist 882 Guías de turismo; 883 Guías intérpretes de turismo; 889 Guías de montaña; 887 Maquilladores y esteticistas —
Nothing fits 899 Otros profesionales relacionados con los servicios a que se refiere esta división 849.9 Otros servicios independientes n.c.o.p.

Two notes on ambiguity. Agrupación 76 exists in both sections (Sección 1ª División 7 is telecomunicaciones; Sección 2ª Agrupación 76 is "Profesionales de la Informática y de las Ciencias Exactas"), so a bare "76x" is meaningless — always state the section, which is exactly what the 036 demands. And whether a self-taught developer may use 762 ("Doctores, licenciados e ingenieros en informática") or must use 763 turns on DGT doctrine rather than the tariff text; in practice, non-degree-holding devs use 763. For an edge case, file a consulta vinculante instead of guessing.

Why the section matters: 15 % vs 7 % vs nothing

This is the real consequence, and it comes from art. 95 of the IRPF Regulation (RD 439/2007):

The percentages above are verbatim from the regulation. The link between "actividad profesional" and the IAE sections is how AEAT applies art. 95 in practice; if you are putting it in writing for a client or an inspector, quote art. 95.2 RIRPF from the BOE text rather than this page. Practical cases: IRPF retention on autónomo invoices: when 15 %, when 7 %.

Retention is something the payer does, so it only bites when your client is a Spanish business or professional with a withholding obligation. Private consumers and foreign clients don't withhold — but you still declare an epígrafe, because the 036 census entry has nothing to do with where your clients are. See how to invoice a client outside Spain.

Knock-on effect: modelo 130

Art. 109 RIRPF exempts professionals from pagos fraccionados if, in the prior calendar year, "al menos el 70 por ciento de los ingresos de la actividad fueron objeto de retención o ingreso a cuenta." In a first year the percentage is measured over the period covered by the payment. So a Sección 2ª freelancer invoicing only Spanish companies often files no modelo 130 at all; a Sección 1ª freelancer, with no retentions, almost always does. The same 70 % test applies to agrarian and forestry activities (excluding subsidies and indemnities). Details in Modelo 130: do I need to file it?.

Where the epígrafe goes on modelo 036

Per AEAT's official 036 completion guide (Capítulo 4, updated 26/03/2026), the new activity's data go on a sheet per activity on página 4 of the form:

Casilla Content
400 Descripción de la actividad — "se consignará la descripción de la actividad que corresponda", using the name the activity has in the IAE Tarifas e Instrucción
402 Grupo o epígrafe and the IAE section — "solamente se cumplimentará esta casilla en el supuesto de que la actividad forme parte del hecho imponible del impuesto" (i.e. codes A01–A05). Epígrafe first, then section (1ª empresariales / 2ª profesionales / 3ª artísticas)
403 Tipo de actividad (short denomination)
404 Código de actividad

The activity codes for casilla 404: A01 arrendadores de bienes inmuebles · A02 ganadería independiente · A03 resto de actividades empresariales · A04 actividades profesionales artísticas y deportivas · A05 resto de actividades profesionales. Outside the IAE hecho imponible: B01 agrícola · B02 ganadera dependiente · B03 forestal · B04 producción de mejillón en batea · B05 pesquera. Most freelance professionals are A05; performers and sportspeople, A04.

You also declare the place of activity: "actividad fuera de un local determinado", "actividad en local determinado (locales directamente afectos)", or "locales indirectamente afectos".

Three caveats. Casilla 400 is the description, 402 is the code — several popular guides swap them. AEAT's own guide puts the activity sheet on página 4, while secondary guides say page 5 (that's the VAT block); the online 036 is field-driven anyway, so follow the labels. And the box numbers for the fecha de inicio and premises fields aren't confirmed in AEAT's guide pages and third-party guides contradict each other — read those off the live form.

Modelo 037 no longer exists. Orden HAC/1526/2024 suppressed it with effect from 3 February 2025; the simplification now lives inside the 036. See modelo 036 vs 037.

Deadlines

Adding a second epígrafe is a free census modification — no extra fee, because as a persona física there was never a fee. Separately, you register with RETA and declare a CNAE code there, not your IAE epígrafe. The full sequence is in how to register as an autónomo in Spain in 2026.

Traps in the printed tariff

The consolidated tariff still prints codes that are legally dead: 888 Grafólogos (suppressed by Ley 39/1992) and 745 (suprimido). Conversely, 889 Guías de montaña was added by Ley 31/2022. The text also carries peseta figures with euro conversions containing visible typos — they aren't current fees, and they're moot for personas físicas anyway.

If genuinely nothing fits, the "n.c.o.p." catch-alls exist for a reason: 899 on the professional side, 849.9 on the business side. And if you later conclude you picked the wrong code, the route back is a 036 modification within one month of the change — not a rewrite of your history. What actually causes friction is an epígrafe that contradicts how you've been invoicing and withholding, so fix the code and the invoices together.

Also on this blog: IRPF retention on autónomo invoices · Modelo 130: do I need to file it? · Modelo 036 vs 037

FAQ

Do I have to pay the IAE as a freelancer in Spain?

No. Article 82 of the TRLRHL (RDL 2/2004) exempts "las personas físicas, sean o no residentes en territorio español", and separately any sujeto pasivo during its first two tax periods of activity. The €1,000,000 net-turnover threshold applies to corporate taxpayers, sociedades civiles and art. 35.4 LGT entities, not to individuals. The euro amounts printed next to each epígrafe in the tariff are irrelevant to you — so don't choose a code because it looks "cheaper".

IAE or CNAE — which does Hacienda ask for?

Hacienda asks for the IAE epígrafe plus its section on modelo 036 (casilla 402); casilla 400 is the plain-language description. CNAE is the INE's statistical classification and is what you declare on the Social Security side when you register with RETA. Guides that tell you to enter a CNAE code in the 036 activity box are wrong.

Which epígrafe does a freelance software developer use?

Most use 763 "Programadores y Analistas de Informática" (Sección 2ª), with 762 "Doctores, licenciados e ingenieros en informática" used in practice by holders of the relevant degree. The Sección 1ª equivalents are 845 "Explotación electrónica por cuenta de terceros" or 849.9 "Otros servicios independientes n.c.o.p.". The 762-vs-763 line comes from DGT doctrine rather than the tariff text, so for an edge case file a binding consulta. Note also that Agrupación 76 exists in both sections, so always state the section alongside the code.

Which code do translators use — 774 or 849.3?

A persona física translating or interpreting uses 774 "Traductores e Intérpretes" in Sección 2ª. 849.3 "Servicios de traducción y similares" is the Sección 1ª mirror, which is where a company doing the same work has to sit: Regla 3ª of the Instrucción reserves Sección 2ª to individuals and sends legal persons and art. 35.4 LGT entities to the analogous Sección 1ª epígrafe.

Does my epígrafe decide whether my invoices carry 15 % retention?

Not directly, but the section does. Professional activities (Sección 2ª) invoiced to a Spanish business or professional carry 15 % IRPF retention under art. 95 RD 439/2007, or 7 % "en el período impositivo de inicio de actividades y en los dos siguientes". Sección 1ª business activities carry no professional retention — only 1 % for certain epígrafes under estimación objetiva, and not even that if you tell the payer you use estimación directa.

Can I apply 7 % in my first year, and how do I tell my client?

Only if you did not carry out any professional activity in the previous year, and only if you communicate that circumstance to the payer — art. 95 RIRPF puts that duty on the taxpayer, so it is not automatic on the invoice. Give each client a short written communication and keep a signed copy. The window is the year you start plus the two following tax periods, not 36 months from your alta date.

Can I have more than one epígrafe, and does each cost extra?

Yes — one epígrafe per activity, because Regla 4ª.1 of the Instrucción says paying for one activity "faculta, exclusivamente, para el ejercicio de esa actividad". Adding one is a modelo 036 modification, due within 1 month from the day after the change, and it costs nothing for a persona física.

Does my epígrafe affect whether I must file modelo 130?

Indirectly, through the retentions it triggers. Art. 109 RIRPF exempts professionals from pagos fraccionados if at least 70 % of the activity's income in the prior calendar year was subject to retención or ingreso a cuenta (measured over the period covered by the payment in a first year). A Sección 2ª freelancer billing only Spanish companies often clears that test; a Sección 1ª freelancer, with no professional retention, usually files.

Do I need an epígrafe if all my clients are abroad?

Yes. The epígrafe is a census declaration of what you do, not a function of where your clients are. What changes is the retention: withholding is the payer's obligation, so foreign clients and private consumers don't apply the 15 % or 7 %, which in turn makes the 70 % modelo 130 exemption much harder to reach.

Can I still use modelo 037 for a simple registration?

No. Orden HAC/1526/2024 suppressed modelo 037 with effect from 3 February 2025. Everything now goes through modelo 036, which absorbed the simplified route.

Official sources

For information only. Not a substitute for advice from a qualified gestor or tax adviser. Always check current rules at the official source.

Related guides