Saving and investing are both important for building a sound financial foundation, but they’re not the same thing. It’s important to know the differences, and when it’s best to save vs. when it’s best to invest.

The biggest difference between saving and investing is the level of risk taken. Saving typically results in earning a lower return but with virtually no risk of losing your money. In contrast, investing offers the opportunity to earn a much higher return, but you take on the risk of loss.

Here are the key differences between investing and saving — and why you need both strategies to build long-term wealth.

How to build a financial plan for you and your family

Saving vs. investing: How they differ

While they share a few similarities, saving and investing are different in most respects. And that starts with the type of assets used for each.

When you think of saving, think of bank products such as savings accounts, money markets and certificates of deposit (CDs). And when you think of investing, think of stocks, ETFs, bonds and mutual funds.

The table below summarizes some of the key differences between saving and investing:

Saving Investing Account type Bank Brokerage Return Relatively low Potentially high Risk Virtually none on FDIC-insured accounts, other than inflation risk (also known as purchasing power risk) Varies by investment, but there is always the possibility of losing some or all of your investment capital Typical products Savings accounts, CDs, money-market accounts Stocks, bonds, mutual funds and ETFs Time horizon Short: You may want access to this money in the next week, month or year Long: You can let this money sit for five years or more (though some investors like short-term trading) Difficulty Relatively easy Somewhat complex Protection against inflation Only a little Potentially a lot over the long term Expensive? No, but will owe taxes on interest Depends on fund expense ratios; will owe taxes on realized gains in taxable accounts Liquidity High, unless CDs High, though you may not get the exact amount you put into the investment depending on when you cash in

How are saving and investing similar?

Saving and investing have many different features, but they do share one common goal: they’re both strategies that help you accumulate money. Plus, both use specialized accounts with a financial institution.

Investors should have sufficient funds in a bank account to cover emergency expenses and other unexpected costs before they tie up a large chunk of change in long-term investments. You should only invest money that you can set aside for a while, such as five years or more.

The pros and cons of saving

Setting aside money in a savings account or similar comes with these benefits:

Despite its perks, saving does have some drawbacks, including:

The pros and cons of investing

Here are just a few of the benefits of investing your cash:

While there’s the potential for higher returns, investing has a few drawbacks, including:

Get started:

Which is better — saving or investing?

Neither saving nor investing is better in all circumstances — the right choice depends on your current financial position.

When to save money

When to invest money

If you have built up your emergency fund and don’t carry any high-interest debt, investing your extra money can help you grow your wealth over time. Investing is crucial if you’re going to achieve long-term goals like retirement.

Here are some real-world examples of when saving is better:

And when is investing better?

How to start investing

— Bankrate’s Rachel Christian contributed to an update of this story.