A CNPJ in Brazil (Cadastro Nacional da Pessoa Jurídica) is the 14-digit federal tax identification number every company, nonprofit, and foreign entity operating in the country must obtain from the Receita Federal before it can open a bank account, issue invoices, hire staff, or sign formal contracts. Registration is done online, and for a straightforward domestic business it can be completed in as little as 24 hours.
Who Needs a CNPJ
Almost anyone conducting organized economic activity in Brazil. That covers limited liability companies (Ltda.), corporations (S.A.), sole proprietorships, and individual microentrepreneurs (MEI). Nonprofits, foundations, religious organizations, and associations need one as well.
Foreign entities are pulled in whenever they touch the Brazilian economy in a durable way: investing in a Brazilian company, holding Brazilian real estate, maintaining a bank account, or owning vehicles in the country. A foreign company that buys even a single piece of Brazilian property must register before the acquisition closes.
Operating without a CNPJ is not a workable option. You cannot issue invoices or sign formal contracts, and non-compliance can bring fines, personal liability for partners, and exclusion from the formal banking system. The registration itself is free or carries only minimal administrative fees at the Receita Federal; the real costs are state Board of Trade (Junta Comercial) fees and any legal or accounting help you hire.
What the CNPJ Number Looks Like
A CNPJ is formatted XX.XXX.XXX/XXXX-XX. The first eight characters identify the company, the next four identify the specific establishment (0001 for the headquarters, 0002 for the first branch, and so on), and the last two are check digits. The number is tied to a public record containing the legal name (Razão Social), trade name (Nome Fantasia), address, registration date, legal structure, status, primary CNAE activity code, and the partners and administrators.
Alphanumeric CNPJs Starting July 2026
Under Normative Instruction No. 2,229/2024, new CNPJs issued from July 2026 onward will use alphanumeric characters in the first twelve positions instead of only digits. The number stays 14 characters long and the last two check digits remain numeric. Existing CNPJs will not change. If your systems validate CNPJs or process electronic invoices, anything built to accept only digits will need to be updated to accept letters as well.
How to Register a CNPJ
For most business types, registration runs through two stages: first the state Board of Trade, then the Receita Federal.
- Register with the Junta Comercial. File the articles of incorporation (contrato social) with the Board of Trade in the state where the company will be headquartered. Once approved, you receive a Company Registration Identification Number (NIRE). Fees vary by state but generally run a few hundred reais.
- Apply for the CNPJ. With the NIRE, access the Receita Federal’s online system. Brazil’s REDESIM portal consolidates the city halls, the Receita Federal, state finance departments, and commercial boards into a single interface, and a clean application can be processed in about 24 hours. You complete the Basic Entry Document (Documento Básico de Entrada, or DBE) and upload identification for all partners and administrators plus proof of the company’s address.
- Receive confirmation. Once the Receita Federal accepts the application, the CNPJ is issued and you can download the registration certificate (Comprovante de Inscrição) from the portal.
The MEI Shortcut
Individual microentrepreneurs skip the Junta Comercial entirely. If annual revenue stays under R$81,000 and you have at most one employee, you can register as an MEI directly through the Portal do Empreendedor on gov.br. It is free, fully online, and takes minutes. You log in with your gov.br account, enter your personal information, pick your CNAE codes (one primary and up to fifteen secondary), and confirm. The CNPJ is generated on the spot. This is the fastest path to a CNPJ and how most solo operators in Brazil formalize.
Extra Steps for Foreign Companies
A foreign entity has a longer checklist. Before applying for the CNPJ, you must appoint a legal representative who is either a Brazilian citizen or a foreign national with a permanent visa. That person acts for the company before the Receita Federal, the Central Bank, and other authorities, and needs a valid CPF (individual taxpayer number).
The core documents are a notarized power of attorney granting the representative authority to act, the company’s articles of incorporation or equivalent, and a corporate resolution appointing the representative. All foreign documents must be apostilled (or consularized) and translated into Portuguese by a sworn translator (tradutor juramentado). The power of attorney must also be filed with a local Registry of Documents (Registro de Títulos e Documentos) before the CNPJ application can move forward.
Beneficial Owner Disclosure
Under Instrução Normativa RFB 2,119/2022, every entity registered for a CNPJ must declare the existence or absence of an ultimate beneficial owner (UBO) within 30 days of receiving the number. A beneficial owner is any individual who ultimately owns more than 25% of the equity or voting rights, or who exercises effective control. Trusts must disclose settlors, trustees, and beneficiaries. Foreign-owned companies can request a one-time 30-day extension. Missing the filing triggers suspension of the CNPJ, which freezes bank accounts and blocks invoicing until it is resolved.
Picking Your CNAE Code
When you register, you choose at least one CNAE code (Classificação Nacional de Atividades Econômicas) describing what the business does. This is not paperwork. Your primary CNAE code drives which tax regime you qualify for and, under Simples Nacional, which of its five rate annexes applies. The wrong code can mean paying a higher rate than necessary or losing access to a favorable regime entirely. You can add secondary codes for side activities, but the primary should reflect the main source of revenue.
Choosing a Tax Regime
Once the CNPJ exists, the company elects a tax regime. Three main options are available, and getting this right at the start avoids expensive migration later.
- Simples Nacional. Available to businesses with annual revenue up to R$4.8 million. Bundles several federal, state, and municipal taxes into a single monthly payment calculated as a percentage of revenue. The rate depends on the CNAE code and the applicable annex, with effective rates reaching roughly 19.5%. MEIs are automatically enrolled in a simplified version.
- Lucro Presumido (Presumed Profit). Available up to R$78 million in annual revenue. The government presumes a profit margin based on activity type, then applies standard tax rates to that presumed profit. Simpler than Lucro Real but often more expensive for companies with thin actual margins.
- Lucro Real (Real Profit). Mandatory above R$78 million, and for banks, financial institutions, insurers, and certain other regulated sectors. Taxes are calculated on actual profit, which means heavier bookkeeping but potentially lower taxes for businesses with high costs.
An accountant will typically model all three against projected revenue and expenses. Switching mid-year is generally not permitted, and the wrong choice can mean overpaying by a wide margin.
Keeping the CNPJ Active
Registration is the starting line. Keeping the CNPJ in good standing depends on ongoing filings, and the Receita Federal does not send many warnings before flagging a registration as irregular.
Mandatory Filings
CNPJ holders submit periodic tax declarations. The two most common are the DCTF (Declaração de Débitos e Créditos Tributários Federais), which reports federal tax debts and credits monthly or semi-annually depending on the regime, and the EFD-Contribuições, a digital bookkeeping file covering PIS and COFINS. Companies outside Simples Nacional also file the ECF (Escrituração Contábil Fiscal) annually. Missing these is the fastest route to a suspended or “inapta” CNPJ.
Digital Certificates
Most companies that issue electronic invoices (Nota Fiscal Eletrônica) or submit digital tax bookkeeping need an e-CNPJ digital certificate, a cryptographic key that authenticates the company to government systems. Certificates come in two types: A1, software-based and valid for one year, and A3, a hardware token valid for up to three years. MEIs are generally exempt for basic operations, but any company issuing electronic invoices to other businesses will need one.
When a CNPJ Goes Irregular
If DCTF or ECF filings are missed repeatedly, the Receita Federal can mark the CNPJ status “inapta.” The company loses the ability to issue invoices, bank accounts get frozen, and operations effectively stop. Regularizing means identifying every missing return, calculating back taxes and penalties, filing retroactively, and paying the debts or setting up installment plans. Only once the Receita Federal accepts everything does the status return to “Ativa.” Persistent non-compliance can lead to outright suspension, which carries the same operational freeze.
How to Verify a CNPJ
Anyone can look up a CNPJ for free through the Receita Federal’s consultation portal, “Emissão de Comprovante de Inscrição e de Situação Cadastral.”1Receita Federal do Brasil. Emissão de Comprovante de Inscrição e de Situação Cadastral Enter the 14-digit number and click “Consultar.” The system returns the registration status, legal name, trade name, registered address, primary and secondary CNAE codes, and the partners and administrators (the QSA, or Quadro de Sócios e Administradores).2Gov.br. Consultar CNPJ Running this check before signing a contract with a Brazilian company is standard due diligence: it confirms the entity exists, is currently active, and operates in the industry it claims.