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 Business Tax Identification Number (RFC)

Prev Next

Mexico Registro Federal de Contibuyentes (RFC) for business is a 12–character long unique registration number issued by Mexico's tax collection agency Servicio de Administracion Tributaria.

Validator

Mexican Business RFC — Validates Mod 11 checksum.

Matched expressions

Regex expressions

Description

Score

\b[A-Z&Ñ]{3}[0-9]{2}(?:0[1-9]|1[0-2])(?:[1-2][0-9]|0[1-9]|3[0-1])[A-Z0-9]{2}[0-9A]\b

Matches a 12-character long case insensitive string, where:

  • Character 1–3: A-Z or & or Ñ

  • Character 4–5: 0–9

  • Character 6–7: 01–12

  • Character 8–9: 01–31

  • Character 10–11: A-Z

  • Character 12: 0–9 or A

1

\b[a-z&ñ]{3}[0-9]{2}(?:0[1-9]|1[0-2])(?:[1-2][0-9]|0[1-9]|3[0-1])[a-z0-9]{2}[0-9a]\b

Matches a 12-character long case insensitive string, where:

  • Character 1–3: a-z or & or Ñ

  • Character 4–5: 0–9

  • Character 6–7: 01–12

  • Character 8–9: 01–31

  • Character 10–11: a–z

  • Character 12: 0–9 or a

1



Ignored expressions

None