Validate CURP (Mexico): CURP checker with check digit

Check a CURP from Mexico: 18-character structure, birth date, sex, state code and check digit, with the exact reason when a key is invalid.

How to validate a CURP in Mexico: structure and check digit

A CURP (Clave Única de Registro de Población), Mexico's population ID, has 18 characters: four letters taken from the names, the birth date YYMMDD, sex, the state-of-birth code, three inner consonants, a century character and a check digit. The check digit equals (10 − weighted sum mod 10) mod 10, using weights 18 down to 2 on the first 17 characters.

What the tool checks

  • Length of 18 characters, letters and digits only (spaces and hyphens are ignored).
  • Positions 1-4: four letters, the second being a vowel or an X (RENAPO uses X when the first surname has no inner vowel or to mask an offensive word).
  • A real birth date: the century comes from position 17 (digit up to 1999, letter from 2000), so 29 February 1900 is rejected.
  • Sex H or M; X, reported in the press for non-binary people, is accepted but is not in the 2018 instructivo.
  • State code among the 32 RENAPO codes, or NE for a birth abroad.
  • Three inner consonants, then the check digit.

Worked example

For the fictitious CURP LORX350217HNEPDV0, the dictionary values (0-9, A-N, Ñ, O-Z) are L = 21, O = 25, R = 28, X = 34, then the digits, H = 17, N = 23, E = 14, P = 26, D = 13, V = 32. Multiplied by weights 18 to 2 they add up to 2,622. 2,622 mod 10 = 2, so the check digit is 10 − 2 = 8: LORX350217HNEPDV08 is valid, LORX350217HNEPDV09 is not. It decodes as a man born on 17 February 1935 abroad (NE).

Limits

The tool checks the form of the key offline. A valid CURP is not necessarily assigned; only the RENAPO lookup on gob.mx/curp confirms it. The list of offensive words (rule 1.8) is not published in the texts consulted, so it is not checked.

Sources and dates: Instructivo Normativo for assigning the CURP (DOF, 18/06/2018) for positions 11 and 17; RENAPO rules for CURP assignment procedures (22/10/2021) for rules 1.8 to 1.18 (substitute X). The official text does not spell out the check-digit algorithm; the tool's algorithm was tested on real CURPs (checked on 15/10/2026).

Frequently Asked Questions

How can I tell if a CURP is valid?

A valid CURP has 18 characters, a real birth date, sex H or M, a RENAPO state code and a matching check digit. The last digit is recomputed from the first 17 characters; if it differs, the key was mistyped. Only the official lookup on gob.mx/curp confirms that it is assigned to a person.

What does the second-to-last character of a CURP mean?

Position 17 shows the century of birth and separates namesakes. It is a digit (0 to 9) for people born up to 31 December 1999 and a letter for births from 1 January 2000.

Why does my CURP contain an X?

RENAPO uses X to replace an Ñ, a special character (apostrophe, hyphen), a missing inner vowel or consonant, or the second letter when the first four would spell an offensive word. An X in position 2 or in positions 14 to 16 is therefore normal.

What does NE mean in a CURP?

NE in positions 12 and 13 means the person was born abroad. The other 32 codes are the Mexican states, for example DF for Mexico City, JC for Jalisco or NL for Nuevo León.

Is this tool really free?

Yes, all tools on Kristools are 100% free and accessible without registration.

Is my data protected?

Yes. All processing is performed directly and securely inside your browser. No personal data is sent to our servers.