How to verify a Mexican contractor's RFC with the SAT, step by step

Mexico's tax authority, the SAT, runs a free public validator: enter a contractor's RFC and it tells you whether the RFC is in the taxpayer registry and can receive invoices; tick one box and it also checks the name and postal code on file. It needs no password or e.firma, and a text file can check up to 5,000 RFCs at once. Run it before the first payment, together with the W-8BEN.

01/

At a glance

Who runs it
The SAT (Servicio de Administración Tributaria), on its public portal[1]
Login
None: no password, e.firma or appointment needed[2]
What it checks
Whether the RFC is valid in the taxpayer registry and, optionally, the name and postal code tied to it[1][2]
Bulk checks
Up to 5,000 RFCs per text file[1]
Legal basis
Federal Tax Code article 27 and Miscellaneous Tax Resolution rule 2.4.2[1]
RFC length
13 characters for individuals, 12 for companies[3]
02/ Step 1 of 5

Open the SAT's RFC validator

Go to sat.gob.mx, open Trámites del RFC and choose Valida en línea RFC´s uno a uno o de manera masiva hasta 5 mil registros.[2] The procedure page says the validator is for any individual or company that needs to confirm an RFC, runs online without authentication and returns whether the RFC is valid or invalid in the taxpayer registry.[1] Click Ejecutar en línea to open it.

SAT procedure page Valida en línea RFC´s uno a uno o de manera masiva hasta 5 mil registros, showing the objective, that no authentication is required, the steps, the legal basis and the Ejecutar en línea button

SAT procedure page, captured by Nearshorers on November 2, 2026. Source: sat.gob.mx.

  1. No requiere autenticación: no password or e.firma needed.
  2. Pasos para su uso: type the image code, choose the type of query, run it.
  3. Fundamento legal: Federal Tax Code article 27 and rule 2.4.2.
  4. The SAT's own PDF guide to the validator.
  5. Ejecutar en línea opens the validator.
03/ Step 2 of 5

Type the image code and enter the RFC

Type the characters in the image exactly, with upper- and lowercase letters; if you get them wrong, the page asks you to try again.[2] Then enter the RFC in RFC del contribuyente, with no spaces, and click Consultar RFC.[2] An individual’s RFC has 13 characters and a company’s 12, so a count is a quick first check.[3]

SAT Validador de RFC screen with the RFC del contribuyente field, the checkbox to also validate name and postal code, and the Consultar RFC and Validación masiva de RFC buttons

Validador de RFC. Screen from the SAT's Guía para validación del RFC en línea (January 2023); the example RFC was blurred by the SAT.

  1. RFC del contribuyente: the contractor's RFC, without spaces.
  2. Tick to also check the name and postal code (next step).
  3. Consultar RFC runs the check.
  4. Validación masiva: up to 5,000 RFCs from a file.
04/ Step 3 of 5

Check that the RFC belongs to your contractor

Tick Validar RFC, nombre, denominación o razón social y CP to compare the RFC with the name and postal code on file.[2] For an individual, enter the name, first surname and second surname; for a company, its legal name without the company type, such as S.A. de C.V.; and the five-digit postal code of the tax address. Then click Consultar RFC.[2]

Ask the contractor for these details exactly as they appear on their tax registration, since the check compares them with what the SAT has on file.

SAT validator of RFC, name and postal code, with the checkbox ticked, the name field, the five-digit postal code field and the Consultar RFC button

Validador de RFC, nombre y código postal. Screen from the SAT's guide (January 2023); the example data was blurred by the SAT.

  1. The checkbox that adds the name and postal code check.
  2. Name and both surnames, or a company's legal name without S.A. de C.V.
  3. Five-digit postal code of the tax address.
  4. Consultar RFC runs the check.
  5. Bulk check of RFC, name and postal code.
05/ Step 4 of 5

Read the result

If the details match the registry, the validator confirms it; if they do not, the message names the field that does not match, such as the name or the postal code.[2] You can print the result or click Terminar to finish.[2] The bulk results use the same wording, so this table covers both:

Result, as the SAT words it What it means What to do
RFC válido, y susceptible de recibir facturas The RFC is valid and can receive invoices Go ahead
RFC válido, no susceptible de recibir facturas The RFC exists but cannot receive invoices Ask the contractor to check their status with the SAT
RFC no registrado en el padrón de contribuyentes The RFC is not in the taxpayer registry Do not pay until they send the correct RFC
El nombre, denominación o razón social no coincide The name does not match the registry Ask for the name exactly as registered
El Código Postal no coincide The postal code does not match Ask for the postal code of their tax address
Estructura del RFC incorrecta The key is malformed, often because of spaces Remove spaces and check again

The first five messages are the SAT’s result wording in its guide to the validator; the last is the error the guide warns about for RFCs typed with spaces.[2]

SAT result screen Validación de RFC, nombre y código postal with a red message saying the name does not match the one registered in the RFC, and the Terminar and Imprimir buttons

A mismatch result. Screen from the SAT's guide (January 2023).

  1. The message names the field that does not match.
  2. Imprimir: keep the result with the contractor's file.
06/ Step 5 of 5

Check many contractors at once

To validate up to 5,000 RFCs in one go, prepare a plain-text file in UTF-8, with the pipe character (|) as separator and no header row. Each line holds a sequence number, the RFC without spaces, the name or legal name, and the postal code of the tax address.[2]

1|<RFC, 12 or 13 characters>|<name or legal name>|<5-digit postal code>
2|<RFC, 12 or 13 characters>|<name or legal name>|<5-digit postal code>

Click Validación masiva de RFC, select the file and click Validar. The validator returns a text file with the same four columns plus a fifth with the result for each line, in the wording of the table above.[2]

07/

Why verify a contractor’s RFC before you pay them?

Because the RFC is the identity behind every invoice and tax form your contractor gives you. Mexico’s Federal Tax Code requires individuals and companies that file periodic tax returns or issue digital tax invoices to register in the Federal Taxpayer Registry and obtain an RFC.[3] It is also the number your contractor writes on line 6a of the W-8BEN, where the IRS asks for the foreign tax identifying number issued by the country where they are a tax resident.[4]

The SAT validator confirms two things in under a minute: that the RFC exists in the registry as a valid key, and, if you add the name and postal code, that it belongs to the person you contracted.[2] A typo in the RFC, a name that does not match or an unregistered key is far cheaper to catch before the first payment than after a year of invoices.

08/

What does a Mexican RFC look like?

An individual’s RFC has 13 characters: four letters taken from the name, six digits for the date of birth and a three-character check code called the homoclave. A company’s RFC has 12: three letters, six digits for the date of incorporation and the homoclave.[3]

Type of taxpayer Length Structure
Individual (persona física) 13 characters 4 letters + 6 digits (date of birth) + 3-character homoclave
Company (persona moral) 12 characters 3 letters + 6 digits (date of incorporation) + homoclave
Generic: general public 13 characters XAXX010101000, reported as invalid by the validator
Generic: foreign residents 13 characters XEXX010101000, reported as invalid by the validator

The two generic keys are worth knowing. The SAT uses XEXX010101000 for transactions with residents abroad, such as your company, and the validator reports both generic RFCs as invalid by design.[2] Always check the contractor’s own RFC, never the generic one.

09/

What if the validator does not load from outside Mexico?

The procedure page sits on the SAT portal, but the validator itself runs on a separate SAT server, and in our test from outside Mexico on November 2, 2026 it did not respond. If that happens, ask the contractor or your accountant in Mexico to run the check and send you the result: the validator has a print option for exactly that.[2] File the printout with the contractor’s W-8BEN and agreement.

10/

Is a valid RFC enough to stay compliant?

No. The validator answers one question, whether the RFC is valid or invalid in the taxpayer registry, plus the name and postal code match if you ask for it.[1] It does not tell you whether the contractor files their returns, and it says nothing about whether the relationship is really independent work rather than employment, which Mexican labor law decides on the facts of how the work is done. Treat the RFC check as identity verification: necessary before the first payment, not a substitute for a sound contract.

11/

How do you hire in Latin America with Nearshorers?

Tell us the role on a 15-minute call and we turn it into a scorecard; most roles are filled in 7 to 14 days. Then choose one of our two hiring models. With Staffing, Nearshorers engages and pays the specialist, handles contracts, compliance and payments, and takes on the risk of the relationship, while you direct the work. With Headhunting, you hire them directly for a single placement fee, and the rules on this page apply to your company.

  1. 01/The briefA 15-minute call: the role, the metrics it should own and your budget, turned into a scorecard.
  2. 02/The shortlistWe search our Latin America network and vet for skill, English and ownership.
  3. 03/The interviewsYou interview the shortlist; we handle scheduling and feedback.
  4. 04/The onboardingHire through us with Staffing, where we take on the contract, payments and risk, or directly for a one-time fee.
FAQ

Frequently asked questions

Is the SAT RFC validator free?

Yes. It is a free public service on the SAT portal, and the SAT's guide says you need no password, no e.firma and no appointment at a SAT office to use it. Anyone, individual or company, can check an RFC one at a time or upload a file with up to 5,000 keys.

Can I check an RFC without the contractor's name?

Yes. The basic query only needs the RFC and tells you whether it is valid in the taxpayer registry. Ticking the box for name and postal code adds the check that matters most for a payer: it confirms that the RFC belongs to the person or company you contracted, not just that it exists.

Why does the RFC on my contractor's invoice show as invalid?

If you checked XEXX010101000, that is the generic RFC the SAT uses for transactions with residents abroad, and the validator reports generic RFCs as invalid by design. Check the contractor's own RFC, the one that identifies the issuer.

How many RFCs can I check at once?

Up to 5,000 per file. The file is plain text in UTF-8, with pipes as separators and no header row: a sequence number, the RFC without spaces, the name or legal name, and the five-digit postal code. The validator returns the same file with a fifth column holding the result for each line.

Does a valid RFC mean the contractor is tax compliant?

No. The validator determines whether an RFC is valid or invalid in the taxpayer registry and, if you ask, whether the name and postal code match. It does not show whether the contractor files their returns, and it does not decide whether the relationship is independent work or employment under Mexican labor law.

Sources

Sources

Every figure on this page links to the source below that states it. Rules are cited from the statute or the agency that applies it, and every source was checked on November 2, 2026. This page is general information to plan a hire, not legal or tax advice; laws change, so confirm your case with a local lawyer or accountant.

  1. Valida en línea RFC´s uno a uno o de manera masiva hasta 5 mil registros Government · Servicio de Administración Tributaria (SAT) · checked November 2, 2026
  2. Guía para validación del RFC en línea, de uno en uno o de forma masiva hasta cinco mil registros Government · Servicio de Administración Tributaria (SAT) · 2023-01 · checked November 2, 2026
  3. Mexico: Information on Tax Identification Numbers Government · OECD · checked November 2, 2026
  4. Instructions for Form W-8BEN (Rev. October 2021) Government · Internal Revenue Service · 2021-10 · checked November 2, 2026
Team meeting around a table in an open-plan office
Contact us

Let’s Build Your Team

Team meeting around a table in an open-plan office
Contact us

Let’s Build Your Team

Team meeting around a table in an open-plan office
Contact us

Let’s Build Your Team