Money and Finance

Tesouro Direto Explained: Selic, Prefixado, IPCA+ and the Risk of Selling Early

How Tesouro Direto bonds work in Brazil: Selic, Prefixado and IPCA+, the custody fee, income tax, mark-to-market prices and when selling early loses money.

Saizul Amin
Saizul Amin3 Nov 2026 · 3 min read
Tesouro Direto Explained: Selic, Prefixado, IPCA+ and the Risk of Selling Early

Tesouro Direto made government bonds accessible to anyone in Brazil with a few reais and a bank app. It is considered the safest investment in the country, but many investors are surprised when their balance falls. The reason is mark-to-market. This guide explains how each bond works and how to simulate holding or selling with the free Tesouro Direto Simulator.

What Tesouro Direto is

Tesouro Direto is a programme of the National Treasury and B3 that lets individuals buy federal government bonds online, from about R$30, through banks and brokers. The government is the borrower, so the credit risk is the lowest in the country.

The three main bonds

Tesouro Selic pays the Selic rate. Its price moves very little day to day, which makes it suitable for an emergency fund and short-term goals.

Tesouro Prefixado pays a fixed annual rate, known on the day of purchase. If you hold it until maturity, you know exactly how much you will receive.

Tesouro IPCA+ pays inflation (IPCA) plus a fixed real rate. It protects purchasing power and suits long-term goals such as retirement. Some versions pay half-yearly interest.

Costs

  • B3 custody fee: 0.20% a year on the amount invested. For Tesouro Selic, it is waived up to R$10,000.
  • Income tax on the gain, following the regressive table: 22.5% up to 180 days, 20% up to 360, 17.5% up to 720 and 15% after that.
  • IOF on gains redeemed in the first 30 days.

Mark-to-market

The contracted rate is guaranteed only at maturity. Before that, the Treasury buys back bonds daily at the market price, which depends on current rates.

For a Prefixado, the price is roughly:

price = value at maturity ÷ (1 + market rate) ^ years remaining

  • If market rates rise after you buy, the price falls. Selling early can mean receiving less than the accrued value, or even less than you invested.
  • If market rates fall, the price rises, and selling early can give more than the contracted rate.

Longer bonds are more sensitive. Tesouro Selic barely changes because its rate adjusts automatically.

How to use the simulator

  1. Choose Tesouro Selic, Prefixado or IPCA+.
  2. Enter the amount invested and the rate at purchase.
  3. Enter the years to maturity, and expected inflation for IPCA+.
  4. Enter when you might sell early and the market rate at that time.
  5. Read the net value at maturity, the net value if sold early, the mark-to-market effect and the custody fees.

Example

An investor puts R$30,000 into a Prefixado at 13.2% a year for four years. Held to maturity, it grows to about R$49,261 gross and about R$46,168 net of custody and 15% income tax.

If after 18 months market rates rise to 15%, the bond's price falls: selling then gives about R$1,397 less than the value accrued at 13.2%. If rates fall to 11% instead, selling gives about R$1,817 more.

Choosing a bond

  • Emergency fund: Tesouro Selic.
  • A goal with a fixed date: a Prefixado or IPCA+ maturing near that date.
  • Retirement: IPCA+, ideally without half-yearly coupons to maximise compounding.

Why rates move

Market rates for government bonds change every day with expectations for inflation, the Selic, public finances and the global economy. When investors expect higher inflation or more government borrowing, they demand higher rates, which pushes down the price of bonds already issued. Following these factors helps you understand your statement, but trying to time the market is difficult even for professionals.

Tips

  • Match the maturity to your goal so you do not need to sell early.
  • Spread purchases over time to average the rates.
  • Check rates and prices on the Tesouro Direto site, which shows them throughout the day.
  • Remember the custody fee when comparing with CDBs.
  • Your balance in the app shows the mark-to-market value; a temporary fall does not matter if you hold to maturity.

Limits

Rates in the example are illustrations, and real prices use business days and official rounding. This is not investment advice.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages