Skip to main content

How to verify CNPJ in Brazil?

This post is also available in:Español中文DeutschPortuguêsFrançais

How to verify a CNPJ on the Receita Federal portal​

The official CNPJ check is the Receita Federal's Emissão de Comprovante de Inscrição e de Situação Cadastral. The comprovante it issues is the legal proof that an entity is registered in the CNPJ and of its registration status. Instrução Normativa RFB nº 2.119/2022 (art. 10) says it can be reached from the Receita Federal site or the REDESIM portal. [1]

The gov.br service page Consultar CNPJ lists this lookup as one of four official web channels, alongside REDESIM's own Consultar CNPJ, the CNPJ lookup for election candidates and Consultar optantes do Simples Nacional. As at 5 November 2026 it states that anyone may use the service, that it is free and that the answer is immediate. [2]

Source snapshot — gov.br Consultar CNPJ service: open to anyone (Qualquer pessoa); the official lookup channels include Emitir comprovante de inscrição e de situação cadastral Source snapshot captured 2026-11-05 — original

The lookup needs no login, but every query must pass an hCaptcha check ("Sou humano"). If the captcha or the session fails, the portal asks you to run a new query. That says nothing about whether the CNPJ is valid. [3]

Source snapshot — the Receita Federal CNPJ lookup portal: Emissão de Comprovante de Inscrição e de Situação Cadastral, with the CNPJ field, the hCaptcha box and the Consultar button Source snapshot captured 2026-11-05 — original

To verify a CNPJ:

  1. Open the lookup: go to the Emissão de Comprovante de Inscrição e de Situação Cadastral page.
  2. Enter the CNPJ: type the 14-character number, with or without dots, slash and hyphen (example: 06.947.284/0001-04). Letters are accepted in the first 12 positions.
  3. Complete the hCaptcha check: tick "Sou humano" and complete any challenge it shows.
  4. Click "Consultar": the comprovante opens. On a head-office (matriz) comprovante, use Consultar QSA to see the partners and administrators (Quadro de Sócios e Administradores). Use Imprimir to keep a copy for your onboarding file.
CNPJ lookup form on the Receita Federal Comprovante de Inscrição e de Situação Cadastral page
The CNPJ lookup form, with the hCaptcha box and the Consultar button

What a successful result shows​

The comprovante carries these fields (labels as served by the portal on 5 November 2026): [3]

  • Registration number (Número de inscrição), marked MATRIZ (head office) or FILIAL (branch)
  • Date of registration in the CNPJ (Data de inscrição no CNPJ)
  • Business name (Nome empresarial)
  • Date of incorporation (Data de constituição)
  • Establishment title or trade name (Título do estabelecimento / nome de fantasia)
  • Size (Porte). The portal notes that this is the size declared by the taxpayer
  • Code and description of the main economic activity and of the secondary activities
  • Code and description of the legal nature (Natureza jurídica)
  • Address: street, number, complement, CEP (postcode), district, municipality and UF (state)
  • Email address and telephone
  • Responsible federative entity (Ente federativo responsável, EFR)
  • Registration status (Situação cadastral), its date and the reason for it
  • Special situation (Situação especial) and its date
  • A QR code, a barcode and the date and time the comprovante was issued (Brasília time)

When the status is baixada (closed), the portal also offers to issue the Certidão de Baixa. The partners and administrators are on the separate Consultar QSA screen (offered on a head-office comprovante), not on the comprovante itself.

When a lookup fails or finds nothing​

Before it searches, the portal checks the number itself. It strips dots, slash and hyphen, upper-cases any letters and then requires:

  • exactly 14 characters ("CNPJ deve ter 14 caracteres");
  • numeric check digits in the last two positions;
  • only the characters 0–9 and A–Z ("Caractere inválido");
  • not all the same digit;
  • check digits that match the calculation ("Dígitos verificadores inválidos").

A check-digit error means a typing mistake, not an unregistered company. Common false negatives are:

  • Captcha or session failures: the portal says "Sessão expirada" and asks for a new query. Run the query again.
  • Validators that reject letters: alphanumeric CNPJs have been issued since 31 July 2026 (see below), so a check that accepts only 14 digits rejects valid new numbers.
  • Suppliers with no CNPJ at all: some small individual suppliers are exempt from CNPJ registration (see the nanoempreendedor FAQ below). Identify them by CPF, using the CPF verification guide.

A number that passes these checks but is not active is not a false negative: read its status below.

CNPJ registration statuses (situação cadastral)​

IN RFB 2.119/2022 (art. 9) sets five registration statuses, which apply to the entity or to each branch establishment. The same article says these statuses are not the same thing as being active or inactive for tax purposes. [1]

Source snapshot — IN RFB 2.119/2022 art. 9: the five CNPJ registration statuses, ativa, suspensa, inapta, baixada and nula Source snapshot captured 2026-11-05 — original

StatusWhat it means (IN RFB 2.119/2022)
AtivaActive. The only clean result.
SuspensaSuspended (art. 37). Grounds include a temporary interruption of activities, cadastral inconsistencies (the list in Annex VI, replaced by IN RFB 2.333/2026), the entity cannot be located, an inaptidão procedure in progress, and a court order.
InaptaUnfit (art. 38). The main ground is failing to file required declarations for at least 90 days after the due date. Others include not existing in fact, fraud, contraband and remaining suspensa for at least one year.
BaixadaThe registration has been closed.
NulaThe registration has been declared null.

IN RFB 2.333 of 30 June 2026, published in the Diário Oficial da União on 10 July 2026, replaced Annexes VI and VIII of IN 2.119. [4]

Why the status matters for invoices​

  • IBS regulation. Resolução CGIBS nº 6 of 30 April 2026, art. 121, says the statuses inapta, suspensa, nula and baixada prevent the issue of a fiscal document. Art. 122 says a document is not idôneo if it is issued by a party with one of those statuses, or if it names such a party as buyer or recipient. The regulation applies from its publication on 30 April 2026, but its CNPJ-registration chapter (which art. 122 relies on) and the duty to issue IBS fiscal documents took effect on 1 August 2026 (art. 617, as amended by Resolução CGIBS nº 13/2026). Both rules apply today. [5] [6]
  • Federal taxes. An entity declared inapta may not issue electronic fiscal documents (IN 2.119, art. 49). A document issued by an entity declared inapta or baixada is inidôneo for the buyer (art. 51). Its values cannot be deducted for IRPJ/CSLL or IRPF, and cannot be used as non-cumulative IPI, PIS/Pasep or Cofins credits. Where the entity was declared inapta for missing returns, this applies to documents issued from the date the declaratory act (ADE) is published. It does not apply where the buyer proves it paid the price and received the goods or services (art. 51 §5). This federal rule does not address ICMS, which is a state tax. [7]

Source snapshot — Resolução CGIBS nº 6/2026 arts. 121–122: inapta, suspensa, nula and baixada CNPJ statuses prevent issuing a fiscal document Source snapshot captured 2026-11-05 — original

Source snapshot — IN RFB 2.119 art. 51 as published by the Receita Federal: no IPI, PIS/Pasep or Cofins credits on documents from an inapta or baixada CNPJ, from the ADE publication date, unless the buyer proves payment and receipt Source snapshot captured 2026-11-05 — original

Getting back to ativa. An entity declared inapta for missing returns regularises by filing all the omitted declarations and bookkeeping. It can identify them with the Consulta Pendências – Situação Fiscal service on the e-CAC portal. The Receita Federal processes regularisations daily, based on the omissions in the tax-situation report as at 17:00, and says the result can be checked on the comprovante. [7]

Source snapshot — Receita Federal: from 2022 a CNPJ may be declared inapta after 90 days without filing a required declaration; regularisation means filing every omitted declaration Source snapshot captured 2026-11-05 — original

CNPJ number format​

A CNPJ has 14 positions, written XX.XXX.XXX/XXXX-DV. The first 8 are the root (the legal entity), the next 4 are the order number (the establishment) and the last 2 are numeric check digits. Since Instrução Normativa RFB nº 2.229 of 15 October 2024 (published in the DOU on 16 October 2024), the first 12 positions may hold digits 0–9 and upper-case letters A–Z. [8] [9] The full format table is in the Brazil Tax ID Guide.

Source snapshot — Receita Federal FAQ on the alphanumeric CNPJ: 14 positions in the format AA.AAA.AAA/AAAA-DV, where A is a digit 0–9 or a letter A–Z and DV is a module-11 check digit Source snapshot captured 2026-11-05 — original

  • Alphanumeric numbers are live. The Receita Federal generated the first alphanumeric CNPJ on 31 July 2026: a Banco do Brasil branch, 00.000.000/E08G-12. New CNPJs may still be issued with digits only. Existing numbers stay valid and are not changed. [10] New branches of existing companies can also receive an alphanumeric order number. [9]
  • Check digits. The module-11 formula is kept, but the routine changes: each character is converted to its ASCII code minus 48, so digits keep their face value and A=17, B=18, C=19 and so on. The first check digit uses weights 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2 over the first 12 characters. The second uses 6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2 over those 12 plus the first check digit. A remainder of 0 or 1 gives 0; otherwise the digit is 11 minus the remainder. The Receita Federal's worked example is 12.ABC.345/01DE-35. [9] [11]
  • /0001 is not a permanent head-office marker. The order number 0001 marks the head office only when the CNPJ is generated; a branch can later become the head office while keeping a different order number. Check the MATRIZ/FILIAL indicator on the comprovante. [9]

Source snapshot — Receita Federal news of 31 July 2026: first alphanumeric CNPJ generated (00.000.000/E08G-12); new CNPJs may still be issued with digits only Source snapshot captured 2026-11-05 — original

Source snapshot — Receita Federal FAQ on the alphanumeric CNPJ: the 0001 order number marks the head office only at generation Source snapshot captured 2026-11-05 — original

Other official CNPJ sources​

  • Simples Nacional status. The comprovante has no tax-regime field. Whether a company has opted into Simples Nacional or SIMEI is shown by the separate Consulta Optantes service, which also uses hCaptcha. [2]
  • Bulk and offline checks. The Receita Federal publishes the CNPJ base as zipped open-data files on its file repository: companies, establishments, partners and Simples Nacional options, plus code tables. On 5 November 2026 the files were in monthly folders, the latest being October 2026. The layout document defines the fields and the status codes (01 nula, 2 ativa, 3 suspensa, 4 inapta, 08 baixada).

Check a CNPJ

Enter a CNPJ to see whether it’s registered and who it belongs to.

Validate more tax IDs with a free account →

Frequently Asked Questions​

Which CNPJ registration statuses block invoicing?​

Instrução Normativa RFB nº 2.119/2022 (art. 9) defines five registration statuses (situações cadastrais): ativa, suspensa, inapta, baixada and nula. The status belongs to the entity or to each branch establishment. Under the IBS regulation, Resolução CGIBS nº 6/2026, art. 121, the statuses inapta, suspensa, nula and baixada prevent the issue of a fiscal document, and art. 122 says a document is not idôneo (not valid for tax purposes) if it is issued by a party with one of those statuses or names such a party as buyer or recipient. The regulation applies from its publication on 30 April 2026, but its CNPJ-registration chapter (which art. 122 relies on) and the duty to issue IBS fiscal documents took effect on 1 August 2026 (art. 617, as amended by Resolução CGIBS nº 13/2026). Both rules apply today. For federal taxes, IN RFB 2.119 already bars an entity declared inapta from issuing electronic fiscal documents (art. 49). Only ativa is a clean result: confirm it on the Comprovante de Inscrição e de Situação Cadastral before onboarding a supplier or paying an invoice. [1] [2] [3]

My supplier's CNPJ shows INAPTA. What happens to my tax credits?​

A CNPJ can be declared inapta when the entity fails to file required declarations for at least 90 days after the due date (IN RFB 2.119/2022, art. 38 I); other grounds include not existing in fact, fraud, and remaining suspensa for at least one year. A document issued by an entity declared inapta or baixada is inidôneo for the buyer (art. 51): its values cannot be deducted for IRPJ/CSLL or IRPF, or used as non-cumulative IPI, PIS/Pasep or Cofins credits. Where the entity was declared inapta for missing returns, this applies to documents issued from the date the declaratory act (ADE) is published, and it does not apply where the buyer proves it paid the price and received the goods or services (art. 51 §5). The rule covers federal taxes; it does not address ICMS, which is a state tax. The supplier regularises by filing all the omitted declarations. The Receita Federal processes regularisations daily, based on the omissions in the tax-situation report as at 17:00, and the result can be checked on the Comprovante. [1] [2]

Should an MEI put their CPF or CNPJ on an invoice to a business client?​

The CNPJ. An MEI (Microempreendedor Individual) has a CNPJ, so verify that CNPJ on the Comprovante as you would any other supplier's. For services, MEIs issue the electronic service invoice (NFS-e) in the national NFS-e environment, where the MEI is identified by its CNPJ and the owner can log in with their gov.br (CPF) account. All MEIs could use the national public issuers optionally from January 2023, and since 1 September 2023 their NFS-e must be issued exclusively there (the web Emissor Nacional at nfse.gov.br, the NFS-e Mobile app or the API), under Resolução CGSN nº 169/2022. [1]

Should I look up the matriz (/0001) or the filial (/0002)?​

Verify the exact CNPJ printed on the invoice. The first eight characters (the root) identify the legal entity and the next four (the order number) identify the establishment. IN RFB 2.119/2022 gives the registration status to the entity or to each branch establishment (art. 9), so a branch and the head office can show different statuses. The order number 0001 marks the head office (matriz) only at the time the CNPJ is generated: the Receita Federal says a branch can later become the head office while keeping a different order number. Read the MATRIZ or FILIAL indicator on the Comprovante rather than relying on the suffix. [1] [2]

The CNPJ lookup fails or keeps asking for the CAPTCHA. What else can I use?​

The Comprovante lookup needs no login, but every query must pass an hCaptcha check, and the portal asks you to start a new query when the session expires. A failed query is therefore not evidence that the CNPJ is invalid. Before searching, the portal also checks the number itself: it must have 14 characters, numeric check digits and only the characters 0-9 and A-Z, and a wrong check digit ('Dígitos verificadores inválidos') means a typing error, not an unregistered company. For high-volume or offline checks, the Receita Federal publishes the CNPJ base as downloadable open-data files (companies, establishments, partners and Simples Nacional options) on its file repository at arquivos.receitafederal.gov.br, in monthly folders; on 5 November 2026 the latest folder was October 2026. [1] [2]

Does the CNPJ lookup show whether a company is in Simples Nacional?​

No. The Comprovante has no field for the tax regime: its fields cover the registration, activity codes, legal nature, address, contact details and status (as at 5 November 2026). Whether a company has opted into Simples Nacional or SIMEI is checked on the separate Consulta Optantes service, which the gov.br CNPJ service lists as its own channel and which also uses hCaptcha. Query both when a supplier's tax regime matters to you. [1] [2]

Do new CNPJs contain letters, and will that break my validation code?​

Yes. Instrução Normativa RFB nº 2.229 of 15 October 2024 (published in the Diário Oficial da União on 16 October 2024) made the CNPJ alphanumeric, and the Receita Federal generated the first alphanumeric CNPJ on 31 July 2026: a Banco do Brasil branch registered as 00.000.000/E08G-12. The number keeps 14 positions. The first 12 (root and order number) may contain digits 0-9 and upper-case letters A-Z, and the two check digits stay numeric. The module-11 formula is kept, but each character is first converted to its ASCII code minus 48, so digits keep their value and A=17, B=18, C=19 and so on. New CNPJs may still be all-numeric, existing numbers are not changed, and new branches of existing companies can receive an alphanumeric order number. A validator that accepts only 14 digits will reject valid new numbers. [1] [2] [3]

A small Brazilian supplier says they have no CNPJ, only a CPF. Is that a red flag?​

Not necessarily. A nanoempreendedor is an individual whose gross revenue is below 50% of the MEI ceiling and who is not an MEI (Lei Complementar 214/2025, art. 26 IV, repeated in art. 25 IV of the IBS regulation, Resolução CGIBS nº 6/2026). Ato Conjunto RFB/CGIBS nº 6 of 28 August 2026 waived the nanoempreendedor's CNPJ registration and electronic fiscal document issuance, with effects until 31 December 2028. Decreto nº 13.140 of 21 October 2026 then waived both for the CBS, with no end date; for the IBS, the decree's waivers take effect from 1 January 2029 and after a favourable decision by the CGIBS. Neither waiver applies to a nanoempreendedor who opts into the regular IBS/CBS regime. For such a supplier, finding no CNPJ is expected: identify and verify them by CPF instead. [1] [2] [3]

Recent changes​

  • 2026-10-21 — Decreto nº 13.140/2026 waived, for the CBS and with no end date, the nanoempreendedor's CNPJ registration and electronic fiscal document issuance; for the IBS, the waivers take effect from 1 January 2029, after a favourable CGIBS decision. A small individual supplier may legitimately have no CNPJ. (Senado Federal)
  • 2026-08-28 — Ato Conjunto RFB/CGIBS nº 6 waived the nanoempreendedor's CNPJ registration and CBS/IBS electronic fiscal document issuance until 31 December 2028 (not where the nanoempreendedor opts into the regular IBS/CBS regime). (Comitê Gestor do IBS) — see event
  • 2026-07-31 — The Receita Federal generated the first alphanumeric CNPJ (00.000.000/E08G-12); all-numeric CNPJs can still be issued. (Receita Federal)
  • 2026-07-10 — IN RFB 2.333/2026 replaced Annexes VI and VIII of IN RFB 2.119/2022, including the list of cadastral inconsistencies that can lead to a suspensa status. (Imprensa Nacional)

How Lookuptax can help you in tax ID validation?

Lookuptax VAT validation revolutionizes VAT number validation with its robust platform, empowering businesses to seamlessly verify VAT numbers across over 100 countries. Our cutting-edge technology ensures accurate and efficient validation, reducing errors and enhancing compliance.