Mexico RFC Validator
Check whether a Mexican RFC tax ID for an individual or a company has the right structure, a real date and the correct SAT check digit.
How to use it
- 01
Enter the full RFC including the homoclave. Dashes and spaces are fine.
- 02
The tool detects whether it belongs to an individual (13 characters) or a company (12).
- 03
You see whether the date exists and whether the final check digit is right.
How it works
An individual’s RFC has 4 letters taken from the surnames and first name, the date of birth as YYMMDD and a 3-character homoclave. A company’s RFC has 3 letters from its name, its incorporation date and the homoclave.
The last character is a check digit. Each character is worth its position in the table 0-9, A-N, &, O-Z, space, Ñ; it is multiplied by a weight from 13 down to 2, the products are added, and the digit is 11 minus the remainder of dividing by 11 (10 is written as A). Company RFCs get a leading space so that both have 12 positions.
The first two homoclave characters are assigned by the SAT with tables that are not public, so no tool can generate a real RFC from a name. What it can do is catch typos: a changed letter, an impossible date or a final digit that does not add up.
Examples
- Individual
GODE561231GR8: 4 letters, born 31/12/56, homoclave GR8. The calculated check digit is 8, so it is correct.
- Company
MAB9307148T4: 3 letters, incorporated 14/07/93, check digit 4.
- Invoicing Mexican clients
Mexican e-invoices (CFDI) are rejected if the client’s RFC is wrong; checking it first saves a round trip.
Frequently asked questions
Can I generate an RFC from a name and date of birth?
The first 10 positions can be derived, but the homoclave is assigned by the SAT. The official RFC appears on the tax status certificate (Constancia de Situación Fiscal).
Does this tool check that the RFC exists?
No. It only checks that it is well formed; registration can only be confirmed with the SAT.
Related tools
- 14.03
Argentina CUIT and CUIL Validator
Validators - 14.02
Chile RUT Validator and Check Digit Calculator
Validators - 02.01
VAT & Sales Tax Calculator
Finance - 14.01
Spain DNI and NIE Letter Calculator
Validators - 14.05
Brazil CPF and CNPJ Validator
Validators - 14.06
IBAN Validator
Validators - 01.01
Age Calculator
Calculators - 01.02
Percentage Calculator
Calculators