The main places to invest depend on your tax situation and how long you can leave the money alone

You have three broad categories: tax-advantaged retirement accounts (401(k)s, IRAs, Roth IRAs), taxable brokerage accounts, and employer stock plans. Which one you use first depends on whether your employer matches contributions, whether you have earned income, and how much you can afford to set aside. Most people benefit from starting with a 401(k) if their employer offers one and matches contributions — that match is immediate, may provide money. After that, a Roth IRA or traditional IRA comes next if you have room in your budget. A taxable brokerage account has no contribution limits and no withdrawal penalties, so it works well for money you might need before retirement or amounts beyond what tax-advantaged accounts allow.

The actual investments inside these accounts — stocks, bonds, mutual funds, exchange-traded funds (ETFs) — are separate from the account type itself. You choose both the container (the account) and what goes in it (the investments). This guide focuses on the containers, since that choice drives your tax bill and withdrawal rules.

Key Takeaways

  • A 401(k) through your employer should be your first stop if the company matches contributions, because the match is assistance programs you forfeit if you do not contribute.
  • A Roth IRA lets you withdraw contributions (not earnings) penalty-free at any age, making it useful for both retirement and shorter-term goals.
  • A traditional IRA or 401(k) reduces your taxable income now but requires you to pay income tax on withdrawals in retirement.
  • A taxable brokerage account has no contribution limits, no age restrictions, and no withdrawal penalties, but you pay tax on gains and dividends each year.
  • Contribution limits change yearly, so check the IRS website or your plan documents for the current year's maximum.

401(k) plans: employer match and tax deferral

A 401(k) is a retirement account your employer sponsors. You contribute money from your paycheck before taxes are taken out (in a traditional 401(k)) or after taxes (in a Roth 401(k)). Your employer may match a portion of what you contribute — commonly 50% of contributions up to 6% of your salary, though the formula varies by company. That match is not may provide to stay if you leave the job, so check your plan's vesting schedule to see when it becomes yours to keep.

The main advantage is the tax break now. In a traditional 401(k), the money you contribute reduces your taxable income for the year, which lowers your tax bill. The money grows tax-free inside the account. You pay income tax on withdrawals in retirement. In a Roth 401(k), you pay tax now, but withdrawals in retirement are tax-free. Contribution limits are set by the IRS and change yearly; check your plan documents or the IRS website for the current limit.

You cannot withdraw money before age 59½ without a penalty (usually 10% plus income tax) unless you meet a narrow exception, such as a financial hardship or separation from service. If you leave your job, you can roll the balance into an IRA or another employer's plan to keep it growing tax-free.

Traditional and Roth IRAs: flexibility and tax treatment

An IRA (Individual Retirement Account) is an account you open yourself, not through an employer. A traditional IRA works like a traditional 401(k): contributions may be tax-deductible, the money grows tax-free, and you pay income tax on withdrawals in retirement. A Roth IRA is the reverse: contributions are made with after-tax money, growth is tax-free, and withdrawals in retirement are tax-free.

The key difference between Roth and traditional is when you pay tax. Choose a Roth if you expect to be in a higher tax bracket in retirement or if you want the flexibility to withdraw contributions (not earnings) at any age without penalty. Choose traditional if you want to lower your taxable income right now. You cannot contribute to a traditional IRA and deduct it if you are covered by a 401(k) at work and your income exceeds certain thresholds; the IRS website lists the income limits for the current year.

Contribution limits for IRAs are much lower than 401(k)s and are the same for both traditional and Roth. You can open an IRA at any brokerage — Fidelity, Vanguard, Charles Schwab, and others all offer them. If you do not have earned income, you cannot contribute to an IRA, but a spouse with earned income can open a spousal IRA in your name.

Taxable brokerage accounts: no limits, no restrictions

A taxable brokerage account is simply an investment account with no special tax treatment and no contribution limits. You can open one at the same places you open an IRA. You can deposit as much as you want, whenever you want, and withdraw it whenever you want without penalty. The trade-off is that you pay income tax on dividends and interest each year, and capital gains tax when you sell an investment for a profit.

This account type makes sense for money beyond what you can fit into retirement accounts, money you might need before retirement, or money you want to keep accessible. Because you pay tax on gains annually, it is less tax-efficient than a 401(k) or IRA, but the flexibility and lack of withdrawal penalties often outweigh that cost for shorter-term goals.

Employer stock purchase plans and restricted stock units

Some employers offer an ESPP (Employee Stock Purchase Plan), which lets you buy company stock, usually at a discount to the market price. The discount is taxable income, but it is immediate value. Some plans also have a holding period before you can sell, which creates tax complexity. Understand your plan's rules before enrolling, especially the holding period and whether the discount is large enough to justify the concentration risk of owning your employer's stock.

Restricted Stock Units (RSUs) are shares your employer grants to you as compensation. They vest (become yours) over time, usually three to four years. When they vest, the value is taxable income at the vesting price, and you owe income tax even if you do not sell. After vesting, they sit in a taxable account unless you move them. RSUs are not a place to invest — they are compensation you receive — but understanding the tax bill when they vest helps you plan.

How to choose which account to open first

Start with a 401(k) if your employer offers one and matches contributions. Contribute enough to capture the full match; leaving it on the table is the same as turning down a raise. After that, open a Roth IRA if you have earned income and your income is below the IRS limit for the year. A Roth gives you flexibility: you can withdraw contributions at any age without penalty, and the tax-free growth in retirement is valuable if you expect higher tax rates later.

If you have maxed out your IRA contribution for the year and still have money to invest, go back to your 401(k) and increase contributions. After both are maxed, open a taxable brokerage account. If you do not have access to a 401(k) through an employer, start with a Roth or traditional IRA, then move to a taxable account once you hit the IRA limit.

The order matters because tax-advantaged accounts have lower contribution limits and withdrawal restrictions, so you want to use them first. Taxable accounts are the overflow bucket.

What to invest in once you have chosen an account

The account type and the investments inside it are separate decisions. Inside any of these accounts, you can buy individual stocks, mutual funds, ETFs, bonds, or money market funds. Most people benefit from low-cost index funds or ETFs that track the whole market or large segments of it, rather than trying to pick individual stocks. The account type determines your tax treatment; the investment type determines your risk and potential return.

A common beginner approach is a target-date fund, which automatically shifts from stocks to bonds as you approach retirement. You can find these inside 401(k)s, IRAs, and taxable accounts. They require one decision instead of many, and they rebalance automatically.

Frequently Asked Questions

Can I have both a traditional IRA and a Roth IRA?

Yes, but your total contributions to both in a single year cannot exceed the annual IRA limit set by the IRS. If you contribute to both, the limit applies to the combined total. Many people use both: a traditional IRA for the tax deduction now and a Roth for tax-free growth later, as long as their income allows it.

What happens to my 401(k) if I leave my job?

The money stays in the account unless your balance is very small (under $1,000 at some plans). You can roll it into an IRA at a brokerage, roll it into your new employer's 401(k), or leave it where it is. Rolling to an IRA usually gives you more investment choices and lower fees. Do not cash it out; you will owe income tax and a 10% penalty if you are under 59½.

Should I invest in my company's stock through an ESPP?

If the discount is 15% or more, it is usually worth buying and selling immediately to lock in the gain. If the discount is smaller or the holding period is long, weigh whether the discount justifies owning more of your employer's stock when your paycheck already depends on the company. Diversification usually matters more than a small discount.

Do I need to pick individual stocks, or can I just buy index funds?

Index funds are sufficient for most people and often outperform individual stock pickers over time. You can build a complete portfolio with two or three low-cost index funds — one for U.S. stocks, one for international stocks, and one for bonds. Individual stocks add complexity and risk without may provide better returns.

What is the difference between a mutual fund and an ETF?

Both hold a basket of stocks or bonds. Mutual funds are priced once a day after the market closes; ETFs trade throughout the day like stocks. ETFs usually have lower fees and are more tax-efficient in taxable accounts. For retirement accounts, the difference matters less. Choose whichever has the lowest fee for the index or strategy you want.