Skip to main content

Where to Put Your Money Based on Your Goals and Timeline

Start with your goal and how long you have

The right place to invest your money depends on two things: what you are saving for and when you will need it. Money you need in two years belongs in a different account than money you will not touch for twenty years. Money earmarked for retirement has tax advantages that money for a house down payment does not. Before you pick an account type or investment, answer those two questions first.

This matters because the wrong account can cost you thousands in taxes or penalties. A 401(k) is excellent for retirement but charges a 10% penalty if you withdraw before 59½. A regular savings account is safe but earns almost nothing. A taxable brokerage account has no withdrawal restrictions but you pay tax on gains every year. Each serves a different purpose.

Key Takeaways

  • Money you need within five years should go in a savings account or money market fund, not stocks, because you cannot afford to wait out a market downturn.
  • Retirement savings should go into a 401(k), IRA, or similar tax-advantaged account because the tax savings compound over decades and outweigh the withdrawal restrictions.
  • Money for goals between five and twenty years away can go into a taxable brokerage account holding stocks or stock funds, where you pay tax on gains but have full control.
  • Your employer 401(k) should be your first stop if your employer matches contributions, because matching is immediate assistance programs you cannot get anywhere else.
  • If you have no employer plan, a Roth IRA or traditional IRA lets you save for retirement with tax advantages and contribution limits that reset each year.

Employer 401(k) plans: the matching money comes first

If your employer offers a 401(k), that is usually the best place to start. The reason is employer matching. When you contribute to your 401(k), many employers will match a portion of what you put in—often 50% of contributions up to 6% of your salary, though the exact terms vary by employer. That matching money is immediate, may provide return that you cannot get anywhere else.

To learn about your employer matches, check your benefits handbook or ask your HR department. The document will state the match formula and any vesting schedule—the timeline before the matching money becomes fully yours. Contribute enough to capture the full match, even if you cannot afford to contribute more. Leaving matching money on the table is the same as turning down a raise.

A 401(k) also lowers your taxable income for the year. If you earn $60,000 and contribute $7,000 to a traditional 401(k), you pay income tax on $53,000 instead. The money grows tax-free inside the account until you withdraw it in retirement. You can withdraw starting at 59½ without penalty; withdrawals before that age trigger a 10% penalty plus income tax on the amount withdrawn, with narrow exceptions for hardship or disability.

IRAs when you have no employer plan or want to save more

If your employer does not offer a 401(k), or if you want to save more than your 401(k) allows, an IRA (Individual Retirement Account) is the next step. There are two main types: traditional and Roth. Both let you set aside money for retirement with tax advantages, but they work differently.

A traditional IRA works like a 401(k): you contribute pre-tax dollars, lower your taxable income that year, and pay tax on withdrawals in retirement. Contribution limits for 2024 are $7,000 per year if you are under 50, or $8,000 if you are 50 or older. You can withdraw starting at 59½ without penalty. You must begin taking withdrawals at 73 (this age changes periodically, so check the current rule).

A Roth IRA works in reverse: you contribute after-tax dollars, so you get no tax deduction now, but the money grows tax-free and you withdraw it tax-free in retirement. This is powerful if you expect to be in a higher tax bracket later, or if you want flexibility—you can withdraw your contributions (not earnings) anytime without penalty. The same contribution limits apply: $7,000 or $8,000 depending on age. There is no required withdrawal age, which makes a Roth useful if you do not need the money in retirement and want to leave it to heirs.

Income limits apply to Roth contributions. If your income exceeds certain thresholds (which vary by filing status and change yearly), you cannot contribute directly to a Roth. A backdoor Roth conversion is a workaround, but it involves steps and tax considerations—consult a tax professional if this applies to you.

Taxable brokerage accounts for goals between five and twenty years away

Once you have maxed out your 401(k) and IRA, or if you are saving for a goal that is not retirement, a taxable brokerage account is where the rest goes. You can invest in individual stocks, bonds, mutual funds, or exchange-traded funds (ETFs). There are no contribution limits, no withdrawal restrictions, and no penalties.

The tradeoff is taxes. You pay capital gains tax on profits when you sell, and you pay tax on dividends each year even if you reinvest them. Long-term capital gains (on investments held over a year) are taxed at lower rates than short-term gains, so holding longer reduces your tax bill. You can also harvest losses—selling losing positions to offset gains and reduce taxes—which is a tool you cannot use in retirement accounts.

A taxable account makes sense for money you will need in five to twenty years, or money beyond what retirement accounts allow. If you need the money sooner than five years, keep it in a savings account or money market fund instead; stocks can drop 20% or 30% in a bad year, and you may not have time to recover.

High-yield savings accounts and money market funds for short-term goals

Money you need within one to five years should not be in stocks. A market downturn could force you to sell at a loss right when you need the cash. Instead, use a high-yield savings account or money market fund.

A high-yield savings account is FDIC-insured (meaning deposits up to $250,000 are protected if the bank fails) and currently pays 4% to 5% annual interest, though rates change. You can withdraw anytime without penalty. The interest is taxed as ordinary income, but the safety and liquidity make this the right choice for an emergency fund or money you know you will need soon.

A money market fund is a mutual fund that holds short-term bonds and cash equivalents. It pays slightly more than savings accounts in some environments but is not FDIC-insured. It is useful if you have a large sum and want slightly higher yield, but a savings account is simpler for most people.

How to decide between account types: a simple framework

TimelineBest Account TypeWhy
Less than 1 yearHigh-yield savings accountYou need safety and access. Stocks are too risky.
1 to 5 yearsHigh-yield savings or money market fundYou cannot afford a market downturn. Earn interest without risk.
5 to 20 yearsTaxable brokerage accountYou have time to recover from downturns. Stocks historically outpace inflation. No contribution limits.
20+ years (retirement)401(k), then IRA, then taxable brokerageTax advantages compound over decades. Max out tax-advantaged space first.

The order to fill your accounts

If you have money to invest and are not sure where to start, follow this order. First, contribute enough to your employer 401(k) to capture the full employer match—this is assistance programs and should always come first. Second, if you have high-interest debt (credit cards above 6%), pay that down before investing further; the may provide return from eliminating debt beats most investments.

Third, build an emergency fund of three to six months of expenses in a high-yield savings account. This keeps you from having to sell investments at a loss if something unexpected happens. Fourth, max out your IRA for the year ($7,000 or $8,000 depending on age). Fifth, go back to your 401(k) and contribute as much as you can afford beyond the match. Sixth, open a taxable brokerage account for anything beyond that.

This order is not rigid—your situation may call for adjustments—but it reflects the tax efficiency and safety of each account type. The tax advantages of retirement accounts compound over time, so using them first saves the most money.

Frequently Asked Questions

Should I invest in individual stocks or funds?

For most people, funds (mutual funds or ETFs) are simpler and safer. A fund holds dozens or hundreds of stocks, so one bad pick does not sink your portfolio. Individual stocks require research and carry higher risk. If you are new to investing, start with a broad index fund that tracks the whole market, like an S&P 500 fund.

What if I need to withdraw from my 401(k) before 59½?

You will owe a 10% penalty plus income tax on the amount withdrawn. Exceptions exist for disability, medical expenses over 7.5% of income, and a few other hardships, but they are narrow. If you might need the money soon, a taxable brokerage account is safer. If you do need to withdraw early, talk to a tax professional first—the penalty can be substantial.

Is a Roth IRA better than a traditional IRA?

It depends on your tax bracket now versus in retirement. If you expect to earn less in retirement, a traditional IRA saves more taxes. If you expect to earn more, or if you want tax-free withdrawals and flexibility, a Roth wins. Many people benefit from a mix of both. A tax professional can model your specific situation.

Can I invest in my IRA and 401(k) in the same year?

Yes. You can contribute to both in the same year, and the limits are separate. For 2024, you can put $7,000 in an IRA and up to $23,500 in a 401(k) (or $31,500 if you are 50 or older). The limits change yearly, so check the current year's rules.

What happens to my 401(k) if I change jobs?

You have several options: leave it with your old employer, roll it into your new employer's 401(k) if they allow it, or roll it into a traditional IRA. A rollover to an IRA gives you more investment choices and lower fees in many cases. Do not cash it out—you will owe a 10% penalty plus income tax on the full amount. Ask your old employer's plan administrator about your options.