Personal Finance

If you're a young adult and a small windfall lands in your lap, here's how to put it toward retirement

Key Points
  • Savers can put up to $6,000 into an individual retirement account, either a traditional or Roth version, as long as they have income from a job that is at least as much as the contribution.
  • If you're working full time and have a 401(k) plan, you could max out on contributions. You also could put money in a health savings account if you have a high-deductible health plan.
  • Brokerage accounts also are an option if you max out your allowed retirement account contributions.

Suppose $20,000 unexpectedly comes your way and the only requirement is that you put it toward retirement. Great, you say. But how do I do that?

If you're a teen or young adult, choosing the best place to put retirement money — before even getting to the point of deciding exactly how to invest it — depends partly on whether you have a job.

If you don't have access to a 401(k) plan through work, other retirement-savings options give you a break on your tax bill either now or in your golden years.

Ariel Skelley | Getty Images

For example, even if you work just part time, you can contribute up to $6,000 in 2019 — or up the amount you earned if less than that — to an individual retirement account.

"I'd open a Roth IRA and max it out if you qualify," said certified financial planner Sophia Bera, founder of Gen Y Planning in Austin, Texas.

Although contributions to Roth IRAs are not tax-deductible, they grow tax-free and withdrawals are completely tax-free once you reach age 59½. Be aware that while you generally can withdraw any amount you contribute, taking out any of the earnings before that age can result in a tax penalty unless you meet an exception.

A traditional IRA also is an option. While you can get a tax break for contributions (within certain income limits), you'll pay regular income taxes on it when you make withdrawals in retirement.

Regular IRAs also come with required minimum distributions — annual amounts you must take out to avoid a penalty — once you reach age 70½. Roth IRAs do not.

How to save for retirement and pay your student loans at the same time
VIDEO0:5100:51
How to save for retirement and pay your student loans at the same time

For the remainder of the $20,000 earmarked for retirement, you could put it in a high-yielding savings account and use the money to make additional Roth contributions in future years, Bera said.

Or, you could open a brokerage account. In it, any earnings from an investment held longer than one year would be taxed at long-term capital gains tax rates, which are generally lower than the rates on ordinary income.

If you are working full time, your options for investing that $20,000 windfall might be expanded.

If you have a 401(k) through work, you could use some of your $20,000 windfall to bulk it up. In 2019, the maximum you can put in a 401(k) is $19,000. Contributions are made pretax, which reduces your taxable income.

"A lot of people aren't close to maxing out their 401(k)," Bera said. "Ramping up those 401(k) funds is important, and it will lower your tax liability for the year, as well."

More from Personal Finance:
The gender wage gap widens among educated workers
Stretch your retirement savings the furthest in this state
Here's how your income stacks up against your neighbor's

You should at least put enough in your 401(k) to get your company's matching contribution, if one is available.

"If you don't get the company match, it's free money you're leaving on the table," said CFP Rianka Dorsainvil, founder and president of Your Greatest Contribution in Lanham, Massachusetts.

If you have money left over from that earmarked $20,000 after your 401(k) contribution, a Roth IRA is an option for the remainder, as long as your income is within the limits ($137,000 for single filers and $203,000 for married couples filing jointly).

Or, if you have a high-deductible health-care plan, you could put up to $3,500 into a health savings account this year ($7,000 for families).

HSAs come with a triple tax benefit: a deduction for the contribution, tax-free growth and tax-free withdrawals as long as the money is used for qualified medical expenses. And once you reach age 65, HSA withdrawals can be used however you want.

Subscribe to CNBC on YouTube.