Mexico · GuideEspañol

How to Get an RFC (Mexican Tax ID) and e.firma as a Foreign Resident

The RFC (Registro Federal de Contribuyentes) is Mexico's tax ID, issued by the Tax Administration Service (SAT). Foreign residents usually register with their CURP and residence card, either online or at an SAT office, and then request the e.firma, an electronic signature that requires an in-person SAT appointment. You need an RFC to be paid by a Mexican employer, rent out property, invoice clients and complete many banking and property transactions.

On this page
  1. What is the RFC and who needs one?
  2. What you need before you register
  3. How to register for the RFC
  4. What is the constancia de situación fiscal?
  5. How to get the e.firma
  6. After you register
  7. How to apply
  8. Frequently asked questions
  9. Official sources
Key factsSeptember 22, 2026
What it is
Mexico's federal taxpayer ID
Issued by
SAT (Servicio de Administración Tributaria)
Format for individuals
13 characters
What you need first
CURP and a valid residence card
e.firma
Electronic signature; in-person SAT appointment; valid 4 years
Proof of registration
Constancia de situación fiscal
Cost
Free at SAT

What is the RFC and who needs one?

The RFC is the number the SAT uses to identify every taxpayer in Mexico. For individuals it has 13 characters: 4 letters from your name, 6 digits for your date of birth, and a 3-character code (homoclave) the SAT assigns.

As a foreign resident, you will usually need an RFC if you:

  • Work for a Mexican employer. Your employer needs your RFC to report your salary and issue payroll receipts. See work permits for residents.
  • Earn self-employed or business income in Mexico, or invoice Mexican clients.
  • Rent out property in Mexico.
  • Buy or sell property. Notaries ask for it, and it matters for capital gains on a sale. See buying property.
  • Open some bank or investment accounts. Many banks ask for it. See opening a bank account.

Having an RFC does not by itself mean you owe tax in Mexico. Whether you owe tax depends on your tax residency and income. See taxes for residents.

What you need before you register

  • Your CURP. The SAT uses it to pull your identity data. Residents usually find it on their residence card. See how to get a CURP.
  • A valid residence card (temporary or permanent) and your passport.
  • Proof of address in Mexico, such as a recent utility, internet or phone bill. Bring the original.
  • An email address you check, and a Mexican mobile number if you have one.

Make sure your name is identical on your CURP, residence card and passport. Small differences cause problems later when employers, banks or notaries match your records.

How to register for the RFC

There are two common ways:

Online with your CURP

The SAT portal lets individuals register in the RFC using their CURP. This often works for people who only need the number or who will be salaried employees. You receive your RFC and can print your constancia de situación fiscal once you have a SAT password.

In person at an SAT office

Book an appointment through the SAT appointment system (citas.sat.gob.mx). Appointments in large cities can be booked up weeks ahead, so check early and often. At the office, an SAT officer registers you, records your tax regime and address, and can issue your password (contraseña). Many foreigners prefer this route because they can ask questions and get the e.firma at the same visit if they book both services.

Choosing a tax regime

You will be asked about your economic activity. Your answer sets your filing duties:

Situation Typical registration
You only need an RFC number (for a bank or a purchase) Registered with no economic activity
Salaried employee of a Mexican employer Wages regime (sueldos y salarios)
Freelancer or business owner with Mexican income A business or professional regime, or the simplified regime (RESICO) if you qualify
Landlord Rental income regime (arrendamiento)

The wrong regime can create monthly filing obligations you do not need, or leave you out of compliance. If you have business or rental income, talk to a Mexican accountant (contador) before you register.

What is the constancia de situación fiscal?

The constancia de situación fiscal is a one or two page SAT document that shows your RFC, your name, your registered address and your tax regime. Employers, banks, landlords and clients often ask for it, especially when they must issue you an electronic invoice (CFDI).

You can download it from the SAT portal with your password or e.firma. Keep your address up to date with the SAT; the constancia shows what the SAT has on file.

How to get the e.firma

The e.firma (formerly called FIEL) is an advanced electronic signature. It is a digital certificate and a private key, protected by a password you choose. With it you can file returns, update your tax data, and sign many official procedures online. Notaries often need it for property deals, and some banks ask for it.

To get it:

  1. Book an e.firma appointment at citas.sat.gob.mx.
  2. Bring your residence card, passport, CURP, proof of address, an email address, and a USB drive. The SAT website explains how to prepare the request file with its software before the appointment.
  3. At the office, the SAT records your photo, fingerprints, iris scan and signature.
  4. You leave with your certificate (.cer) and key (.key) files. Store them safely and do not share your password.

The e.firma is valid for 4 years. You can renew it online before it expires; if it lapses, you must go back in person.

After you register

  • Activate the buzón tributario. This is your SAT online mailbox. The SAT sends official notices there, so register a working email and phone.
  • Update the SAT when you move. Address changes must be reported.
  • Know your deadlines. Employees whose employers withhold tax may still need to file an annual return in some cases. Self-employed people and landlords usually file monthly and annually.
  • Keep your residency and RFC data consistent. When you renew or change your immigration status, check that the SAT still has your correct name and nationality.

For the bigger picture on what Mexico taxes, see taxes for residents. Remote workers should also read remote work rules.

How to apply

  1. Confirm your CURP

    Find your CURP on your residence card or at gob.mx/curp and check that the spelling matches your passport.

  2. Gather documents

    Residence card, passport, proof of Mexican address, email address and phone number.

  3. Register for the RFC

    Register online with your CURP, or book an SAT appointment at citas.sat.gob.mx and register in person.

  4. Get your password and constancia

    Create your SAT password and download your constancia de situación fiscal.

  5. Request the e.firma

    Book a separate e.firma appointment, bring a USB drive and your documents, and complete biometrics at the SAT office.

Frequently asked questions

Can a foreigner get an RFC in Mexico?

Yes. Temporary and permanent residents register with their CURP and residence card, online or at an SAT office. People without residency usually need specific advice from a notary or accountant.

Is the RFC free?

Yes. The SAT does not charge to register in the RFC or to issue the e.firma. You may pay an accountant if you want help choosing a tax regime.

What is the difference between the RFC and the e.firma?

The RFC is your tax ID number. The e.firma is an electronic signature linked to that RFC, used to sign filings and official procedures online. You get the e.firma in person at an SAT office.

How long is the e.firma valid?

Four years. You can renew it online while it is still valid; if it expires you must book a new in-person appointment.

Does getting an RFC mean I have to pay Mexican taxes?

Not by itself. Your tax duties depend on your tax residency, where your income comes from, and the regime you register under. Talk to a Mexican accountant if you have business or rental income.

What is the constancia de situación fiscal?

It is an SAT document showing your RFC, name, registered address and tax regime. Employers and clients ask for it to issue invoices and payroll receipts.

Official sources

  1. Servicio de Administración Tributaria (SAT)sat.gob.mx
  2. SAT appointment systemcitas.sat.gob.mx
  3. Gobierno de México: SATgob.mx
  4. Gobierno de México: Consulta tu CURPgob.mx

General information, not legal advice. NorthAmericans.com is independent and not affiliated with any government.