Whether you’ve come into an inheritance, earned a bonus at work or made a profit selling your house, having extra money gives you a chance to grow your savings and reach financial goals, such as saving for a down payment on a new car. Deciding on the best place to stash your cash isn’t always easy, however.

Return on investment is an important factor to consider, but liquidity and the length of time before you need access to the cash are also important. Safety and investment costs should also be considered when determining where you should save your money.

With that in mind, here are some options to consider.

1. High-yield savings account

A high-yield savings account is an attractive option for those who want to grow their savings while having easy access to the money in case of emergencies or other unplanned expenses.

To put the earnings into perspective, the yields on traditional savings accounts are typically very low, as little as 0.01 percent annual percentage yield (APY). But the top high-yield savings accounts currently earn near 5 percent APY.

You can open a savings account to build an emergency fund or save for a vacation or home repair while having safety and liquidity.

If you need to access portions of your money from time to time, keep in mind savings account restrictions might be a problem. There could be a limit of six withdrawals or transfers per month, depending on the bank’s policies.

Another thing to note is that a high-yield savings account might offer a sign-up bonus or interest rate bonus, but you may have to maintain a sizable minimum balance in the account to earn the higher rate.

2. Certificate of deposit (CD)

Like a savings account, a certificate of deposit (CD) is often a safe place to keep your money. One big difference between a savings account and a CD is that a CD locks up your money for a set term. If you withdraw the cash early, you’ll be charged a penalty.

CDs usually carry fixed yields, so tying up your funds in a CD can be a bad idea in a rising rate environment. Conversely, locking in your money can be a smart move during a time when rates are falling.

Longer-term CDs sometimes offer better rates than shorter-term ones, although you’re unable to access the funds during the term without paying a penalty in most cases.

One strategy to grow your earnings is to open several CDs that mature at different times. This is called CD laddering, and it provides flexibility and less risk than simply putting all of your money into a single CD.

Having several CDs with staggered terms allows you to take advantage of any higher interest rates associated with longer terms without locking in all your funds for too long. With some of your money in shorter-term CDs, you’ll be able to reinvest those funds soon for better yields if rates have been rising.

3. Money market account

If you want a safe place to park extra cash that often earns a higher yield than a traditional savings account, consider a money market account. Money market accounts are like savings accounts, but they typically pay more interest and may offer a limited number of checks and debit card transactions per month.

Money market accounts offer easy access to your money, and they’re safe if your banking institution is federally insured. Most banks and credit unions are insured by the Federal Deposit Insurance Corp. (FDIC) or the National Credit Union Share Insurance Fund (NCUSIF). The standard insurance limit is $250,000 per depositor or share owner, per insured institution, for each ownership category.

A money market account can be a good alternative if you don’t want to tie your funds up in a CD for a long time. There are usually minimum deposit requirements for opening a money market account or for getting the best APY. Also, be sure to ask about all fees you could incur, such as monthly maintenance fees and penalties.

4. Checking account

A checking account at a federally insured bank or credit union is a very safe place to put your money. It’s not necessarily the best place to save your money, however, since most earn little or no interest.

Instead, checking accounts should primarily be used for storing the money you spend on everyday expenses. Checking accounts are highly liquid and come with check-writing privileges, ATM access and debit cards. Withdrawals can be made at any time, and there’s no risk to your principal.

Although it’s not common, there are checking accounts that offer decent yields. These accounts typically shouldn’t be your main place for storing savings, however.

Checking account fees are often nominal or waived if you maintain a minimum balance, set up direct deposit or use your debit card a certain number of times each month.

5. Treasury bills

Most checking and savings accounts, CDs and money market accounts offer federal deposit insurance, which is an important benefit.

But suppose you have cash stored up that exceeds federal insurance limits. In that case, you might want to look at U.S. Treasury bills, or T-bills, which are federal, short-term debt obligations with a maturity of one year or less. The longer the maturity, the more interest the investor earns.

T-bills also have the advantage of being liquid and easy to buy and sell. Plus, they’re extremely safe with no risk of losing principal, since they are debt owned by the U.S. government.

T-bills are sold on the secondary market, such as through a broker or investment bank, or at auction on the TreasuryDirect site. They’re sold to investors for less than face value.

6. Short-term bonds

If you’re planning to park your cash for at least five years, consider options that are more like investments than savings accounts. An investment might generate a higher return, but all investments come with the risk that you could lose some or all of your money.

Unlike Treasury bills, short-term bonds don’t protect the principal. You could find that when you withdraw your money, you not only haven’t gained interest, but you’ve also lost some of the principal.

For example, a mutual fund that invests in short-term bonds might grow a little bit, but if interest rates rise, the value of the fund is likely to decrease. That’s because bond prices typically fall when interest rates rise. The longer the duration of a bond, the more vulnerable it is to rate fluctuations. That’s why some investors prefer short-term bonds.

7. Riskier options: Stocks, real estate and gold

Some people have a high risk tolerance, while others are only comfortable with safe investments, especially if they are retired or close to retirement.

Stocks, for example, can lead to high returns, though investors will need to bear the inevitable ups and downs of the market. A good place to get started is with an S&P 500 index fund, which includes the largest, globally diversified American companies across every industry. This tends to make it less risky than other investing options and has returned about 10 percent annually over time to investors.

If you’re looking to make a long-term investment, you may want to look into buying a home as a rental property. Finding and securing a suitable property could be difficult, however, due to rising mortgage rates, high inflation and a housing supply shortage.

Another popular investment option is gold, especially during tough economic times. Some investors see gold as a safe place to park their money, while others are more skeptical. Nonetheless, the decision to invest in gold should be a personal one.

Get help from a financial planner

When deciding where to put your extra money, consider seeking expert advice from a financial advisor, who can help you set up an overall financial plan.

A financial advisor can help answer questions regarding complicated topics like estate planning. Such specialized financial topics can be hard to navigate, and there’s no shame in getting a second opinion and some guidance.

Do some research before choosing a financial advisor who is a good fit for you and your situation. First and foremost, always make sure that your financial advisor is a real fiduciary who is acting in your best interest.

Focusing on a solid financial plan makes it easier to decide which saving strategies work best for you.

— Bankrate’s Libby Wells and Karen Bennett contributed to updates of this story.