CDB vs. Treasury Direct: Which Investment Yields More for You?
Do you have savings and are unsure whether to invest in a bank’s CDB or purchase a Treasury Direct bond? This is one of the most common questions among those taking their first steps in the world of investments — and also among those who have been investing for a while and want to optimize their returns. The good news is that both options belong to the fixed income category, meaning you know in advance how the return will be calculated. The bad news is that “fixed income” does not mean risk-free or guaranteed profit in any scenario.
The answer to “which yields more” depends on variables that change over time — such as the Selic rate, the investment term, the amount invested, and, of course, the specific conditions of each product. Therefore, instead of pinpointing a number that may be outdated tomorrow, this article will teach you how to compare the two products intelligently, understand what is behind each one, and make more informed decisions.
We will go from the basics to advanced, step by step.
What is Treasury Direct?
Treasury Direct is a federal government program, created in partnership with B3, that allows individuals to buy public bonds online. By investing in the Treasury, you are, in practice, lending money to the Brazilian government and receiving interest in return.
The main bonds available are:
- Treasury Selic: yields according to the Selic rate, the basic interest rate of the economy. It is most suitable for emergency reserves due to its low volatility and daily liquidity.
- Fixed-Rate Treasury: offers an interest rate set at the time of purchase. You know exactly how much you will receive at maturity — but if you need to redeem early, the amount may be less than invested.
- Treasury IPCA+: combines a fixed rate with the variation of the IPCA (official inflation index). It protects purchasing power in the long term but also suffers price fluctuations if redeemed before maturity.
To check the available bonds and their current rates, visit the official website: tesourodireto.com.br. Rates change daily according to the market, so always check the source.
What is a CDB?
The CDB (Certificate of Bank Deposit) is a bond issued by banks and financial institutions. By purchasing a CDB, you are also making a loan — but this time to the bank, which uses this money to finance its credit operations.
CDBs can be:
- Post-fixed: yield a percentage of the CDI (Interbank Deposit Certificate), a rate very close to the Selic. Example: “120% of the CDI”.
- Fixed-rate: rate defined at the time of application, regardless of what happens with interest rates.
- Linked to IPCA: similar to Treasury IPCA+, combines inflation with a fixed rate.
The CDI is a reference rate in the interbank market, published daily by B3. To check the current CDI value, visit b3.com.br or the Central Bank’s website (bcb.gov.br).
Taxation: What You Need to Know Before Comparing
Before comparing gross returns, it is essential to understand the taxation, which is identical for CDB and Treasury Direct: both follow the regressive income tax (IR) table for individuals, according to Federal Revenue rules.
The logic is simple: the longer you leave the money invested, the lower the IR rate will be. The table works as follows:
- Up to 180 days: 22.5% on the return
- From 181 to 360 days: 20%
- From 361 to 720 days: 17.5%
- Above 720 days: 15%
In addition to the IR, there is the IOF (Tax on Financial Operations), charged only on redemptions made in less than 30 days. After 30 days, the IOF is zero.
Attention: these rates apply only to the return, not to the total amount invested. And both products have the same taxation, which means that when comparing, IR is not a differentiating factor — but the term you intend to keep the investment is crucial for planning.
Risk and Security: FGC vs. National Treasury
This is a point where the two products differ significantly.
Treasury Direct
Public bonds are guaranteed by the National Treasury, that is, by the federal government itself. In practice, they are considered the lowest credit risk investments in the Brazilian market, as they depend on the government’s ability to honor its debts.
However, note: market risk exists. If you buy a Fixed-Rate Treasury or IPCA+ and need to sell before maturity, the amount may be less than applied, depending on market conditions at that time. Only the Treasury Selic has more stable behavior in this aspect.
CDB
CDBs are guaranteed by the FGC (Credit Guarantee Fund), a private entity that protects investors in case of bankruptcy of the issuing institution. The current coverage limit is R$ 250,000 per CPF per financial institution, with a global ceiling of R$ 1 million per CPF every four years. To confirm updated limits, consult fgc.org.br.
The credit risk varies according to the issuing bank: CDBs from smaller banks usually offer higher rates precisely to attract investors, but the risk of default is proportionally higher — hence the importance of the FGC as protection.
How to Compare: CDB vs. Treasury Direct in Practice
To facilitate visualization, see the main points of comparison:
Criterion Treasury Direct CDB Issuer Federal Government Banks and financial institutions Guarantee National Treasury FGC (up to R$ 250,000 per institution) Liquidity Daily (Treasury Selic) or at maturity Depends on the issuer; some have daily liquidity Taxation Regressive IR table + IOF Regressive IR table + IOF Typical Yield Varies by bond Varies from 80% to 130%+ of CDI Where to Buy tesourodireto.com.br or brokers Banks, brokers, and digital platforms The comparison of profitability must be made after IR (net profitability), because a CDB of 120% of CDI may seem very attractive, but if redeemed in less than 180 days, the 22.5% rate reduces the real gain. Always compare net yields over the same period.
If you are starting to organize your financial life and want to understand better where to start investing, I recommend reading the article Best Investments for Beginners in 2026: Where to Start, here on the blog.
Advantages and Disadvantages of Each
Treasury Direct
Advantages:
- Issued by the government, with lower credit risk
- Variety of bonds for different goals (short, medium, and long term)
- Accessible from low amounts
- Total transparency: rates and conditions published daily
Disadvantages:
- Fixed-Rate and IPCA+ Treasury can have negative market value before maturity
- There may be a custody fee charged by B3 (check current conditions at tesourodireto.com.br)
- Liquidity of Fixed-Rate and IPCA+ can be penalizing if you redeem at the wrong time
CDB
Advantages:
- Wide variety of issuers and rates, allowing for better conditions
- FGC protection up to R$ 250,000 per institution
- Some CDBs offer daily liquidity with competitive rates
Disadvantages:
- Credit risk varies according to the issuing bank
- CDBs without daily liquidity can lock your money for months or years
- More attractive rates usually come from banks with higher risk
Step-by-Step to Make a More Informed Decision
- Define your goal: is it an emergency reserve, travel, retirement? The term changes everything.
- Evaluate the term: for short term (up to 1 year), prefer products with liquidity. For long term, explore options with better rates.
- Compare net yields: use official simulators from Treasury Direct and brokers, always with IR deducted.
- Check current rates: CDI, Selic, and IPCA change constantly. Consult the Central Bank (bcb.gov.br) and B3.
- Check the CDB issuer: if it is a smaller bank, confirm that the amount is within the FGC limit.
- Do not concentrate everything in a single product: diversification is a prudent risk management strategy.
Conclusion: There is No Single Answer
CDB and Treasury Direct are solid, transparent, and regulated products — each with its own characteristics that serve different profiles and objectives. There is no absolute winner: a CDB of 120% of CDI with daily liquidity may outperform the Treasury Selic in some scenarios; in others, the Treasury IPCA+ may be more suitable to protect purchasing power in the long term.
The most important thing is to understand what is behind each product, compare net IR rates, respect your term, and not make decisions based solely on the announced gross yield. Investing with clarity is more effective than investing in haste.
To deepen your knowledge of personal finance and other types of investment, also check out the guide Best Investments for Beginners in 2026: Where to Start and keep following the Educação em Finanças blog.
> Important Note: This article is for educational and informational purposes only. It does not constitute investment recommendation, financial product offer, or personalized advice. Before making investment decisions, consult a duly registered investment professional with the CVM (Securities and Exchange Commission). All investments involve risks, including the possibility of losing invested capital.
- Evaluate the term: for short term (up to 1 year), prefer products with liquidity. For long term, explore options with better rates.
- Define your goal: is it an emergency reserve, travel, retirement? The term changes everything.
- From 181 to 360 days: 20%
- Fixed-rate: rate defined at the time of application, regardless of what happens with interest rates.
- Fixed-Rate Treasury: offers an interest rate set at the time of purchase. You know exactly how much you will receive at maturity — but if you need to redeem early, the amount may be less than invested.
