How to Report Stock Sales on Income Tax in Brazil
Investing in the stock market can be a wise decision within a long-term diversification strategy — but selling stocks without understanding tax obligations can lead to serious headaches with the Federal Revenue Service. Many investors, especially beginners, are surprised to discover that there are different rules depending on the amount sold, the type of transaction, and even the timing of the sale.
The good news is that the system, although seemingly complex at first glance, follows a fairly clear logic once you understand the main concepts. In this article, we will explain step by step how taxation on stock sales in Brazil works and how to report it correctly on your Income Tax — whether through Carnê-Leão, DARF, or the Annual Declaration.
It’s worth emphasizing: this content is based on the current rules according to Brazilian legislation and guidelines from the Federal Revenue Service. As tax regulations can be updated, always confirm the latest information directly on the Federal Revenue Service website before filling out your declaration.
First Things First: Understanding the Basic Concepts
To report correctly, you need to master some fundamental terms:
- Capital gain: is the positive difference between the sale price and the acquisition cost of the stocks. This is the amount on which the tax is levied.
- Acquisition cost: total amount paid for the stocks, including brokerage and B3 fees.
- Day trade: buying and selling the same stock on the same day.
- Swing trade / common operation: buying and selling on different days.
- DARF: Federal Revenue Collection Document, used to collect the assessed tax.
These concepts define which tax rate applies and the deadline for tax payment.
Who Needs to Report and When Is Tax Payable
This is where one of the biggest confusions among investors lies: reporting and paying tax are different things.
When you are required to report
You must include your transactions in the Annual Income Tax Adjustment Declaration if:
- You carried out any stock market transactions during the calendar year, regardless of the amount or result.
- You met any other criteria for mandatory reporting by the Federal Revenue Service (taxable income above the limit, assets above a certain value, etc.).
In other words, even if you do not owe tax, simply making a stock sale may require you to report.
When there is tax to pay (and when there is exemption)
The most well-known rule is the exemption for stock sales in the cash market up to R$ 20,000.00 per month in common operations (swing trade). If the total stock sales in a month do not exceed this limit, the profit obtained is exempt from IR.
Attention: this exemption does not apply to day trade. Day trade transactions are always taxed, regardless of the amount.
| Type of Operation | Monthly Exemption Limit | Rate on Profit |
|---|---|---|
| Common operation (swing trade) | R$ 20,000.00 in sales | 15% on the gain |
| Day trade | No exemption | 20% on the gain |
Always check with the Federal Revenue Service if these values have been updated.
How to Calculate Capital Gain
Capital gain is calculated as follows:
Gain = Sale Price – Average Acquisition Cost – Operational Costs
The operational costs that can be deducted include:
- Brokerage paid to the broker
- B3 fees
- Settlement fees
Practical example
Imagine you bought 100 shares of a company at R$ 30.00 each, paying R$ 15.00 in brokerage. Months later, you sold those 100 shares at R$ 40.00 each, paying another R$ 15.00 in brokerage.
- Acquisition cost: (100 × R$ 30.00) + R$ 15.00 = R$ 3,015.00
- Sale value: (100 × R$ 40.00) − R$ 15.00 = R$ 3,985.00
- Capital gain: R$ 3,985.00 − R$ 3,015.00 = R$ 970.00
If the total sales in the month did not exceed R$ 20,000.00, this gain is exempt. Otherwise, 15% applies to the R$ 970.00 = R$ 145.50 in IR.
How and When to Pay the DARF
Unlike the tax on salary (which is withheld at source by the employer), the IR on stock sales is the investor’s responsibility. You must calculate and pay by the last business day of the month following the transaction.
Step-by-step to issue and pay the DARF
- Access the Federal Revenue Service website or use the SICALC program (available on the Revenue portal) to generate the DARF.
- Enter the revenue code:
- 6015 — for common operations (swing trade)
- 6015 is also used for day trade by individuals (confirm the current code with the Federal Revenue Service, as codes may be revised).
- Enter the assessment period (reference month) and the tax amount to be collected.
- Pay the DARF via internet banking, lottery outlets, or bank branches by the due date.
Do not pay the DARF late without calculating interest and penalties. The penalty is 0.33% per day, limited to 20%, plus interest by the accumulated Selic rate. To understand how Selic impacts corrections and investments, see this article: Selic Rate: What It Is and How It Affects Your Money.
Losses Can Be Utilized
A very favorable point for the investor: losses can be offset against future profits, reducing the tax to be paid.
The offsetting rules are:
- Losses in common operations only offset profits in common operations.
- Losses in day trade only offset profits in day trade.
- There is no expiration date for accumulated losses — they can be carried forward indefinitely.
Therefore, it is essential to maintain a monthly control of all transactions, recording profits, losses, and the accumulated balance of each category.
How to Report in the Annual IRPF Declaration
In addition to paying the DARF monthly when tax is due, you need to record all transactions in the Annual Adjustment Declaration, usually submitted between March and May of the following year. See where to report each data:
1. Assets and Rights
- Report the stocks you own on December 31, in the “Assets and Rights” section.
- Group code: 3 – Societal Participations; asset code: 01 – Stocks.
- Report the acquisition cost, not the market value — this is a fundamental rule.
2. Variable Income
- Access the “Variable Income” → “Common/Day Trade Operations” section.
- For each month, report: net result of common operations, net result of day trade, tax paid via DARF, and tax withheld at source (IR withheld at source, which brokers automatically do at a small rate as an advance — 0.005% for common operations and 1% for day trade on gross profit).
3. Exempt and Non-Taxable Income
- Profits in common operations with monthly sales up to R$ 20,000.00 must be reported in this section, even if exempt, for Federal Revenue control purposes.
Note on the Broker’s Income Report
Your broker annually sends the Income Report, which contains:
- The IR withheld at source (snitch)
- Custody position on 12/31
- Balance of accumulated losses
This document is an important aid, but does not replace the investor’s own control. The report may not accurately reflect acquisition costs if you traded through multiple brokers or made custody transfers. Check the data with your own brokerage notes.
Common Mistakes When Reporting Stocks
- Not reporting because you think you’re exempt: the R$ 20,000 exemption exempts from tax, but not from the obligation to report.
- Confusing market value with acquisition cost: in the Assets and Rights section, always report the cost paid, never the current quote.
- Forgetting to offset losses: many investors pay more tax than they should by not recording accumulated losses.
- Delaying DARF payment: interest and penalties accrue automatically.
- Mixing day trade with common operation in the calculation: the rules are different and must be treated separately.
Practical Conclusion

Reporting stock sales on Income Tax requires organization throughout the entire year — not just during tax season. Ideally, maintain a monthly spreadsheet of all transactions, calculate net gain, check for exemptions, issue the DARF when necessary, and keep the receipts.
If you are starting to invest in variable income, understanding taxation before operating is as important as understanding market risks. Remember: every investment strategy involves risk, including the possibility of capital loss. Good investment diversification can help balance risks and opportunities over time.
In case of specific doubts about your situation, consult an accountant experienced in investments or an advisor registered with the CVM, especially if you have a significant volume of transactions or more complex situations, such as stocks received by inheritance or transfers between brokers.
This content is for educational and informational purposes only. It does not constitute investment recommendation, financial advice, or personalized tax consultancy. For investment decisions and tax declarations, consult a qualified professional or investment advisor registered with the Securities and Exchange Commission (CVM).
