The CNPJ in Brazil (Cadastro Nacional da Pessoa Jurídica) is a 14-digit federal tax identification number that every company, nonprofit, and foreign entity operating in the country must obtain from the Receita Federal before it can open a corporate 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 through the REDESIM portal after an initial filing with the state Board of Trade.
Who Needs One
Almost anyone running organized economic activity in Brazil needs a CNPJ. That covers limited liability companies (Ltda.), corporations (S.A.), sole proprietorships, and individual microentrepreneurs (MEI), along with nonprofits, foundations, religious organizations, and associations.
Foreign companies are pulled in by a wider net than people expect. If your foreign entity invests in Brazil, holds Brazilian real estate, maintains a Brazilian bank account, or owns vehicles in the country, you need a CNPJ. A foreign company buying a single piece of Brazilian property has to register before the acquisition closes.
Operating without one is not a workable option. You can’t issue invoices or sign formal contracts, banks won’t deal with you, and non-compliance can bring fines and personal liability for partners. The registration itself is free or costs only minor administrative fees at the federal level; the real out-of-pocket costs are state Junta Comercial fees and any legal or accounting help you bring in.
How to Register a CNPJ
For most company types, registration runs through two stages: a filing with the state Board of Trade, followed by the federal CNPJ application.
- File your articles of incorporation (contrato social) with the Junta Comercial in the state where the company will be headquartered. Once approved, the Board issues a Company Registration Identification Number (NIRE). Fees vary by state but typically run a few hundred reais.
- With the NIRE, apply through the Receita Federal’s online system. The REDESIM portal consolidates city halls, state finance departments, the Boards of Trade, and the Receita Federal into one interface. You submit the Basic Entry Document (Documento Básico de Entrada, or DBE), identification for all partners and administrators, and proof of the company’s address.
- If the Receita Federal clears the application, your CNPJ is issued and you can download the registration certificate (Comprovante de Inscrição) from the portal. A clean file can be processed within 24 hours.
The MEI Shortcut
Individual microentrepreneurs skip the Junta Comercial entirely. If your 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’s free, fully online, and takes minutes. You sign in with your gov.br account, enter your personal details, pick your CNAE activity codes (one primary, up to fifteen secondary), and confirm. The CNPJ is generated on the spot. This is the fastest route to a CNPJ and the one most solo operators in Brazil use to formalize.
Extra Steps for Foreign Companies
If the entity being registered is foreign, there’s a longer checklist to clear before the CNPJ application itself.
You must appoint a legal representative in Brazil who is either a Brazilian citizen or a foreign national with a permanent visa. This person acts for the company before the Receita Federal, the Central Bank, and other authorities, and must hold a valid CPF (the individual taxpayer number).
Expect to prepare a notarized power of attorney granting the representative authority to act for the foreign entity, the company’s articles of incorporation or equivalent, and a corporate resolution appointing the representative. All foreign documents have to be apostilled (or consularized) and translated into Portuguese by a sworn translator (tradutor juramentado). The power of attorney also has to be filed with a local Registry of Documents (Registro de Títulos e Documentos) before the CNPJ application can move forward.
Beneficial Owner Filing Within 30 Days
Under Instrução Normativa RFB 2,119/2022, every entity that receives a CNPJ has 30 days to declare the existence or absence of an ultimate beneficial owner. A beneficial owner is any individual who ultimately holds more than 25% of equity or voting rights, or who exercises effective control. Trusts have to disclose settlors, trustees, and beneficiaries. Foreign-owned companies can request a one-time 30-day extension. Missing the deadline triggers suspension of the CNPJ, which freezes bank accounts and blocks invoicing until the filing is resolved.
Picking Your CNAE Code
During registration you select at least one CNAE code (Classificação Nacional de Atividades Econômicas) describing what the business does. This is not a formality. Your primary CNAE directly affects which tax regime you qualify for and, under Simples Nacional, which of its five rate annexes applies. The wrong code can push you into a higher rate or lock you out of a favorable regime. Secondary codes can cover ancillary activities, but the primary code should match the business’s main revenue-generating activity.
Choosing a Tax Regime
Once the CNPJ is issued, you elect a tax regime. Brazil offers three main options, and the choice sets your costs for the year.
- Simples Nacional is available to businesses with annual revenue up to R$4.8 million. It combines several federal, state, and municipal taxes into a single monthly payment calculated as a percentage of revenue. The rate depends on your CNAE and which of the five annexes applies, with effective rates reaching up to roughly 19.5%. Companies earning over R$3.6 million annually lose the benefit of ICMS and ISS collection within the unified payment. MEIs are automatically enrolled in a simplified version.
- Lucro Presumido (Presumed Profit) is available to companies with annual revenue up to R$78 million. Taxes are calculated individually. The government presumes a profit margin based on your activity, then applies standard rates to that presumed profit. Simpler than Lucro Real, but often more expensive for businesses with thin actual margins.
- Lucro Real (Real Profit) is mandatory above R$78 million in annual revenue, 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 when costs are high relative to revenue.
Most accountants will model all three against projected revenue and expenses before you commit. Switching regimes mid-year is generally not permitted, so the opening choice matters.
Keeping the CNPJ Active
Getting the number is the starting line. Holders have to submit periodic tax declarations to the Receita Federal, and the agency does not send many reminders before marking a registration as irregular.
The two most common filings are the DCTF (Declaração de Débitos e Créditos Tributários Federais), which reports federal tax debts and credits on a monthly or semi-annual basis depending on the regime, and the EFD-Contribuições, a digital bookkeeping file for PIS and COFINS. Companies outside Simples Nacional also file the ECF (Escrituração Contábil Fiscal) annually.
Missing these filings is the fastest route to an “inapta” (unfit) status. When that happens, the company loses the ability to issue invoices, bank accounts get frozen, and operations effectively stop until missing returns are filed, back taxes and penalties are paid or placed on installment plans, and the Receita Federal restores the status to “Ativa.” Staying current is far cheaper than cleaning up afterward.
Most companies that issue electronic invoices (Nota Fiscal Eletrônica) or submit digital tax bookkeeping also need an e-CNPJ digital certificate, which authenticates the company’s identity in government systems. MEIs are generally exempt for basic operations, but any company invoicing other businesses electronically will need one.
How to Verify a CNPJ
Anyone can look up a CNPJ for free through the Receita Federal’s consultation portal, officially called “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 registration status, legal name (Razão Social), trade name (Nome Fantasia), 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 with a Brazilian counterparty is standard due diligence: it confirms the entity exists, is active, and is registered for the activity it claims.
The Alphanumeric CNPJ Coming in 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 digits only. The number remains 14 characters long, and the last two check digits stay numeric. Existing CNPJs will not change. If you run software that validates CNPJs or processes electronic invoices, those systems will need to accept letters before the switch.