Capital Gains Tax in Mexico for Non-Residents: A Fact-Based Decision Guide
A non-resident sale is a fact-dependent Mexican tax question
A sale by a non-resident can create Mexican tax exposure, but non-resident status alone does not determine the result. Mexican income tax law generally governs what is commonly called capital gains tax on the sale of Mexican real estate. Non-residents are subject to Mexican tax on gains from sales of real property located in Mexico, including shares of foreign companies holding a significant amount of Mexican real property, and on sales of shares of Mexican companies.
A capital gain is the gain associated with selling an asset, but the label does not answer whether Mexico can tax it, how the taxable amount would be determined, or what must be withheld or reported. Those questions depend on the asset, its connection to Mexico, the seller’s tax position, the transaction structure, the records supporting the transaction, and rules in any other relevant jurisdiction.
This guide gives you a screening method rather than an individualized tax calculation or filing determination. Start by classifying the asset and the sale, then separate Mexican exposure from residence, treaty, and home-country questions.
Begin with the asset and its connection to Mexico
Use the following first-pass classification before asking about rates or exemptions:
- Mexican real property: Identify the property, its location, ownership, and the legal form in which you hold it.
- An interest connected to Mexican real property: Determine whether you are selling shares of a foreign company that holds a significant amount of Mexican real property.
- Shares of a Mexican company: Treat the company interest as its own asset category rather than assuming that rules for a direct property sale apply.
- A stock-exchange transaction: Record whether the shares were sold on the Mexican stock exchange, because the selected Mexico tax summary describes that transaction separately.
- Another asset or structure: Keep the category open until the asset, issuer, location, and transaction form have been identified.
The Mexico tax summary states that sales of shares on the Mexican stock exchange are subject to a flat 10% tax withholding on the profit from the transaction. That statement concerns the transaction category described there; it does not turn every sale of shares, securities, or an interest in a company into a stock-exchange transaction. Record the market, issuer, ownership vehicle, and buyer before applying that branch.
Your next action is simple: write one sentence identifying exactly what you plan to sell and why the asset is connected to Mexico. If that sentence could describe both real property and company shares, the classification is not specific enough for a reliable next step.
Use that sentence as a routing test. If it identifies direct Mexican real property, continue to the real-estate branch and the primary-residence question where relevant. If it identifies shares or another investment, continue to the separate-asset analysis and specify whether the sale is private or on the Mexican stock exchange. If it identifies more than one category, split the review rather than forcing one answer across the transaction. This routing step does not determine tax; it tells you which facts and questions must be tested next.
Identify the seller without treating one status as decisive
Tax residency and residence-permit status are distinct concepts, and countries apply different rules to each. Tax residency refers to the country where you are considered resident for tax purposes and are typically required to pay taxes. Tax residency is determined by factors such as how long you spend in a country, where your primary residence is, and where you have significant personal or financial ties.
Your residence permit answers an immigration question; your tax residency answers a tax question. A permit may be temporary or permanent, while your tax position may depend on time spent, homes, and personal or financial ties. Record citizenship, every residence permit, countries of tax residence, physical presence by period, primary residence, and significant personal or financial ties as separate facts. Do not combine those facts into one relocation label.
Use this seller-status check before discussing the sale:
- Which country or countries treated you as tax resident during the ownership period and the sale period?
- How much time did you spend in Mexico and elsewhere during the relevant periods?
- Where was your primary residence during those periods?
- What residence permits did you hold, and when were they valid?
- What citizenship or citizenships should the advisers consider?
- Did your personal or financial ties change before the sale?
These questions organize the facts; they do not produce a residency conclusion by themselves.
Physical presence is one fact in the review, not a substitute for the full tax-residency analysis. Citizenship is also a fact to disclose, not a shortcut to a Mexican or home-country result. Keep the seller profile separate from the asset profile, then connect the two only after the sale and the relevant dates are clear.
Reconstruct the transaction before estimating exposure
A transaction timeline gives you the working facts needed for a cross-border review. An asking price or an expected gain is not enough. The review should distinguish what you owned, what you acquired, what you will sell, and what will happen at closing.
Build the sale-event record in this order:
- Ownership: Name the legal owner, co-owners, company, trust, or other vehicle shown on the relevant documents.
- Asset: Describe the property, shares, or other asset precisely, including its location and the entity or market connected to it.
- Acquisition: Record the acquisition date, purchase price or other acquisition value, currency, and documents supporting the acquisition.
- Basis and improvements: Gather the records that may support acquisition basis and documented improvements, without assuming that every expenditure will receive the same treatment.
- Sale: Record the proposed sale price, currency, buyer, contract structure, and intended closing date.
- Costs: Separate commissions, transfer-related amounts, professional fees, improvements, and other transaction costs rather than combining them into one estimate.
- Payment and withholding: Identify who will receive the purchase funds, who may withhold an amount, and what document would show the amount withheld or paid.
- Timing: Mark each relevant date, including acquisition, improvements, contract signing, closing, payment, and any later reporting date.
Transaction structure can change the question presented for review. A direct property sale is not the same event as a sale of shares in a company that owns property, and a private share transfer is not automatically the same as a sale on the Mexican stock exchange. Put the proposed structure beside the underlying asset in your file so the professional reviewing it can test whether the structure changes the applicable branch.
Do not estimate exposure until the records show the asset, owner, acquisition information, proposed sale terms, costs, and dates in one place. If any of those items is still an assumption, mark it as unresolved and carry it into the consultation questions.
The order matters because each fact answers a different screening question. Ownership and asset records establish what is being transferred; acquisition and improvement records relate to the proposed gain calculation; sale and payment records show the transaction structure and any amount withheld; status and timing records determine which taxpayer and date-specific questions must be reviewed. A missing record should therefore be logged against the question it leaves open. For example, an unclear ownership vehicle is a classification gap, while an unsupported improvement cost is a calculation-record gap. Labeling gaps this way helps the reviewer request the next document without treating an estimate as a conclusion.

Apply the Mexican real-estate branch cautiously
PwC’s Mexico individual-tax summary describes a general election for a non-resident investor when a capital gain is subject to Mexican tax: a flat rate of 25% of gross proceeds or 35% of net gain. The two bases are materially different. Gross proceeds refer to the sale amount before the calculation of net gain, while a net-gain approach depends on the facts and records that support the relevant calculation.
The 25% and 35% figures are not an individualized result for your transaction. The summary describes a general alternative, but your file still needs the correct asset classification, seller status, acquisition and sale records, transaction costs, timing, and any applicable qualification or procedural requirements. Do not select a method from a headline percentage or assume that the amount withheld is the final amount owed.
Ask the professional reviewing the sale to address four separate points: whether the gain is within the Mexican real-estate branch, which calculation basis is available under the rules in force for the transaction, what records support the chosen basis, and whether the proposed withholding or payment process matches the conclusion. Keep those questions separate from the home-country analysis.
Keep other assets in a separate analysis
Company shares and securities require a separate asset analysis because a real-estate rule cannot automatically be transferred to every investment. Non-residents are subject to Mexican tax on gains from sales of shares of Mexican companies and from shares of foreign companies holding a significant amount of Mexican real property. Those are distinct descriptions, so identify the issuer, ownership vehicle, underlying assets, and sale venue.
A sale on the Mexican stock exchange is a distinct branch. A private transfer of shares, a sale of a foreign-company interest, and a direct property sale remain separate transaction categories, each requiring review of its own facts.
Use a short classification matrix for any non-property sale:
- What is sold? Direct property, shares of a Mexican company, shares of a foreign company, or another asset.
- What does the asset represent? Direct ownership, an interest in an entity, or a security traded in a market.
- Where is the asset or issuer connected? Mexico, another jurisdiction, or more than one jurisdiction.
- How is the sale completed? Private contract, company transaction, or stock-exchange sale.
- What records establish the gain? Acquisition documents, ownership records, sale documents, and cost records.
If your sale involves more than one asset or entity, divide the transaction into separate lines before seeking an answer. That prevents a property conclusion from being used as a substitute for the analysis of shares or other investments.
Treat a primary-residence exemption as an unresolved fact-and-application question
A primary-residence exemption cannot be treated as an automatic answer for a foreign seller. Mexican income tax law expressly requires the seller to be selling their primary residence to qualify for capital-gains exemptions, but it does not expressly state whether a foreign seller must have temporary or permanent residency status. The exemption question therefore has both a residence-fact component and an application component.
Notary interpretation adds a practical uncertainty. Some Mexican notary offices apply capital-gains exemptions only when the seller has permanent-resident status, while some may apply them to foreign residents with temporary-resident status. That difference means a residence permit should be documented, but a permit should not be presented as a guarantee that the exemption applies.
Prepare the facts that bear on the primary-residence question:
- When did you acquire and occupy the property?
- Was the property your primary residence during the relevant period?
- What other home or homes did you maintain?
- Which temporary or permanent residence permits did you hold, and when?
- Where did you spend the relevant periods, and where were your personal and financial ties?
- Which notary office or closing process is expected to handle the transaction?
- What documents support your description of the property as your primary residence?
Do not price the transaction on the assumption that a primary-residence exemption will apply. Carry the exemption as an unresolved issue until the applicable rule, supporting facts, and interpretation used for the transaction have been addressed by the professionals responsible for the review and closing process.

Run the home-country and treaty review separately
Mexican taxation does not end the analysis for a U.S.-connected seller. The U.S.-Mexico treaty description states that gains from immovable property situated in Mexico may be taxed by Mexico. The same description states that the treaty’s saving clause preserves the United States’ right to tax U.S. citizens on worldwide income, including gains from Mexican property regardless of where the citizen lives.
A foreign tax credit is not an automatic offset for every amount withheld in Mexico. IRS guidance states that the amount of foreign tax that qualifies for a U.S. foreign tax credit is not necessarily the amount withheld by the foreign country. The IRS guidance also states that, if a taxpayer is entitled to a reduced foreign-tax rate under an income-tax treaty, only that reduced tax qualifies for the U.S. foreign tax credit.
Treaty analysis requires more than comparing a single article or rate. U.S. Treasury testimony explains that the treaty partner’s domestic tax legislation and its interaction with U.S. domestic tax rules must be considered, and that a simple side-by-side comparison of treaties does not produce meaningful conclusions about whether a treaty is appropriate. The relevant treaty, domestic rules, taxpayer status, asset, and transaction must be reviewed together.
If your home country is not the United States, replace the U.S.-specific questions with that country’s rules. Ask whether the home country taxes the gain, whether citizenship or residence affects that result, how foreign taxes are treated, what treaty may apply, and what records support any credit, exemption, or other relief. Do not assume that Mexican treatment determines the home-country result.
Keep two columns in your file: Mexican questions and home-country questions. Add a third column for treaty questions only after you identify the taxpayer, asset, source, and transaction. That structure keeps a Mexican payment, a home-country liability, and a possible foreign-tax credit from being treated as the same item.
Ask the questions that determine the next research step
Consultation questions should convert your sale facts into decisions about classification, calculation, process, and reporting. A general question such as whether non-residents pay Mexican capital-gains tax is too broad once you know the asset and planned transaction. Use questions that force the review to identify the rule and the fact supporting it.
Take this question list to the review:
- Source and connection: What fact connects this gain to Mexico, and which jurisdiction or jurisdictions may also treat it as taxable?
- Asset classification: Is the transaction a direct sale of Mexican real property, a sale of shares of a Mexican company, a sale of shares in a foreign company holding significant Mexican real property, a Mexican stock-exchange sale, or another category?
- Seller status: Which tax-residency facts, residence permits, citizenship details, physical-presence records, homes, and personal or financial ties matter?
- Calculation: If Mexican tax applies, which calculation approach is available, what amount is its base, and which acquisition, improvement, and sale records support it?
- Exemption: Does the property qualify for a primary-residence exemption under the applicable rule, and how will the temporary or permanent residence issue be handled?
- Process: Who determines the withholding or payment step, which documents will show the amount paid, and what must happen before closing?
- Filing: Does the transaction create a Mexican filing or reporting duty, and who is responsible for completing it?
- Treaty: Does a treaty affect taxing rights, and how does the treaty interact with each country’s domestic rules?
- Home country: What gain, reporting, or foreign-tax-credit questions remain after the Mexican analysis?
- Timing: Which rules apply on the intended closing date, and what changes if the closing moves?
Ask for the reasoning behind each answer, not only a conclusion. A useful response should identify the asset category, relevant dates, supporting records, and the condition that would change the result. If the answer depends on a missing document, a different transaction structure, or a rule in another jurisdiction, record that dependency instead of turning it into an assumption.
When the reviewer gives an answer, preserve the chain from question to rule to fact to document. For example, a conclusion about a calculation approach should identify the asset category, the base used, the records supporting that base, and any condition that could change it. A conclusion about an exemption should separately identify the primary-residence facts, status issue, and application used by the closing process. This format makes it easier to compare Mexican and home-country conclusions without treating either one as a substitute for the other.
Your next action is to mark each question as answered, document needed, or outside the current review. That triage shows whether you need a narrow sale review, a combined Mexico and home-country analysis, or a broader residency or departure-tax discussion.
Build the consultation packet before committing to the sale
Include identity and status records:
- Passport or citizenship information relevant to the review.
- Mexican and other residence permits, with validity periods.
- A timeline of physical presence in Mexico and other relevant countries.
- Tax-residency positions for the ownership and sale periods.
- Primary-residence information and records of other homes or significant personal and financial ties.
- Contact details for the professionals or closing participants already involved.
Include ownership and transaction records:
- Title, ownership, company, or account documents identifying the asset and owner.
- The acquisition agreement, closing statement, invoices, and payment records.
- Records supporting acquisition basis and documented improvements.
- The proposed sale agreement, buyer information, sale price, currency, and intended closing date.
- Commissions, professional fees, transfer-related amounts, and other sale costs.
- Any proposed withholding, payment, or closing documents.
- Information showing whether the sale is direct, entity-based, private, or completed on a stock exchange.
Include home-country and treaty records:
- Prior returns or reporting records relevant to the asset and gain.
- The home-country tax-residency position for the relevant years.
- Treaty information being considered and the taxpayer status to which it would apply.
- Evidence of foreign tax paid or withheld, kept distinct from any amount you expect to claim as a foreign-tax credit.
- Records supporting the gain calculation and any reduced foreign-tax rate being considered.
If a treaty provides a reduced foreign-tax rate, the IRS guidance states that only the reduced tax qualifies for the credit.
Give the packet a one-page fact summary with the proposed sale, asset category, ownership, dates, jurisdictions, open questions, and requested decision. Keep original documents available, preserve the currency and date on each record, and identify estimates separately from confirmed amounts. Send the packet for review before committing to a structure or closing date that depends on an unresolved tax position.
If the packet cannot be complete, prioritize the records that identify the asset and seller, establish acquisition and proposed sale terms, and show status during relevant periods. Then mark each missing item and state what conclusion it prevents. This is more useful than filling gaps with estimates: a reviewer can see whether the unresolved issue concerns classification, calculation, exemption, process, treaty treatment, or home-country reporting. Keep a separate list of assumptions, such as an expected sale price or anticipated withholding, so those assumptions are not mistaken for documentary support. Update the packet if the buyer, structure, closing date, or payment process changes.
Use current professional review as the decision point
A Mexico-connected sale should move to current professional review when the asset, seller, transaction, or home-country position crosses a jurisdictional boundary. A treaty conclusion requires consideration of the treaty partner’s domestic law and its interaction with U.S. domestic tax rules; a simple comparison of treaty text does not answer whether the treatment fits your facts.
This guide cannot determine your tax liability, filing duties, withholding, exemption eligibility, treaty position, or foreign-tax-credit amount. Before completing the transaction, have a qualified tax or legal professional assess your individual facts under the Mexican rules and treaty interpretations in force for the relevant date. If the closing date, asset classification, seller status, or home-country position changes, update the review.
We provide consulting with an international lawyer and tax advisor specializing in cross-border taxation, citizenship and residency acquisition, and global wealth protection. Bring your sale-event timeline, status records, transaction documents, open questions, and home-country information so the next review can address the facts that control the decision.
Frequently asked questions
What are the general conditions for capital gains tax exposure for non-residents selling property in Mexico?
Non-residents are subject to Mexican tax on gains from sales of real property located in Mexico, including shares of foreign companies holding a significant amount of Mexican real property. The applicable tax is governed by Mexican income tax law.
How is capital gains tax calculated for non-residents in Mexico?
When a capital gain is subject to Mexican tax, non-residents can generally elect to pay either a flat rate of 25% of gross proceeds or 35% of net gain from the sale.
What is the primary-residence exemption for capital gains tax in Mexico?
Mexican income tax law requires the seller to be selling their primary residence to qualify for capital-gains exemptions. However, it does not specify whether a foreign seller must have temporary or permanent residency status.
How does the U.S.-Mexico tax treaty affect capital gains tax for U.S. citizens selling property in Mexico?
The U.S.-Mexico tax treaty allows Mexico to tax gains from immovable property situated in Mexico, but the treaty’s saving clause preserves the U.S. right to tax its citizens on worldwide income, including gains from Mexican property.
What records should be prepared for a consultation regarding capital gains tax on a property sale in Mexico?
Prepare a consultation packet that includes ownership documents, acquisition records, proposed sale details, and any relevant home-country tax information to facilitate a thorough review.
What factors determine tax residency for individuals selling property in Mexico?
Tax residency is determined by factors such as the duration of stay in a country, the location of an individual’s primary residence, and significant personal or financial ties.
What should non-residents consider regarding their home-country tax obligations when selling property in Mexico?
Non-residents should assess whether their home country taxes the gain from the sale, how foreign taxes are treated, and what treaty provisions may apply to their situation.
Disclaimer: The content in this article is simplified for general informational purposes and does not apply to all situations. Readers should not make or refrain from making any decisions based on this information without first consulting a qualified professional. To look at your own situation, send us your details at the bottom of this page or start with our Global Strategy Service.
Ask the team
Have a question about your own situation?
Tell us where you pay tax today and what you want to achieve. We will review your case and get back to you within 1 business day.