CURP Validator and Generator

Generate or validate a CURP (Clave Única de Registro de Población) - Mexico's unique population registry code.

About CURP

What is CURP?

CURP (Clave Única de Registro de Población) is a unique 18-digit alphanumeric identifier assigned by the Mexican federal government agency, Registro Nacional de Población (RENAPO), to both citizens and residents of Mexico.

It serves as a national ID code used for various official purposes including taxation, healthcare, education, and legal proceedings.

How is a CURP structured?

The CURP consists of 18 characters structured as follows:

  • First letter and first vowel of the paternal surname
  • First letter of the maternal surname
  • First letter of the first name
  • Date of birth (YY/MM/DD)
  • Sex (H for male, M for female, X for non-binary)
  • Two-letter code for state of birth
  • First internal consonants of paternal surname, maternal surname, and first name
  • A homoclave: 0-9 for people born before 2000, A-Z for people born since 2000
  • A check digit (0-9) for validation
CURP for Foreign Residents

Foreign workers who are not issued a CURP use special standardized CURPs:

  • For males: XEXX010101HNEXXXA4
  • For females: XEXX010101MNEXXXA8

This means that CURP numbers may be duplicated among foreign employees.

CURP Validation

CURP validation involves checking:

  1. Format (18 alphanumeric characters)
  2. Structure rules (name letters, date of birth, gender, state code, etc.)
  3. Exception rules (names and words to ignore, inappropriate words, etc.)
  4. Check digit verification

This tool provides basic format validation. For official purposes, please verify your CURP with Mexican government authorities.

What is a Homoclave?

The Homoclave is the 17th character of the CURP and serves as a unique identifier to prevent duplicates among individuals with similar names, places, and dates of birth.

  • For people born before 2000: Uses digits 0-9
  • For people born since 2000: Uses letters A-Z

This character is officially assigned by RENAPO (Registro Nacional de Población) to ensure each CURP is unique, even when multiple people have identical names and birth information.