Imóvel — Capital Gains Tax
Detailed Guide Coming Soon
We're working on a comprehensive educational guide for the Brazil Imóvel Capital Gains Calculator. Check back soon for step-by-step explanations, formulas, real-world examples, and expert tips.
Ganho de capital na alienação de imóveis (capital gains on real estate sales) in Brazil refers to the profit earned when selling a property, which is subject to a special income tax regime separate from the standard IRPF rates. The tax applies to the difference between the sale price and the original acquisition cost (custo de aquisição) of the property, calculated using the GCAP (Programa de Apuração de Ganhos de Capital) software provided by the Receita Federal. The progressive tax rates applicable from 2017 onwards are: 15% on gains up to R$5 million, 17.5% on gains between R$5 million and R$10 million, 20% on gains between R$10 million and R$30 million, and 22.5% on gains exceeding R$30 million. An important exemption exists: a property sold for up to R$440,000 is exempt from capital gains tax if the seller has not sold another property in the preceding 5 years. Additionally, if the seller reinvests the full proceeds of the sale into another residential property (or properties) within 180 days, they can apply a proportional exemption on the gain corresponding to the reinvested amount. Inflation correction of the original acquisition cost was permitted until 1995, when it was frozen. Properties held before 1988 benefit from a reducing factor that further reduces the taxable gain based on years of ownership. The gain must be reported and the tax paid using the GCAP software by the last business day of the following month after the sale — not at the time of the annual IRPF declaration.
Capital Gain = Sale Price - Original Acquisition Cost - Allowable Costs; Tax = Gain × Applicable Rate (15% to 22.5%); Reinvestment Exemption = Gain × (Reinvested Amount / Total Sale Price); GCAP calculates automatically based on inputs
- 1Determine the sale price from the purchase and sale agreement (escritura de compra e venda).
- 2Establish the cost of acquisition from the original purchase deed, including the purchase price, notary fees, ITBI (property transfer tax), and registration fees.
- 3Identify allowable cost improvements (reformas e benfeitorias) that were not previously deducted from income — these increase the cost base.
- 4Download the GCAP software from Receita Federal and enter all the required data including property details, acquisition cost, and sale price.
- 5Check whether any exemption applies: single property under R$440,000 (no prior sale in 5 years) or residential reinvestment within 180 days.
- 6The GCAP software calculates the taxable gain and generates a DARF (tax payment form) for the applicable capital gains tax.
- 7Pay the DARF by the last business day of the month following the sale — typically via internet banking or at a bank branch.
15% rate applies to gains up to R$5 million; tax paid via DARF not via annual IRPF
Gain = R$600K - R$200K = R$400K. Tax = R$400K × 15% = R$60,000. DARF due last business day of following month.
Exemption requires: sale value ≤ R$440,000 AND no other residential property sold in preceding 5 years
R$420,000 ≤ R$440,000 and no prior sale in 5 years. Full exemption. No GCAP or DARF required.
Exemption is proportional to reinvestment — reinvest 60% of proceeds = 60% exemption
Reinvestment ratio = R$300K / R$500K = 60%. Exempt gain = R$200K × 60% = R$120K. Taxable = R$80K. Tax = R$12K.
Documented improvements increase the cost base, reducing the taxable gain
Cost base = R$300K + R$80K = R$380K. Gain = R$500K - R$380K = R$120K. Tax = R$120K × 15% = R$18,000.
A property owner calculating the capital gains tax before deciding to sell an investment apartment that has appreciated significantly.. This application is commonly used by professionals who need precise quantitative analysis to support decision-making, budgeting, and strategic planning in their respective fields
A seller determining whether to reinvest within 180 days to claim a proportional exemption on a large capital gain.. Industry practitioners rely on this calculation to benchmark performance, compare alternatives, and ensure compliance with established standards and regulatory requirements
An accountant using GCAP to calculate the correct capital gain and generate the DARF for a client selling a commercial property.. Academic researchers and students use this computation to validate theoretical models, complete coursework assignments, and develop deeper understanding of the underlying mathematical principles
A real estate lawyer advising on whether the R$440,000 exemption applies to a first-time seller below the threshold.. Financial analysts and planners incorporate this calculation into their workflow to produce accurate forecasts, evaluate risk scenarios, and present data-driven recommendations to stakeholders
A property developer calculating the aggregate capital gains tax across multiple unit sales in a residential development.. This application is commonly used by professionals who need precise quantitative analysis to support decision-making, budgeting, and strategic planning in their respective fields
Usucapião and Adverse Possession
{'title': 'Usucapião and Adverse Possession', 'body': 'Property acquired through usucapião (adverse possession) has a cost base of zero (no purchase payment was made). The entire sale price constitutes a taxable capital gain. Owners in this situation often face a significant tax bill on sale.'} When encountering this scenario in brazil real estate gain calculations, users should verify that their input values fall within the expected range for the formula to produce meaningful results. Out-of-range inputs can lead to mathematically valid but practically meaningless outputs that do not reflect real-world conditions.
Rural Property
{'title': 'Rural Property', 'body': 'Rural property sales have additional complexity — the ITR (imposto territorial rural) paid during ownership can be added to the cost base. Rural property sold by rural producers may also qualify for specific exemptions or special calculation rules under agricultural income tax provisions.'} This edge case frequently arises in professional applications of brazil real estate gain where boundary conditions or extreme values are involved. Practitioners should document when this situation occurs and consider whether alternative calculation methods or adjustment factors are more appropriate for their specific use case.
Property Swap (Permuta)
{'title': 'Property Swap (Permuta)', 'body': 'In a direct property swap (permuta), if no money changes hands, the capital gain is calculated on the difference between the values declared at the time of swap. If one party pays additional consideration (torna), capital gains apply only to that additional amount. Direct swaps without payment may qualify for deferral in some cases.'}
Foreign Buyer or Seller
{'title': 'Foreign Buyer or Seller', 'body': "Non-resident sellers are subject to a withholding tax (IRRF) on capital gains at 25% on the gain (or 15% if from a low-tax jurisdiction treaty country), withheld by the buyer's notary at the time of registration. This differs from the rates applicable to Brazilian residents."}
| Capital Gain (R$) | Tax Rate | Tax on Boundary |
|---|---|---|
| Up to R$5,000,000 | 15% | R$750,000 |
| R$5,000,001 to R$10,000,000 | 17.5% | R$1,625,000 total |
| R$10,000,001 to R$30,000,000 | 20% | R$5,625,000 total |
| Above R$30,000,000 | 22.5% | Progressive |
When must the capital gains tax on property be paid?
The capital gains tax must be paid by the last business day of the month following the sale. For example, if a property is sold in March, the DARF must be paid by the last business day of April. This is different from the annual IRPF return deadline — the gain is separately calculated and paid in the same year as the sale.
Can the principal residence be sold tax-free?
The sale of a principal residence is not automatically exempt. The R$440,000 exemption applies if the property is sold for at most R$440,000 and no other residential property has been sold in the past 5 years, regardless of whether it is a principal residence. The reinvestment exemption also applies if proceeds are reinvested in another residence within 180 days.
What is GCAP and is it mandatory?
GCAP (Programa de Apuração de Ganhos de Capital) is the Receita Federal's free software for calculating and reporting capital gains from property and other asset sales. Its use is required for all real estate capital gains calculations. The software generates the DARF for payment and creates a file that links to the annual IRPF declaration.
What improvement costs can be added to the cost base?
Capital improvements (benfeitorias and reformas) that permanently increase the property's value can be added to the acquisition cost: major renovations, extensions, installation of pool/sauna, structural work, and permanent fixtures. Routine maintenance and repairs cannot be capitalised. All improvements must be documented with receipts (notas fiscais). This is an important consideration when working with brazil real estate gain calculations in practical applications.
What if the property was inherited?
For inherited property, the cost base is the value declared in the estate (inventário) at the time of inheritance, updated to the values used in the last ITCMD (inheritance tax) calculation. If the estate declared a very low value, a large taxable gain may arise on subsequent sale. This is an important consideration when working with brazil real estate gain calculations in practical applications.
Is there any inflation adjustment on the acquisition cost?
Inflation adjustment of the acquisition cost was permitted until 31 December 1995. After that date, no further inflation adjustment is allowed. Properties purchased after 1996 use the historical nominal purchase price as the cost base, meaning any gains include inflation as well as real appreciation. This is an important consideration when working with brazil real estate gain calculations in practical applications.
What is the reducing factor for older properties?
Properties acquired before 1988 benefit from a reducing factor (fator de redução) that decreases the taxable gain based on the number of months of ownership before that date. This recognises that very old properties accumulated gains under different tax regimes and provides relief for long-term owners. In practice, this concept is central to brazil real estate gain because it determines the core relationship between the input variables.
Can capital losses offset capital gains?
Yes. Capital losses on property sales can offset capital gains on other property sales in the same month. If losses exceed gains in a month, the surplus loss can only be used against gains from the same asset category in future months — it cannot be used to reduce other income or accumulated indefinitely without restriction.
Pro Tip
If you plan to reinvest in a new residence, time your property sale to maximise the 180-day reinvestment window. Start the new property search before selling — having a signed purchase contract for the new property within 180 days of the sale date secures the proportional tax exemption on the gain.
Did you know?
Brazil's property market has seen enormous price appreciation over the past 20 years, particularly in São Paulo and Rio de Janeiro. A property purchased in 2004 in Itaim Bibi (São Paulo) for R$200,000 might sell for R$1.5 million today — a R$1.3 million gain subject to R$195,000 in capital gains tax, more than the original purchase price.