One of the most overlooked edges in personal finance is not which stocks you pick. It is where you hold your money. The account type you choose determines how and when the government takes its cut. Understanding that distinction across brokerage accounts, bank accounts, and retirement accounts can mean tens of thousands of dollars over a lifetime of saving and investing.
Most people focus exclusively on what to invest in. The professionals also focus on where to hold those investments. Two investors could own the exact same assets and end up with meaningfully different after-tax outcomes simply because of the accounts they used.
The tax treatment of an account affects three key moments: when you contribute, when your money grows, and when you withdraw. Some accounts tax you upfront but let your money grow and come out completely free. Others give you a break now but collect later. And some offer no tax advantage at all, but come with the flexibility that the others lack.
Taxes are one of the largest drags on long-term investment returns. Using the right account type for each dollar you save is one of the highest-leverage moves in personal finance, and it costs you nothing to do it correctly.
The accounts covered in this article fall into three broad categories: brokerage accounts, bank accounts, and retirement accounts. Each plays a different role, and most investors benefit from using several of them together.
A brokerage account is any account held at a brokerage firm that allows you to buy and sell investment securities such as stocks, bonds, ETFs, and mutual funds. Not all brokerage accounts are treated the same when it comes to taxes.
This is a standard, non-retirement investing account. You fund it with after-tax dollars, and there are no annual contribution limits, no rules about when you can withdraw, and no restrictions on what you can invest in. The flexibility is unmatched.
The tax treatment requires attention. Any dividends or interest paid into the account are taxable in the year you receive them, even if you reinvest them. When you sell a position at a gain, you owe capital gains tax.
If you sell a position held for one year or less, the profit is a short-term capital gain, taxed at your ordinary income rate — which can range from 10% to 37%. If you have held the position for more than one year, the profit is a long-term capital gain, taxed at a preferential rate: 0%, 15%, or 20% depending on your income. This distinction alone is a powerful reason to hold winning positions longer than a year when possible.
Losses in a taxable account can also work in your favor. If you sell a losing position, that loss can offset capital gains you have realized elsewhere, reducing your tax bill. This strategy is called tax-loss harvesting, and it is one of the few legal ways to extract value from a losing trade.
A margin account is a taxable brokerage account with one added feature: the ability to borrow money from your broker to buy more securities than your cash balance alone would allow. The tax treatment of gains and losses remains the same as in a standard taxable account. What changes is your risk profile, since borrowing to invest amplifies both potential gains and potential losses. Interest paid on margin loans may be deductible against net investment income, but this is worth discussing with a tax professional before acting on it.
Suppose you have a $5,000 gain on one stock and a $3,000 unrealized loss on another. If you sell both before year-end, you only pay capital gains tax on the net $2,000 gain. The $3,000 loss shielded $3,000 of gains from taxation. Losses that exceed your gains in a given year can also offset up to $3,000 of ordinary income annually, with any remaining losses carried forward to future years.
Bank accounts are not investment accounts, but they are still part of a complete financial picture. The tax rules are straightforward, and these accounts serve important roles in cash management and emergency planning.
A standard checking account earns little to no interest. When it does pay interest, that interest is taxable as ordinary income in the year it is received. For most checking accounts, the amounts involved are small enough that the tax impact is negligible.
Traditional savings accounts and high-yield savings accounts both pay interest, and all of that interest is fully taxable as ordinary income in the year it is credited to your account. With HYSAs now paying rates that can be meaningfully above inflation, this is no longer a trivial amount for many savers.
At year-end, your bank will issue a 1099-INT form for any interest earned above $10. This income is reported on your federal tax return and taxed at your marginal income tax rate. There are no special preferential rates for bank interest.
Interest earned on savings accounts is generally taxable at both the federal and state level. However, interest earned on U.S. Treasury securities, available through TreasuryDirect or certain money market funds, is exempt from state and local income taxes. This can be a meaningful distinction for investors in high-tax states.
A money market account is a type of savings account that typically offers a higher interest rate in exchange for a higher minimum balance requirement. The tax treatment is identical to a standard savings account: all interest earned is ordinary income, reported on a 1099-INT, and taxable in the year received.
Do not confuse a money market account at a bank with a money market fund at a brokerage. They are different products. Money market funds held in a taxable brokerage account may distribute both ordinary income and, if they hold municipal bonds, tax-exempt income.
A CD is a time deposit: you agree to leave your money with the bank for a fixed period, typically anywhere from three months to five years, in exchange for a guaranteed interest rate. The tax rules have one important nuance.
Interest on a CD is taxable in the year it is earned, not necessarily the year you receive it. For a multi-year CD that pays at maturity, the IRS still requires you to report accrued interest each year, even if you have not yet received the cash. This is known as phantom income, and it can catch savers off guard. Short-term CDs generally avoid this issue since they mature within the same tax year they are opened.
Retirement accounts are where the tax code becomes genuinely powerful. Congress created these accounts as an incentive for long-term saving, and the benefits are substantial. The trade-off is that most retirement accounts come with rules around contribution limits and withdrawal timing.
A 401(k) is an employer-sponsored retirement plan. You contribute pre-tax dollars directly from your paycheck, which reduces your taxable income in the year you contribute. The money then grows tax-deferred, meaning you pay no taxes on dividends, interest, or capital gains while the money remains in the account. You only pay ordinary income tax when you withdraw in retirement.
The 2025 contribution limit is $23,500 for employees under age 50, with a $7,500 catch-up contribution allowed for those 50 and older. If your employer offers a match, it is effectively free money and should always be captured before contributing anywhere else. Withdrawals before age 59½ are generally subject to both ordinary income tax and a 10% early withdrawal penalty. Required Minimum Distributions (RMDs) begin at age 73.
Many employer plans now offer a Roth 401(k) option alongside the traditional version. With a Roth 401(k), you contribute after-tax dollars, so there is no upfront tax deduction. The benefit: your money grows completely tax-free, and qualified withdrawals in retirement are also tax-free. The contribution limits are the same as a traditional 401(k), and you can split contributions between the two types in any combination up to the annual limit.
An Individual Retirement Account (IRA) is opened directly with a brokerage firm, independent of any employer. Traditional IRA contributions may be tax-deductible depending on your income and whether you or your spouse have access to an employer plan. If deductible, contributions reduce your taxable income now. The money grows tax-deferred and is taxed as ordinary income upon withdrawal in retirement.
The 2025 contribution limit is $7,000 per year ($8,000 if you are 50 or older). Early withdrawals before 59½ are generally subject to income tax plus a 10% penalty, and RMDs apply beginning at age 73.
If your income is too high to deduct a traditional IRA contribution but you still want to contribute, you can make a non-deductible contribution. You do not get the upfront deduction, but your money still grows tax-deferred. Tracking these contributions carefully is important to avoid being taxed twice on the same dollars at withdrawal.
The Roth IRA is funded with after-tax dollars, so contributions are never deductible. In exchange, your money grows completely tax-free, and qualified withdrawals after age 59½ (with the account open at least five years) are also tax-free. You also have flexibility not found in other retirement accounts: your contributions (not earnings) can be withdrawn at any time, tax-free and penalty-free.
The Roth IRA has no Required Minimum Distributions during the owner's lifetime, making it an effective wealth transfer tool. The contribution limits are the same as the traditional IRA, but income limits apply. In 2025, the ability to contribute phases out for single filers above $150,000 and for married filers above $236,000 in modified adjusted gross income.
High earners who exceed the Roth IRA income limits have a workaround: contribute to a non-deductible traditional IRA and then convert it to a Roth IRA. This is legal and widely used, but involves some complexity. If you have other pre-tax IRA money, the pro-rata rule may create an unexpected tax bill. Consult a tax professional before executing this strategy.
A SEP IRA is designed for self-employed individuals and small business owners. Contributions are made pre-tax and reduce taxable income. The money grows tax-deferred, and withdrawals in retirement are taxed as ordinary income. The contribution limit is significantly higher than a standard IRA: up to 25% of compensation, with a maximum of $70,000 in 2025. This makes the SEP IRA one of the most powerful tax-deferral tools available to the self-employed.
A SIMPLE (Savings Incentive Match Plan for Employees) IRA is another option for small businesses and self-employed individuals. It works similarly to a 401(k): employees contribute pre-tax dollars and employers are required to either match or make a fixed contribution for all eligible employees. Money grows tax-deferred, and withdrawals are taxed as ordinary income. The 2025 employee contribution limit is $16,500. One notable restriction: withdrawals within the first two years of participating face a steeper 25% early withdrawal penalty rather than the standard 10%.
A 403(b) is functionally similar to a 401(k) but is available only to employees of public schools, nonprofits, and certain other tax-exempt organizations. The contribution limits, tax treatment, and withdrawal rules are essentially the same as a 401(k). Both traditional and Roth versions are typically available through employers that offer a 403(b) plan.
The HSA is often called the triple tax advantage account because it offers a benefit at every stage. Contributions are pre-tax, money grows tax-free, and withdrawals for qualified medical expenses are also tax-free. No other account in the tax code offers this combination at all three stages.
To contribute to an HSA, you must be enrolled in a qualifying high-deductible health plan. The 2025 contribution limits are $4,300 for individual coverage and $8,550 for family coverage. Unused balances roll over indefinitely, with no use-it-or-lose-it rule. After age 65, you can withdraw for any purpose and simply pay ordinary income tax, making the HSA function like a traditional IRA once you are past the medical window.
The table below summarizes the tax treatment of each account type at the three key stages: contribution, growth, and withdrawal.
| Account | Contribution | Growth | Withdrawal |
|---|---|---|---|
| Taxable Brokerage | After-tax | Dividends/interest taxed annually; capital gains on sale | Capital gains tax on profits |
| Checking / Savings | After-tax | Interest taxed as ordinary income | No tax on principal; interest already taxed |
| High-Yield Savings | After-tax | Interest taxed as ordinary income | No tax on principal; interest already taxed |
| Money Market Account | After-tax | Interest taxed as ordinary income | No tax on principal; interest already taxed |
| CD | After-tax | Interest taxed as earned each year | No additional tax; interest already taxed |
| Traditional 401(k) | Pre-tax ✓ Deduction | Tax-deferred ↗ | Ordinary income tax |
| Roth 401(k) | After-tax | Tax-free ✓ | Tax-free (qualified) ✓ |
| Traditional IRA | Pre-tax (if deductible) ✓ | Tax-deferred ↗ | Ordinary income tax |
| Roth IRA | After-tax | Tax-free ✓ | Tax-free (qualified) ✓ |
| SEP IRA | Pre-tax ✓ Deduction | Tax-deferred ↗ | Ordinary income tax |
| SIMPLE IRA | Pre-tax ✓ Deduction | Tax-deferred ↗ | Ordinary income tax |
| 403(b) | Pre-tax or after-tax | Tax-deferred or tax-free | Ordinary income (traditional) or tax-free (Roth) |
| HSA | Pre-tax ✓ Deduction | Tax-free ✓ | Tax-free for medical; ordinary income after 65 |
Knowing the accounts is step one. Knowing how to stack them is what actually moves the needle. The goal is to put each dollar in the account that gives it the best tax outcome, given your current situation and where you expect to be in the future.
A practical order of operations that works for most people in the accumulation phase:
If you expect to be in a higher tax bracket in retirement than you are today, Roth accounts are generally the better choice. You pay tax now at a lower rate and enjoy tax-free withdrawals later. If you expect to be in a lower bracket in retirement, traditional pre-tax accounts make more sense. Many investors benefit from having both types to give themselves flexibility later.
Not sure which is right for your situation? Our interactive Roth vs. Traditional 401(k) Tool walks you through a few quick questions and gives you a personalized recommendation based on your income, tax situation, and retirement timeline.
The account you use is not a detail to figure out later. It is a foundational decision that shapes your after-tax outcome for decades. Brokerage accounts offer flexibility with a real tax cost. Bank accounts are simple but offer no shelter from ordinary income tax. Retirement accounts are where the tax code genuinely works in your favor.
Most people leave real money on the table by defaulting to whatever account is most familiar. Using accounts strategically, capturing every employer match, maximizing every tax-advantaged account in the right order, and understanding exactly how each one is taxed, is one of the most reliable and underused edges in personal finance.
The best account strategy is not the most complex one. It is the one you actually execute and stick with over time.