Loading…

Validators14.04

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.

Back to Validators

13 characters (individual) or 12 (company), with or without dashes.

This runs entirely in your browser. We don’t store any data.

RFC

The structure, the date and the check digit are correct.

GODE561231GR8

Individual (persona física)

Date (DD/MM/YY)
31/12/56
Homoclave
GR8
Check digit
8

This checks that the RFC is well formed, not that it is registered; only the SAT can confirm that.

How to use it

  1. 01

    Enter the full RFC including the homoclave. Dashes and spaces are fine.

  2. 02

    The tool detects whether it belongs to an individual (13 characters) or a company (12).

  3. 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.