Tax Identification Number in Mexico: What It Is and Where to Find It
In Mexico, the tax identification number is the RFC (Registro Federal de Contribuyentes): the alphanumeric code assigned by the SAT, with 13 characters for individuals and 12 for legal entities. If a form asks for a NIF, Tax ID, or TIN, enter your RFC with its homoclave, exactly as it appears on your Constancia de Situación Fiscal.

Is the NIF the same as the RFC?
Yes, in Mexico. "Tax identification number" is a generic name; in Spain, for example, NIF is the official name of the tax identifier. In SAT procedures, that identifier is called the RFC (Registro Federal de Contribuyentes), and the SAT defines it as an alphanumeric code that identifies each taxpayer to the tax authority (SAT, RFC registration). The obligation to register for an RFC is in article 27 of the Código Fiscal de la Federación.
So if a form asks for a fiscal identification registration, tax identification number, fiscal identification code, Tax ID, or TIN, the answer in Mexico is the same: your RFC with its homoclave. For a short definition, see what the RFC is in the glossary.
Two clarifications to avoid confusion:
- NIF also means Normas de Información Financiera, the Mexican accounting framework. These have nothing to do with your tax identifier. If that is what you were looking for, see PCGA and NIF.
- The CURP is not your tax identification number. The CURP is your population registration code. For taxes, invoices, and tax forms, you use the RFC.
How the RFC is formed (with an example)
The RFC has 13 characters if you are an individual and 12 if it belongs to a legal entity. In both cases it has three parts: letters, date, and homoclave.
| Part | Individual (13 characters) | Legal entity (12 characters) |
|---|---|---|
| Letters | 4 letters taken from surnames and given name | 3 letters taken from the entity's registered name or business name |
| Date | 6 digits for the date of birth: year, month, and day | 6 digits for the incorporation date: year, month, and day |
| Homoclave | 3 characters assigned by the SAT | 3 characters assigned by the SAT |
| Pattern | AAAA AAMMDD XXX | AAA AAMMDD XXX |
Here is how to read the example generic RFC XAXX010101000, which does not belong to any particular person: XAXX stands for the four letters, 010101 for the date, and 000 for the homoclave. A real RFC follows the same order using your data.
The homoclave is the last three characters. The SAT assigns it to distinguish taxpayers whose first characters match, so do not infer it or copy it from a calculator: take it from a SAT document.
Where to find your tax identification number
On your Constancia de Situación Fiscal
This is the most common place. The certificate contains your name or registered business name, RFC, tax regime, address, and obligations, and you can generate it online on the SAT portal using your Password or e.firma (SAT, Generate your Constancia de Situación Fiscal). If you need the steps, see how to obtain your Constancia de Situación Fiscal.
On your Cédula de Identificación Fiscal (CIF)
The CIF is the document that verifies your RFC. It includes a QR code that, when scanned, shows your CURP, name or registered business name, date operations began, tax status, address, and tax details (regime and obligations). Individuals and legal entities can obtain it online with a valid Password or e.firma. Its legal basis is article 27 of the CFF and rule 2.4.10 of the Resolución Miscelánea Fiscal (SAT, Obtain your Cédula de Identificación Fiscal).
On invoices you receive
Every CFDI issued to you includes your RFC in the recipient details. This is a quick way to look it up, but if the issuer entered it incorrectly, that error is copied. Confirm it against your certificate or card.
On the SAT portal and in SAT Móvil
Your RFC is your username for accessing SAT services, together with your Password. If you do not have one or have forgotten it, see how to create or recover your SAT Password.
Cédula de Identificación Fiscal vs. Constancia de Situación Fiscal
People request them as though they were the same, but they are different documents:
| Cédula de Identificación Fiscal (CIF) | Constancia de Situación Fiscal (CSF) | |
|---|---|---|
| What it verifies | Your RFC | Your status in the RFC on the date you generate it |
| What it contains | Your RFC and a QR code with your CURP, name, date operations began, tax status, address, and tax details | Name or registered business name, RFC, tax regime, address, and obligations |
| How to obtain it | Online, with Password or e.firma | Online, with Password or e.firma |
| Common use | Providing it when someone asks for your RFC | Providing your details to someone who will issue you a CFDI 4.0 invoice |
If a client or supplier needs to invoice you, they will usually ask for the certificate, because CFDI 4.0 requires your name, RFC, tax regime, and postal code to match what is registered with the SAT (CFF, art. 29-A). To check those details quickly, use the Constancia de Situación Fiscal reader.
What to enter when a foreign form asks for "Tax ID"
Payment platforms, marketplaces, advertising services, or clients abroad often ask for a "Tax ID". If you are a taxpayer in Mexico, follow these steps:
- Identify the field. It may say Tax ID, TIN, Taxpayer Identification Number, NIF, VAT number, or Business tax ID. For you, all of these ask for your RFC.
- Select Mexico as your country of tax residence.
- Enter your full RFC, including the homoclave: 13 characters if you register as an individual and 12 if you register a legal entity. Do not include spaces or hyphens unless the form requests another format.
- Copy it from your Constancia de Situación Fiscal so you do not confuse letters with numbers (O with 0, I with 1).
- Use the same name and address shown on your certificate.
- If proof is requested, upload your certificate or Cédula de Identificación Fiscal.
Do not put your CURP or INE number in that field. Do not make up a number in another country's format either: if a form accepts only a NIT, EIN, or Spanish NIF, look for the option for foreign residents or ask the platform how to register a Mexican RFC.
If you are the one invoicing a client abroad who does not have an RFC, check the CFDI documentation published by the SAT for how to enter that recipient's details before issuing the invoice.
Tax identification numbers in other countries
Each country has another name for its tax identifier. This table helps you recognize it when working with clients or suppliers abroad:
| Country | Name | Issuing authority |
|---|---|---|
| Mexico | RFC (Registro Federal de Contribuyentes) | SAT |
| Colombia | NIT (Número de Identificación Tributaria) | DIAN |
| Brazil | CNPJ for companies and CPF for individuals | Receita Federal |
| Spain | NIF (Número de Identificación Fiscal) | Agencia Tributaria |
| United States | EIN for companies; SSN or ITIN for individuals | IRS (EIN and ITIN) and Social Security Administration (SSN) |
| Argentina | CUIT (Clave Única de Identificación Tributaria) | ARCA, formerly AFIP |
| Chile | RUT (Rol Único Tributario) | SII (Servicio de Impuestos Internos) |
How to get your RFC if you do not have one yet
You get an RFC by registering with the SAT (SAT, RFC registration and notices). The procedure differs depending on whether you are an individual or are forming a company:
- Individual: see SAT registration as an individual.
- Legal entity: see the steps to register a company with the SAT.
How to validate an RFC (yours or a supplier's)
Before entering an RFC on a form or in your supplier list, check that its structure is correct. The RFC validator checks the length, letter block, date, and homoclave of an individual's or a legal entity's RFC. It does not query the SAT registry: to confirm a supplier's details, ask for their Constancia de Situación Fiscal.
RFC errors often surface at month-end, when an invoice does not match an expense. With Clara, on the Pro and Enterprise plans, the CFDI for each card purchase is linked to its transaction, so finance can review the issuer's RFC alongside the expense before closing the month. Learn about Clara expense management.
Sources
- SAT, RFC registration and notices: definition of the RFC as an alphanumeric code identifying each taxpayer.
- SAT, Obtain your Cédula de Identificación Fiscal (procedure 28889). Consulted on November 23, 2026: what it verifies, QR code data, access with Password or e.firma, and the legal basis in article 27 of the CFF and rule 2.4.10 of the RMF.
- SAT, Generate your Constancia de Situación Fiscal: online generation using Password or e.firma.
- Cámara de Diputados, Código Fiscal de la Federación, articles 27 and 29-A.
Disclaimer: This content is informational and does not constitute tax or legal advice. The information was verified against the cited official sources as of November 23, 2026; the SAT may change its procedures and formats. Consult your accountant about your particular case.