The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Mexico Unique Population Registration Code (CURP)

Prev Next

Clave Única de Registro de Población (CURP) is a unique code which identifies all Mexican citizens and residents.

Validator

Mexican CURP — Validates Mod 11 checksum with state character.

Matched expressions

Regex expressions

Description

Score

\b[A-Z][AEIOU][A-Z]{2}[0-9]{2}(?:0[1-9]|1[0-2])(?:[1-2][0-9]|0[1-9]|3[0-1])[HM][A-Z]{2}[B-DF-HJ-NP-TV-Z]{3}(?:[0-9]|[A-Z])[0-9]\b

Matches an 18-character long case-sensitive string, where:

  • Character 1: A-Z

  • Character 2: AEIOU

  • Character 3–4: A-Z

  • Character 5–6: 01–99

  • Character 7–8: 01–12

  • Character 9–10: 01–31

  • Character 11: H or M

  • Character 12–13: A-Z

  • Character 14–16: A-Z without vowels

  • Character 17: 0–9 or A-Z

  • Character 18: 0–9

1

\b[a-z][aeiou][a-z]{2}[0-9]{2}(?:0[1-9]|1[0-2])(?:[1-2][0-9]|0[1-9]|3[0-1])[hm][a-z]{2}[b-df-hj-np-tv-z]{3}(?:[0-9]|[a-z])[0-9]\b

Matches an 18-character long case-sensitive string, where:

  • Character 1: A-Z

  • Character 2: AEIOU

  • Character 3–4: A-Z

  • Character 5–6: 01–99

  • Character 7–8: 01–12

  • Character 9–10: 01–31

  • Character 11: H or M

  • Character 12–13: A-Z

  • Character 14–16: A-Z without vowels

  • Character 17: 0–9 or A-Z

  • Character 18: 0–9

1



Ignored expressions

None