Business Activities and CNAE Codes When Incorporating in Spain

Wooden card catalogue drawers with label holders, like the classification behind company objects and CNAE codes in Spain

How to choose company objects and CNAE codes when incorporating in Spain: what the objects clause must contain, what the CNAE code is for, how it differs from the IAE and which mistakes to avoid.

Contents

Before signing the deed that creates a Spanish company, founders must answer a simple-sounding question: what will the company do? In Spain the answer takes two different forms. The first is the company objects clause, or objeto social, the part of the articles of association that describes the company’s activities. The second is the CNAE code, a statistical code identifying the main activity that must appear in the deed of incorporation and in the Commercial Registry entry. On top of these, the Spanish tax system has its own activity classification for the Business Activities Tax (Impuesto sobre Actividades Económicas, IAE). Mixing them up is one of the most common mistakes foreign founders make.

This guide explains how to choose your company objects and CNAE codes when incorporating in Spain: what the objects clause must contain, what a CNAE code really tells the authorities, how to separate main and secondary activities, how regulated activities are treated and which drafting mistakes to avoid. It is general information based on current Spanish law and on the published decisions of the Spanish registry authority; the exact wording should always be reviewed for your case.

What belongs in the company objects clause

A compulsory and specific clause

Article 23 of the Spanish Companies Act (Ley de Sociedades de Capital) requires the articles of association to state “the business purpose, identifying the activities it comprises”. Article 178 of the Commercial Registry Regulation (Reglamento del Registro Mercantil) adds three rules:

  • The objects must be set out in the articles, identifying the activities they include.
  • They cannot include the legal acts needed to carry out those activities, such as buying, selling, hiring or leasing whatever the business requires.
  • They can never include “any other lawful business activity” or generic wording to the same effect.

In other words, the clause must describe recognisably what the company does, without catch-all wording. This is a real difference from some common-law jurisdictions, where companies can often be formed with unrestricted objects. There is no maximum number of activities, but each must be identified.

Why the objects clause matters

The clause is not merely descriptive. It has concrete legal effects:

  • It sets the scope of the directors’ power to represent the company, which covers all acts within the objects (article 234 of the Companies Act). Even so, the company is bound towards third parties acting in good faith if an act falls outside the registered objects.
  • It determines whether special rules apply. According to the Directorate General for Legal Certainty and Public Faith (DGSJFP), the body that rules on appeals against registrars’ decisions, it is the wording of the objects in the articles, not the activity later carried on, that decides whether the company must meet sector-specific requirements from incorporation.
  • Replacing the objects or changing them substantially gives shareholders who did not vote in favour a right to withdraw from the company (article 346).
  • Ceasing to carry on the activities in the objects is a ground for dissolution, and the law presumes this after more than one year of inactivity (article 363).

Changing the objects later

Extending or changing the objects is an amendment of the articles. It requires a shareholders’ resolution passed by more than half of the votes of the share capital, a notarial deed and registration with the Commercial Registry (articles 199, 285 and 290). It is perfectly possible, but it costs money and management time, so it pays to think about the objects with some foresight from the start.

Company objects and CNAE codes: three concepts not to confuse

Company objects and CNAE codes are chosen together, but they serve different purposes. A third element, the IAE activity heading (epígrafe), applies for tax purposes. The table summarises the differences:

ConceptWhere it appearsWhat it is for
Company objects (objeto social)Articles of association, registered at the Commercial Registry.Legally defines the company’s activities and the scope of its directors’ authority.
CNAE codeDeed of incorporation, registry entry, annual accounts and other public records.Classifies the activity for statistical purposes and sector identification with public authorities.
IAE heading (epígrafe)Tax registration and IAE returns filed with the Spanish Tax Agency.Identifies, for tax purposes, the activities actually carried on.

When drafting company objects and CNAE codes, remember that copying CNAE titles does not automatically produce a good objects clause, and the CNAE code chosen does not by itself define what the company may do. Tax registration of activities follows its own rules, although the information should be consistent across all three.

What a CNAE code describes

A statistical classification

The CNAE (Clasificación Nacional de Actividades Económicas) is Spain’s official classification of economic activities for official statistics, aligned with the EU’s NACE nomenclature. If you already know the NACE code of your activity in another EU country, the Spanish code will usually look familiar. The current version is CNAE-2025, approved by Royal Decree 10/2025 of 14 January, which replaces CNAE-2009. It has four levels: sections identified by a letter, two-digit divisions, three-digit groups and four-digit classes.

The National Statistics Institute (INE) explains that the CNAE is mainly used by producers of official statistics, although other bodies use it for non-statistical purposes such as social security, tax or grants. In those areas the INE is not responsible for how the classification is used and does not know which codes have been assigned to each company outside statistics.

Why the CNAE code goes in the deed

Article 20 of Law 14/2013 on support for entrepreneurs and their internationalisation provides that documents filed with public registries and the first registration of an entity must state the codes for the activities in its objects, and that the annual accounts must identify the single main activity carried on during the year. The same article requires businesses dealing with public authorities to identify their main activity using the code that best describes it, in sufficient detail.

The DGSJFP has repeatedly stated that the deed of incorporation and the registry entry must contain the code for the main activity, that this requirement has a statistical purpose and that it is not intended to regulate commercial activity. It has also said that describing the objects in line with the CNAE activities helps prevent them from being regarded as vague or generic. So the CNAE is a good drafting reference, but it does not replace thinking about what the company will actually do.

The move from CNAE-2009 to CNAE-2025

Royal Decree 10/2025 requires public sector records at national level to code economic activity under CNAE-2025, with a phased timetable: the coding of the General Treasury of Social Security’s records was to be communicated between March and June 2025, and other national public records must use the new version before 1 January 2027. During this transition both versions may coexist, and some codes have changed number or section. If you have a CNAE-2009 code, the INE publishes correspondence tables and an AI-assisted coding tool called CodIA. Before signing, confirm with the notary which version and code will appear in the deed.

The CNAE code is not the IAE heading

The Business Activities Tax (IAE) is a local tax levied on the mere exercise of business, professional or artistic activities in Spain (article 78 of the consolidated Local Finance Act). It uses its own tariffs and headings, which differ from the CNAE. Having a CNAE code in the deed does not mean the company is registered for any activity for tax purposes.

According to the Spanish Tax Agency (AEAT), companies must file a tax census registration before starting their activity, and those not exempt from the IAE must also file the specific IAE return. The law exempts, among others, businesses during the first two tax periods in which they carry on a new activity in Spain and, after that, companies with a net turnover below one million euros, with special rules for groups of companies (article 82). Which filings apply to your case should be checked with a tax adviser and on the AEAT website.

Main and secondary activities

Most businesses do more than one thing. Separating main and secondary activities is the key to drafting useful objects and choosing the right CNAE code.

One main activity

Although the objects may cover several activities, only one CNAE code serves as the main reference: Law 14/2013 refers to the main activity and to the single main activity in the annual accounts, and statistical methodology also selects one code. The INE points out that there are no codes for combined activities already listed separately in the classification. To choose it, ask which activity is likely to generate most of the business’s value, not which is the most visible or the one you want to promote.

Secondary and growth activities

Secondary activities are those that accompany the main one: a consultancy that also runs training, an online shop that offers installation, or a software company that sells licences and provides support. Including them avoids amending the articles when the business expands in foreseeable ways. A sensible rule is to include what you will do and what you are likely to do in the medium term, without adding unrelated activities “just in case”.

Neither too broad nor too narrow

Objects that are too narrow force frequent amendments and may leave ordinary operations outside the clause. Objects that are too broad cause other problems: they may accidentally include regulated activities with special requirements, prompt questions from banks during their know-your-customer checks and give a vague picture of the real business. Registry doctrine holds that describing a genus includes all its species: if you describe an activity in very general terms, it is taken to include all its variants, including regulated ones, unless you expressly exclude them.

An example structure

A clear way to organise the clause is to start with the main activity and continue with secondary ones, using concrete descriptions. For a hypothetical tech company: development, publishing and marketing of software; technology consultancy and systems implementation services; application maintenance and support; and training related to the above. The main activity would then be matched to the CNAE code that best describes it, after checking the current classification.

Regulated activities and permissions

The objects clause does not give permission to carry on an activity. For regulated activities and permissions, distinguish what the Commercial Registry requires at incorporation from what other authorities require before you can operate.

When the objects trigger special rules

As noted, registry doctrine holds that from incorporation the company must meet the requirements needed to carry on every activity in its objects. If the objects include activities reserved by law to entities with a special form or authorisation, the registrar may refuse to register. A recent example is the DGSJFP decision of 7 October 2025 on an activity auxiliary to financial services. It recalls that investment firms require prior authorisation and registration with the National Securities Market Commission (CNMV), and that those requirements can only be imposed when the objects really describe such activities and the registrar specifies which activity falls under the special rules.

When an activity is described in general terms, the usual solution is to expressly exclude activities that are reserved or subject to requirements the company does not meet. According to registry doctrine, such an exclusion is not empty wording: it helps define the objects by exception.

Professional activities and professional companies

Companies whose objects are the joint practice of a professional activity, meaning one that requires an official university degree and membership of a professional association, must be incorporated as professional companies under Law 2/2007, and may only have professional activities as their objects (articles 1 and 2). This applies, for example, to firms of lawyers, architects or doctors that bill professional services directly. If the company is not meant to be a professional company, the wording of the objects must make that clear. Review this point with the notary before signing, as it determines the company’s legal regime.

Sector authorisations and premises licences

Outside the Commercial Registry, many activities need authorisations, registrations or prior notifications with sector regulators, regional governments or city councils: financial and insurance activities, healthcare, transport, food, regulated education or security services, among others. Licences or declarations to open premises depend on the specific premises and local rules. Registering a company whose objects include those activities does not replace any of these steps.

This matters particularly when the company’s registered office is at a business address service. That address serves the purposes allowed by the service contracted, but it is not premises authorised for activities requiring a shop, warehouse or face-to-face customer service. If the activity needs premises, you will have to obtain them and their licence separately. Note too that forming a Spanish company does not, by itself, give its owners or directors any right to live or work in Spain.

Common drafting mistakes

These common drafting mistakes cause the most trouble, both at registration and later on.

Catch-all clauses

Adding “and any other lawful business activity” or similar wording is expressly prohibited by the Commercial Registry Regulation and leads the registrar to refuse that part of the clause. Foreign founders often include it out of habit because it is standard in their home country.

Listing instrumental acts as activities

Phrases such as “purchasing the goods needed for the business” or “hiring staff” are not activities but acts needed to carry them out, and the Regulation does not allow them in the objects.

Pasting a long list of CNAE codes

Copying dozens of classification titles unrelated to the business adds no security. It may bring in regulated activities, make choosing the main activity harder and prompt questions from banks or authorities. Concrete, well-ordered objects are more useful.

Choosing the main code without considering its effects

The main code is used to identify the company with several public authorities for statistical and administrative purposes. Choosing one that does not reflect the real activity creates inconsistencies with tax, employment or accounting information and may need correcting later.

Forgetting consistency with the company name

If the company name refers to a specific activity, such as “consulting” or “construction”, the objects must include it: the Commercial Registry Regulation does not allow a name that refers to an activity not included in the objects (article 402).

Including professional or regulated activities without realising

Expressions such as “legal advice”, “medical services”, “investment management” or “financial intermediation” may trigger special rules. If the company will not meet those requirements, rephrase the activity or expressly exclude what is reserved.

Translating instead of adapting

Foreign founders often translate the objects of their parent company word for word. The result may be too broad for Spanish registry practice, include concepts that are regulated activities in Spain or use terms with no clear Spanish equivalent. Draft the objects in Spanish starting from the company’s real activities, not from a translation.

Checklist for your company objects and CNAE code

  • I have described in my own words what the company will sell or which services it will provide, to whom and where.
  • I have identified the main activity and the foreseeable secondary activities.
  • The objects describe specific activities, with no catch-all wording or instrumental acts.
  • I have checked whether any activity is professional, financial or subject to authorisation, and whether it should be excluded or reworded.
  • I have found the CNAE code that best describes the main activity in the version to be used, with the INE’s tools if needed.
  • I have confirmed with the notary how the CNAE code will appear in the deed.
  • The company name is consistent with the objects.
  • I know which licences, authorisations or notifications the activity needs apart from the Commercial Registry.
  • If the activity needs premises, I know where it will be carried on; the registered office does not replace them.
  • I have reviewed with an adviser the tax census and IAE filings required when the activity starts.

Practical examples

These cases are illustrative and simplified; specific codes must always be checked against the current classification.

A consultancy that also trains

A founder based abroad sets up a Spanish company to provide marketing consultancy and run courses. Her first idea was to copy the very broad objects of her company back home. After review, she keeps consultancy as the main activity, adds training as a secondary activity and removes everything unrelated to the project. The main CNAE code is chosen for consultancy, the activity expected to generate most of the income.

An online shop with a warehouse

Two partners incorporate a company to sell products online. The objects include online retail and, as a secondary activity, importing the products. Before signing, they check whether their products are subject to health or safety requirements and plan their own warehouse, because the registered office address they have contracted cannot be used to store goods.

A project close to financial services

A founder wants to run a platform providing information on investment products. His draft included “financial advice” without further detail, which could be read as a reserved investment service. With professional help, he describes the actual information and technology activity and adds an express exclusion of activities reserved to authorised entities that the company will not carry on.

How DomiciliaEmpresa can help

DomiciliaEmpresa supports entrepreneurs and companies, including those based abroad, with Spanish company formation and company registration in Madrid. We help you describe your activity, draft objects that fit your company name and plans, identify the CNAE code for your main activity and spot potentially regulated activities in time. We coordinate the name certificate, the deed of incorporation and the notary, and guide you through the tax registrations that follow.

If your Spanish limited liability company needs an address, we can assess whether our Madrid registered office service fits your activity and the way the company will be managed. A professional address does not always work as a registered or tax address, and it never replaces premises when the activity requires them. If you are interested in combining incorporation, a business address and ongoing accounting and tax services, ask us about current terms and promotions.

Frequently asked questions

Are the company objects and the CNAE code the same thing?

No. The objects clause in the articles legally defines the company’s activities. The CNAE code is a statistical classification that identifies the main activity and must appear in the deed and the registry entry.

Can a company have several CNAE codes?

The objects can include several activities with their codes, but one main activity must be identified. Check with the notary how they will be shown in the deed.

Is the CNAE code the same as the IAE heading?

No. The IAE has its own tariffs and headings. Activities are registered for tax purposes with the Spanish Tax Agency under separate rules, although they should be consistent with the objects.

What if I later want to do something not covered by the objects?

You will need to amend the articles through a shareholders’ resolution, a notarial deed and registration. If the change is substantial, shareholders who did not vote in favour may be entitled to withdraw.

Does having an activity in the objects authorise me to carry it on?

No. Licences, authorisations and sector registrations are obtained separately from the competent authority. The objects only define what the company may do from a company-law perspective.

Conclusion

Choosing the right company objects and CNAE codes is a small decision with lasting effects. The objects define what the company may do and whether special rules apply; the CNAE code identifies its main activity to public authorities for statistical purposes; and the IAE follows its own tax classification. Specific, well-ordered objects consistent with the company name, together with a main code that reflects the real activity, avoid objections from the notary and the registrar and save later amendments.

Because every activity has its nuances, especially near regulated sectors, and your company objects and CNAE codes must fit together, it is advisable to review the wording with professionals before signing. The DomiciliaEmpresa team can help you define your objects, answer your questions and coordinate the incorporation and address of your company in Madrid. Get in touch for no-obligation information and we will explain the next steps.

Setting up a Spanish company? Ask about incorporation and a Madrid address

Official sources

Related services

See all services →

More than 25,000 clients trust us

+20

years of experience

+25,000

clients

+65,000

procedures completed

Let's talk

Request information, no strings attached

Tell us what your company needs and we'll reply within 24 hours.

Information request (EN)

Privacy policy | Legal notice

Data protection: Controller: Consultoría Asesor Pyme Profesional, S.L. Purpose: to handle your request. Legal basis: pre-contractual measures or legitimate interest, as applicable. Recipients: as set out in the policy. Rights: you can exercise them at info@domiciliaempresa.es.

You can also contact us

91 445 86 32
Mon-Fri 10:00 - 18:00

info@domiciliaempresa.es
Reply within 24 h

C/ General Álvarez de Castro 41, Office 10
Madrid