If you bought a Brickell condo in 2019 and flipped it three years later, the IRS section 121 exclusion likely wiped your capital gains tax. Peru offers a similar break: the primary residence exemption Peru tax rule cancels the 5% second-category income tax on the sale of your home, provided you owned and used it as your main residence for at least 2 years. For a US$ 850,000 sale in San Isidro, that exemption can mean US$ 15,000 to US$ 40,000 staying in your account. The catch: SUNAT applies three concurrent requirements, and most expat sellers learn about them at the notary the day they sign. Here is how the rule works in 2026, what proof to keep, and how it interacts with rental history and multiple-property ownership.
Table of contents
- What counts as casa habitación under Peruvian tax law
- The 3 requirements: 2-year ownership, residential use, single property
- Proof of residence: documents SUNAT actually checks
- The habituality trap: why flippers lose the exemption
- Expat scenarios: inheritance, divorce, dual residency, non-domiciled
- Notary process and how the 5% is calculated
- Frequently asked questions
What counts as casa habitación under Peruvian tax law
The rule lives in Article 1-A of the Income Tax Law Regulation (DS 122-94-EF) and is anchored in the consolidated Income Tax Law text under DS 179-2004-EF. SUNAT, the Peruvian tax authority, defines casa habitación as a property held by the seller for at least 2 years, used as their dwelling, and not exclusively destined for commerce, industry, office, warehouse, garage or similar uses (SUNAT, May 2026).
Why this matters in dollar terms: the standard capital gains tax on real estate sales by individuals in Peru is 5% on the net gain, withheld and reported through SUNAT Form 1665. On a Lima Top sale of US$ 1,200,000 with an indexed cost basis of US$ 800,000, the gain of US$ 400,000 triggers around US$ 20,000 in tax. The primary residence exemption Peru tax break wipes that line out of the closing settlement entirely.
For US-based buyers, the comparison with IRC Section 121 is intuitive but not perfect. The Peruvian exemption has no dollar cap (Section 121 caps at US$ 250,000 single / US$ 500,000 joint) and no minimum number of times you can claim it. The trade-off: Peru requires uninterrupted ownership for 2 years and that the property be your only real estate at the time of sale (or the lower-value one if you sell two together). It is more demanding on uniqueness, more generous on amount.
The exemption applies only to natural persons, undivided estates, and conjugal partnerships taxed as such. Properties held through Peruvian SACs or under habitual real estate activity drop into third-category corporate income tax at 29.5%. If you are weighing how to title a Lima property, this distinction is decisive. See our guide on alcabala tax on high-value properties for the buyer-side cost picture.
The 3 requirements: 2-year ownership, residential use, single property
SUNAT enforces three requirements that must be satisfied concurrently for the primary residence exemption Peru tax rule to apply.
- Minimum holding period: 2 years. The property must remain in the seller’s ownership for at least 24 calendar months, counted from the deed (escritura pública) date until the sale closes. For self-built homes, the clock starts at the construction sign-off (conformidad de obra) or the SUNARP independization, whichever comes first.
- Residential use. The property cannot be exclusively allocated to commercial, industrial, office, warehouse, garage or similar uses. Mixed-use is allowed when residential use predominates: a Miraflores apartment with a home office qualifies; a ground-floor retail unit with a sleeping mezzanine does not.
- Single property or lowest-value property. At the moment of sale, it must be the seller’s only real estate asset. If the seller owns multiple properties and sells one, only the lowest-value property qualifies. When two or more are sold in the same transaction, the exemption attaches to the one with the lowest sale value (MEF, Income Tax Law TUO, Art. 2°).
The third requirement is the one that catches expat sellers off guard. If you own an apartment in San Isidro (Lima’s financial district) and a beach condo in Asia, the San Isidro sale only qualifies if it is the lower-value property. Before claiming the primary residence exemption Peru tax break, a SUNARP title search reveals every property registered to your name, and the data is public. Run the SUNARP property search before listing to map the scenario.
One nuance practitioners debate: independent parking spots and storage units. The practical interpretation in Lima is that the parking and storage attached to the apartment, even with separate registry entries, do not break the single-property test when sold in the same transaction. If you sell only the apartment and keep the parking, you may end up with a second registered property and lose the benefit on the next sale. Worth checking with the notary before signing.
Proof of residence: documents SUNAT actually checks
SUNAT does not publish a closed list, but during audits the burden of proof falls on the taxpayer. For a luxury sale in Barranco or Miraflores, the documents worth keeping for at least 6 years post-sale are the following.
- Carné de Extranjería or DNI with updated address at the property during the full 2-year window. ID renewals showing prior addresses elsewhere are a red flag.
- Utility bills (Sedapal water, Luz del Sur or Enel electricity, Cálidda gas, Movistar / Claro internet) issued in your name at the property’s address. Continuous monthly records during the 24 months are best.
- Municipal predial tax filing as resident owner. The Lima municipalities cross-check this against the taxpayer registry.
- Bank statements mailed to the property address. Useful when the ID still shows your prior address.
- Home insurance policies and private service contracts in your name at the property.
For dual-residency clients (Lima-Miami, Lima-Madrid), the proof gets thinner. Tribunal Fiscal precedents accept indirect evidence when the seller’s nuclear family stays at the property and utility consumption follows residential patterns. The deal-breaker is renting the unit out: if it shows up under SUNAT first-category rental income during the 2-year window, the exemption collapses entirely.
For foreign buyers who later move in, the 2-year clock runs from the public deed date, not the down payment date. If you sign the escritura in March 2024 and sell in March 2026, you make the threshold. Pushing a closing 30 days early can cost 5% of your gain. Worth coordinating with your tax advisor on timing. If you are planning the original purchase, our guide on buying property in Peru from abroad covers the inbound process.
The habituality trap: why flippers lose the exemption
The primary residence exemption Peru tax rule was built for residents, not flippers. The Income Tax Law sets a control mechanism called habituality presumption. Under Article 4 of the consolidated text, habituality is presumed starting with the third real estate sale within a single tax year. From that third sale onward, in that year and the next, sales drop into third-category business income at 29.5% on net profit, or 1.5% advance payment on revenue under the MYPE small-business regime (SUNAT, Report N° 042-2017).
The jump is brutal: 5% on gain becomes nearly 30% on the same gain. For an investor who buys preconstruction in Barranco and resells at delivery, that single ratchet rewrites the deal economics. The pragmatic rule among Lima accountants serving high-net-worth clients: cap individual sales at two per calendar year per natural person; route any third sale through a Peruvian real estate company (SAC) where deductibility and accounting rules are different.
Important detail: habituality kicks in at the third sale, not retroactively on the first two. So if you sell three properties in a year, the first two stay in second-category (5% or exempt if casa habitación qualifies) and only the third onwards moves to third-category. Investors liquidating portfolios use this cascade: they sequence the sale that qualifies as casa habitación first.
A separate trap is acquisition with intent to sell. If you buy or build a property specifically to flip, the operation is third-category from the first sale, regardless of holding period. SUNAT looks at economic intent: commercial financing, marketing the unit before delivery, occupancy under 6 months. If the property was your actual home, document residential use from week one.
Expat scenarios: inheritance, divorce, dual residency, non-domiciled
Real life rarely fits the textbook case of a single owner who lived 2 clean years. These are the scenarios we see most often among Penthouse.pe expat clients in Lima Top neighborhoods.
Inheritance. When you inherit a property, the cost basis is the value at the date of the decedent’s death (not the original purchase). The 2-year clock runs from the date the inheritance is registered at SUNARP, not from the original acquisition. To qualify the sale of an inherited property as casa habitación, the heir must have occupied it as residence for 2 years after it entered their estate. Sell at 6 months, you pay 5% on the gap between sale price and ICM-indexed value at death.
Divorce. Liquidation of the conjugal community is not a taxable transfer. The 2-year clock runs continuous: if a couple lived 5 years in the property and one spouse keeps it post-divorce and sells 8 months later, the property still qualifies as casa habitación because prior occupancy counts. Have the divorce decree and the registry split inscribed before listing.
Beach second home. If you own an apartment in Miraflores and a house in Asia or Punta Hermosa (Lima’s premium beach towns), neither qualifies simultaneously. Only the property that is your only real estate at the moment of sale (or the lower-value one when both are sold) qualifies. The common play: sell the lower-value one first, then sell the primary later when the inventory is back to one. To benchmark sale prices, our breakdown on price per square meter in Miraflores and San Isidro is a useful reference.
Resident foreigners. An Italian or American national tax-resident in Peru (more than 183 days per year) qualifies on the same terms as a Peruvian. Nationality is irrelevant. Non-domiciled sellers are treated differently: no exemption, 5% withholding on the net gain at closing, with the buyer or notary acting as withholding agent. Domiciliary status, not citizenship, is what triggers eligibility.
Notary process and how the 5% is calculated
The Peruvian notary is the practical gatekeeper of the exemption. To convert the private sale agreement (minuta) into a public deed (escritura pública), the notary requires either proof of payment of the 5% second-category income tax (Form 1665) or a signed Comunicación de no encontrarse obligado al pago, where the seller declares under personal liability that the casa habitación criteria are met.
The communication is downloaded from SUNAT’s portal, signed, and handed to the notary in duplicate. SUNAT can audit within the 4-year statute (6 years if no return was filed). If the audit determines you did not qualify, you owe the omitted tax plus moratory interest and a misrepresentation penalty. Keep your proof of residence file for at least 6 years post-sale.
When tax does apply, the formula is 5% on the net gain. Net gain equals sale price minus updated cost basis. Updated cost basis is the original acquisition price (the one on your deed) multiplied by the Monetary Correction Index (ICM) published monthly by the Ministry of Economy. If you bought in January 2018 at US$ 600,000 (S/ 1,998,000 at the historical exchange rate) and sell in May 2026 at US$ 900,000, you first index the soles cost basis with the ICM, then compute the gain in soles.
Payment is made through Form 1665 on SUNAT’s website before signing the deed. The legal deadline is the month following the receipt of payment, but the notary requires it upfront. For a US$ 1,500,000 sale, exchange rate timing matters: coordinate the tax payment and the closing on the same day to avoid FX drift. Once closed, our overview of the purchase agreement and the SUNARP registration covers the post-closing checklist.
Frequently asked questions
Closing thoughts
The primary residence exemption Peru tax break is one of the few benefits the Peruvian tax code reserves for the resident owner, not the operator. It works well when used as designed: a clean exit from a closed life chapter in a property. For investors rotating inventory every 18 months, the right tool is not this exemption but a structured corporate vehicle with deductible costs and continuous tax planning. Before listing your Lima Top property, check the three concurrent requirements with your accountant, gather residency proof early, and project the applicable ICM. The gap between paying and not paying can fund the down payment on your next purchase.
This content is informational and does not constitute legal or tax advice. Every case must be reviewed by a licensed Peruvian attorney or accountant. Peruvian regulations may have changed since publication; always verify the latest version with SUNAT, SUNARP or the relevant official source.
Are you selling your primary residence in San Isidro, Miraflores or Barranco and want to capture the exemption cleanly? At Penthouse.pe we work with a network of tax attorneys and notaries who handle premium expat sales. Email us at hola@penthouse.pe with the property address and your years of residency, and we will send a preliminary eligibility review at no cost.
Penthouse.pe Editorial Team. Specialized coverage of luxury real estate in Lima’s premium districts. Inquiries: hola@penthouse.pe







