I Had the Wrong CNAE Code From Day One (And Didn’t Even Know It)
A few months ago, a freelancer who had been registered as a digital marketing consultant for years wrote to me with a very specific question: why had his SEPE digitalization grant application been rejected? He had met all the requirements. His documentation was in order. But there was a silent problem in his file: his CNAE code didn’t accurately correspond to his actual activity.
It wasn’t an obvious error. But in the world of Spanish economic classifications, a wrong code can cost you.
I saw this pattern again and again while building Conversor IAE CNAE. And it was exactly the reason I built it.
IAE vs. CNAE: They’re Not The Same (And Confusing Them Is The Most Common Mistake)
Let me explain without jargon:
IAE (Tax on Economic Activities) is the system used by Hacienda (AEAT) to classify your activity for tax purposes. It has 1,187 epigraphs and you use it when registering as a freelancer or company (even though most SMEs are exempt from actually paying it, the classification is still mandatory).
CNAE (National Classification of Economic Activities) is the system used by the INE (National Statistics Institute) and Social Security to administratively and statistically classify businesses. In 2026, we work with CNAE 2025, which has 1,060 codes.
Two different systems, different logic, managed by different bodies. But in practice, you’ll be asked for both at different moments:
- IAE → when you register with Hacienda (form 036/037)
- CNAE → when registering with the Mercantile Registry, applying for grants, or managing Social Security registrations
The problem: there’s no exact one-to-one equivalence. One IAE epigraph can correspond to multiple CNAE codes, and vice versa. That’s where the confusion starts.
Step by Step: How to Convert Your IAE Code to CNAE Correctly
If you already have your IAE epigraph and need to know which CNAE code applies, here’s the process:
1. Find your current IAE epigraph
Locate it in your last census declaration (form 036/037) or your Hacienda registration certificate. It comes in numeric format with dots: for example, 501.3 or 691.
2. Use the bidirectional converter
At conversoriaecnae.es you can search by:
- The exact IAE epigraph number
- Your activity name in free text
- A CNAE code if you want to convert in the other direction
The search engine uses full-text search with Spanish language support (including Castilian stemming), so it works even if you don’t remember the exact number. Type “plumber”, “consulting”, “retail trade”… and it returns the official AEAT/INE equivalencies.
3. Verify the equivalence actually fits your real activity
Here’s the critical point: an official equivalence doesn’t mean it’s the right one for you.
For example, a freelance graphic designer could be registered under several different IAE epigraphs depending on whether they do editorial, web, or advertising design. Each could point to a different CNAE.
Read the full CNAE code description and make sure it describes what you actually do. If in doubt, consult your accountant before making any changes.
4. Document the equivalence you used
Keep a record of the IAE code and the CNAE you selected, along with the date of the lookup. If any authority asks you to justify your classification, this covers you.
The Most Common Mistakes (And How to Avoid Them)
Mistake 1: Using your original registration CNAE without ever reviewing it
The CNAE you entered when you created your company years ago may be outdated. In 2026 we work with CNAE 2025—the INE’s most recent update—and some previous codes have been modified or regrouped. Review it.
Mistake 2: Copying the CNAE from another freelancer in the same sector
Seen more times than you’d imagine. Two freelancers who do “web development” can have different classifications depending on whether they also do consulting, sell digital products, or have employees. CNAE describes your business model, not just your trade.
Mistake 3: Ignoring the CNAE when applying for grants
Most public grant programs—from Next Generation EU funds to ICO credit lines or regional aids—specify which CNAE codes are eligible. If yours doesn’t fit, you’re out regardless of meeting all other requirements. This is exactly what happened to the freelancer I mentioned at the start.
Mistake 4: Not updating the CNAE when your activity changes
If you pivoted your business, added product lines, or changed your business model, your CNAE should reflect your current main activity. Not doing so can create inconsistencies in your declarations and complicate things during a tax inspection.
Why Your Classification Matters: The Real Impact
This isn’t just bureaucracy. Your IAE and CNAE codes directly affect:
Access to grants and public funding
Grant programs filter by CNAE. Full stop. If you’re not in the list of eligible codes, you don’t qualify.
Social Security contributions
Some activities have differentiated contribution rates or access to special schemes (like the RETA for self-employed). An incorrect classification can make you over or underpay.
Mercantile Registry and corporate information
Your CNAE appears on your company’s public file. Investors, clients, and partners look it up. Having an incorrect one undermines trust.
INE sector statistics and reports
If the INE classifies you in the wrong category, the sector data you use for business benchmarking will be skewed.
The Tool I Built For This
When I searched for an official solution to convert between IAE and CNAE, what I found was basically PDFs from AEAT and Excel tables from INE. Nothing searchable, nothing updated, nothing designed for the freelancer who just wants to know which code applies in five minutes.
So I built conversoriaecnae.es: a free tool with the 1,187 official IAE epigraphs and 1,060 CNAE 2025 codes, with full-text search in Spanish and bidirectional equivalencies.
Since launching, the tool has accumulated more than 63,600 clicks and 1.83 million impressions in Google Search Console. That tells me one thing: a huge number of people have this problem, and until 2026 there was no decent Spanish-language solution for it.
Your Checklist Before Your Next Declaration
Before your next tax filing or grant application, verify:
- [ ] Do you have your current IAE epigraph identified?
- [ ] Do you know which CNAE code is registered with the Mercantile Registry and Social Security?
- [ ] Does that CNAE match your actual primary activity in 2026?
- [ ] Have you checked whether grants are available for your CNAE in your autonomous community?
- [ ] Does your accountant know which classification you’re using?
If you answered “I don’t know” to any of these, start by doing the conversion and bring the result to your next meeting with your advisor.
It’s not the most glamorous problem in the world. But getting your classification right can open—or close—doors at the most important moments for your business.
We keep building.
