Types of Investment Accounts
Last updated July 2026
Short answer
Investment accounts come in four broad groups. A taxable brokerage account is flexible, has no contribution limits, and lets you withdraw anytime, but dividends and realized gains are taxed each year. Tax-advantaged retirement accounts, such as a Traditional IRA, Roth IRA, 401(k), 403(b), and SEP IRA, trade annual limits and withdrawal rules for tax breaks. Health and education accounts like an HSA and a 529 plan give tax advantages for a specific goal. Custodial accounts (UTMA/UGMA) let an adult invest for a minor. A common priority order is to capture any 401(k) match first, then fund an IRA or Roth IRA, then max the 401(k), then use a taxable account. Walnut, an AI investing app, can help you see holdings across the accounts you connect. This page is educational and is not tax or investment advice.
Choosing where to invest is really two questions: what you buy, and which account you hold it in. The account is a wrapper, and the wrapper decides how your money is taxed, when you can touch it, and how much you can add each year. The same index fund can behave very differently inside a Roth IRA, a 401(k), or a plain brokerage account. This guide walks through the main types of investment accounts, how each is taxed, and who each one tends to suit, plus the usual order people fill them in. Nothing here is a recommendation, and Walnut is not an investment or tax adviser.
Taxable brokerage accounts
A taxable brokerage account is the most flexible type of investment account. There is no limit on how much you can contribute, no rules about when you can withdraw, and no restriction on what you can hold. You can buy stocks, ETFs, mutual funds, and more, and sell whenever you want.
- Tax treatment: you are taxed as you go. Dividends are taxed the year you receive them, and you owe capital-gains tax when you sell an investment for a profit.
- Best for: goals before retirement age, money beyond what tax-advantaged accounts allow, and anyone who values being able to withdraw at any time.
For a fuller walkthrough of how these work and how to open one, see what a brokerage account is.
Tax-advantaged retirement accounts
These accounts reward you for saving toward retirement with tax breaks, in exchange for annual contribution limits and rules that generally penalize early withdrawals. The main difference among them is when you get the tax break.
- Traditional IRA: contributions may be tax-deductible, the account grows tax-deferred, and withdrawals in retirement are taxed as income. It suits people who want a deduction now.
- Roth IRA: funded with after-tax money, so qualified withdrawals in retirement are tax-free. It often suits younger, lower, or middle earners who expect higher tax rates later. Direct contributions have income limits. See our Roth IRA explainer.
- 401(k) and 403(b): employer-sponsored plans with high annual limits and often an employer match. Contributions are usually pre-tax, though many plans now offer a Roth option. A 403(b) is the version common at schools and nonprofits.
- SEP IRA: a simplified plan for the self-employed and small-business owners, with contribution limits tied to business income that are far higher than a regular IRA.
For a broader look at how these fit together, read our guide to retirement accounts.
Health and education accounts
Two account types give tax advantages for specific goals rather than retirement in general. They are worth knowing because their tax treatment can be very favorable when used for their intended purpose.
- HSA (Health Savings Account): available if you have a qualifying high-deductible health plan. Contributions are deductible, growth is tax-free, and withdrawals for qualified medical costs are tax-free, a rare triple advantage. Many people invest an HSA and treat it as a stealth retirement account.
- 529 plan: a state-sponsored education savings account. Contributions are after-tax, but growth and withdrawals for qualified education expenses are tax-free. Some states also offer a deduction on contributions. It suits parents and family saving for a child's schooling.
Custodial accounts (UTMA/UGMA)
A custodial account lets an adult open and manage investments on behalf of a minor. The adult is the custodian and controls the account until the child reaches the age of majority in their state, at which point the assets legally become the child's.
- Tax treatment: earnings are taxed to the child, with a portion taxed at the parent's rate under the so-called kiddie-tax rules. There is no federal contribution limit, though large gifts can trigger gift-tax reporting.
- Best for: investing flexibly on behalf of a child for any purpose, as opposed to a 529, which is education-specific.
For more detail on how these are set up and taxed, see our guide to custodial brokerage accounts.
Compare the account types at a glance
The table below summarizes how the main account types differ on tax treatment, whether they cap what you can add, and who they tend to suit. Rules and limits change every year, so treat this as a map, not a rulebook.
| Account type | Tax treatment | Contribution limit | Best for |
|---|---|---|---|
| Taxable brokerage | Taxed as you go: dividends and realized gains each year | No contribution limit | Flexible investing with no withdrawal rules |
| Traditional IRA | Pre-tax or deductible in, taxed on withdrawal | Annual IRS limit | Tax deduction now, retirement savings |
| Roth IRA | After-tax in, qualified withdrawals tax-free | Annual IRS limit (income-capped) | Tax-free growth, lower or middle earners |
| 401(k) / 403(b) | Usually pre-tax in, taxed on withdrawal (Roth option common) | High annual limit, often employer match | Workplace savers, especially with a match |
| SEP IRA | Pre-tax in, taxed on withdrawal | High limit tied to business income | Self-employed and small-business owners |
| HSA | Deductible in, tax-free growth, tax-free medical withdrawals | Annual IRS limit (needs HDHP) | Triple-tax-advantaged health and retirement savers |
| 529 plan | After-tax in, tax-free growth for education | High lifetime limit, state-set | Saving for a child's education |
| Custodial (UTMA/UGMA) | Taxed to the child, partly at parent rates | No federal limit (gift-tax aware) | Investing on behalf of a minor |
The usual priority order for filling accounts
Because tax-advantaged accounts have limits, a common general framework is to fill them in a rough order of value. This is a widely repeated rule of thumb, not personalized advice, and the right order for you depends on your income, taxes, and access to a workplace plan.
- 1. Capture any 401(k) match. If your employer matches contributions, that match is effectively an immediate return, so many people fund at least up to the match first.
- 2. Fund an IRA or Roth IRA. These add tax advantages and a wide choice of investments beyond a typical workplace plan menu.
- 3. Return to the 401(k). After an IRA, keep funding the 401(k) toward its higher annual limit.
- 4. Use a taxable brokerage account. Once tax-advantaged room is used, a taxable account holds anything more, with full flexibility.
An HSA, if you are eligible, is often slotted in near the top because of its triple tax advantage. Education savers may add a 529 alongside these steps. None of this replaces advice for your own situation.
Where Walnut fits
Walnut does not open accounts or tell you which type to use. What it does is sit on top of the broker accounts you already have. You connect a real brokerage, and Walnut helps you see your holdings, build a thematic basket with target weights, and see how it would track against an index, then place trades you approve yourself at your own broker by chatting through Claude, ChatGPT, or built-in AI. The account wrapper and its tax rules stay with your broker; Walnut is the intelligence and tracking layer on top. It is not a registered investment adviser and does not give tax advice.
Try Walnut on top of your broker
Walnut connects any major US broker so you can see your holdings and how a thematic basket fits, by chatting through Claude, ChatGPT, or built-in AI. Read-only by default until you choose to trade; Walnut is not an investment adviser and does not give tax advice.
FAQ
What are the main types of investment accounts?
They fall into four groups. Taxable brokerage accounts are flexible and have no contribution limits but are taxed each year. Tax-advantaged retirement accounts, such as a Traditional IRA, Roth IRA, 401(k), 403(b), and SEP IRA, offer tax breaks in exchange for annual limits and withdrawal rules. Health and education accounts, such as an HSA and a 529 plan, give tax advantages for specific goals. Custodial accounts (UTMA/UGMA) let an adult invest on behalf of a minor. Walnut is not an investment adviser and this is educational, not tax advice.
What is the difference between a Traditional IRA and a Roth IRA?
The difference is when you pay tax. A Traditional IRA is usually funded with pre-tax or deductible money, grows tax-deferred, and is taxed when you withdraw in retirement, which suits people who want a deduction now. A Roth IRA is funded with after-tax money, and qualified withdrawals in retirement are tax-free, which often suits younger or lower and middle earners who expect higher tax rates later. Roth IRAs also have income limits on who can contribute directly. Details and limits change, so verify current IRS rules.
Which investment account should I open first?
A common general framework, not advice, is to capture any employer 401(k) match first because it is effectively free money, then fund an IRA or Roth IRA for its tax advantages, then return to max out the 401(k), and finally use a taxable brokerage account for anything beyond those limits. An HSA, if you are eligible, is often prioritized highly because of its triple tax advantage. The right order depends on your income, taxes, and access to a workplace plan, so consider a licensed professional.
Do I have to choose only one type of account?
No. Many people hold several at once, for example a 401(k) through work, a Roth IRA on the side, and a taxable brokerage account for goals before retirement. Each account is a wrapper with its own tax treatment and rules, and you can hold the same investments, such as an index fund, inside more than one. Spreading across account types is often called tax diversification.
What is a taxable brokerage account good for?
A standard taxable brokerage account has no contribution limits and no rules about when you can withdraw, so it suits goals before retirement age, money beyond what you can put in tax-advantaged accounts, and anyone who values flexibility. The trade-off is that dividends and realized gains are taxed each year rather than sheltered. See our guide on what a brokerage account is for a fuller explanation.
What is a custodial account?
A custodial account, usually a UTMA or UGMA, lets an adult open and manage an investment account for a minor. The adult controls it until the child reaches the age of majority in their state, at which point the assets become the child's. Earnings are taxed to the child, partly at the parent's rate under kiddie-tax rules. It is one way to invest for a child, alongside a 529 plan for education-specific saving. See our guide on custodial brokerage accounts.
Does Walnut give tax or investment advice about accounts?
No. Walnut is not a registered investment adviser or a tax adviser and does not tell you which account to open or what to buy. It can help you see your holdings across the accounts you connect, compare a thematic basket against an index, and place trades you approve yourself at your own broker. Every page here is descriptive and informational, and account and tax rules change, so verify current details or consult a licensed professional.
From here you can read what a brokerage account is, learn how a Roth IRA works, compare the main retirement accounts, or see how a custodial brokerage account works for a minor.
Walnut is informational and is not a registered investment adviser or a tax adviser. This page explains how different types of investment accounts work; it is not a recommendation to open any account or to buy, sell, or hold any security. Investing involves risk, including the possible loss of principal, and past performance does not indicate future results. Account rules, contribution limits, and tax treatment change and vary by situation; verify current details and consider a licensed financial or tax professional before making any decision.