RFC and Tax Obligations for Foreigners in Mexico

If you live, invest, or earn income in Mexico, you probably need an RFC. We explain what it is, when you must register, the difference between a tax resident and a non-resident, and your obligations before the SAT.

The Federal Taxpayer Registry (Registro Federal de Contribuyentes, RFC) is the ID by which the Tax Administration Service (Servicio de Administración Tributaria, SAT) identifies each taxpayer in Mexico. Many foreigners discover they need one when buying a property, opening an account, investing, or working. This guide explains when you must obtain it and what tax obligations you might have.

The legal framework

The obligation to register for the RFC and to issue receipts is set out in the Federal Tax Code (Código Fiscal de la Federación, CFF). The same code defines when a person is a tax resident in Mexico, a concept distinct from immigration residency. The Income Tax Law (Ley del Impuesto sobre la Renta, ISR) establishes how both residents and non-residents with Mexican-source income are taxed.

Are you a tax resident in Mexico?

Being an immigration resident is not the same as being a tax resident. Under the CFF, in general terms you are considered a tax resident in Mexico when you have your home (casa habitación) here; and if you have a home in two countries, when Mexico is your center of vital interests (for example, because you earn most of your income here or you have your base of life here). The distinction matters because:

  • The tax resident is taxed on their worldwide income.
  • The non-resident is taxed only on income from a Mexican source of wealth (for example, the rent from a property in Mexico or the gain from its sale).

When do you need an RFC?

The most common cases in which a foreigner needs an RFC are:

  • Carrying out economic activities or working in Mexico.
  • Buying or selling real estate (the notary usually requires it).
  • Receiving rental income from leasing a property.
  • Being a partner or shareholder in a Mexican company.
  • Invoicing services or opening certain financial products.

A tourist who is only visiting the country normally does not need an RFC.

How to obtain it

  • Appointment at the SAT. Registration for the RFC of individuals is done by appointment at a SAT office.
  • Typical documents: ID (passport), an immigration document proving your legal stay (resident card), CURP (national population registry ID), and proof of address in Mexico.
  • Result: you obtain your RFC and your Certificate of Tax Status (Constancia de Situación Fiscal). If you are going to invoice, also obtain the e.firma (electronic signature).

Main obligations

  • Issue and request invoices (CFDI) where applicable.
  • File returns periodically or annually according to your tax regime (for example, leasing).
  • Pay income tax (ISR) on taxable income; on real estate sales, the notary usually calculates and withholds the tax.
  • Keep your address and tax status up to date.

Double taxation

Mexico has signed numerous treaties to avoid double taxation. If your country has one with Mexico, you can avoid paying twice on the same income, generally by crediting in one country the tax paid in the other. This is a technical matter where specialized advice is advisable, especially if you have income in several countries.

Common mistakes

  • Assuming that immigration residency defines your tax status. They are separate regimes.
  • Not declaring the rental income from a property you lease in Mexico.
  • Selling real estate without planning for the ISR on the gain.
  • Ignoring your country's double-taxation treaty and overpaying.

Common tax regimes

Depending on your activity, the SAT will place you in a regime. The most common for foreigners are the leasing regime (for those who rent out property), the wages and salaries regime (for those who work on a payroll), and the business or professional activity regimes. Each regime has its own returns and deductions, so it is best to identify the correct one from the outset.

Sale of real estate and ISR

When a foreigner sells a property in Mexico, the gain may trigger ISR. Generally, the notary calculates and withholds the tax in the deed of sale. There are exemptions for a primary residence subject to requirements (use of the property, amount limits, and documentation). Planning the sale in advance and with your accountant can represent significant savings.

Why the e.firma matters

The e.firma (electronic signature) is your digital identity before the SAT. You need it to file returns, invoice, and carry out many procedures online. It is best to obtain it together with your RFC so you do not have to schedule another appointment later on.

Frequently asked questions

Do I need an RFC just for being a resident?

Not necessarily. You need it when you carry out economic activities, work, buy or sell real estate, rent out a property, or are a partner in a company. A resident with no income in Mexico may not need it right away.

Does being a permanent resident make me a tax resident?

Not automatically. Tax residency depends on where you have your home and your center of vital interests, under the Federal Tax Code, not on the type of immigration card.

Conclusion

For many foreigners, the RFC stops being optional as soon as they buy, rent, invest, or work in Mexico. Determining whether you are a tax resident and which treaties apply can have a major financial impact. Check the current requirements directly on the SAT portal and, for structures with income in several countries, consult an accountant or tax lawyer experienced in international taxation.

Notice: This content is general legal information and does not constitute legal advice, nor does it replace consulting a lawyer holding a cédula profesional (professional license). Every case is different and laws change; before making decisions, consult a lawyer who can review your particular situation.

Sources

First consultation free

Need a lawyer?

Describe your case and one of our lawyers will contact you. Free and with no obligation.

Request a free consultation

The information on this site is for informational purposes only and does not constitute legal advice or create an attorney-client relationship. For your specific case, schedule a consultation with our lawyers.