How Long Should You Invest For?

Before you choose a fund, an app or an account, there’s a question that matters more than all three: when will you need this money back?

11 min read

Only invest money you won’t need for at least five years, and ideally ten or more. The longer you can leave it, the better your odds of beating cash savings and growing your wealth. Don’t start investing money you’ll need sooner. Give each goal its own pot and date, and as a fixed date nears, move that money into cash.

Start with when, not what

Your time horizon is how long it will be before you need the money. A holiday next summer has a horizon of a few months. A pension you’ll draw on in your sixties may have 30, 40 or more years. Most people have several of these running at once.

It’s the first question to answer because it decides everything that follows. Investments go up and down, sometimes significantly, and they can take years to recover. Money with a long horizon has time to ride that out. Money you need soon doesn’t, so a fall at the wrong moment turns into a real loss: you have to sell at the lower price.

Which fund, which app and what it costs all matter, but they come after this. Get the horizon wrong and even a good fund can let you down, simply because you need the money while prices are low.

The 5-Year Line

Don’t start investing money you’ll need within five years: keep it in savings, where the balance can’t fall. Money you won’t need for at least five years can be invested. Our guide to saving vs investing explains the line in full.

A tip for a goal with a fixed date, like a wedding in seven years: by the 5-Year Line it can go into investments now, but don’t leave moving it back into cash until the last minute. A big fall just before the day could leave you short when the bills are due. Moving it across in stages over the last few years means a late fall can’t hit all of it.

And when we say cash, we mean a savings account or tax-free Cash ISA that pays a decent rate of interest, not your current account, which usually pays little or nothing. Our savings picks compare the best accounts.

Why time changes the odds

In any one year, shares in companies can do almost anything. Over longer stretches, the good years have tended to outweigh the bad ones, and falls have had time to recover. So the longer you hold, the better your chance of coming out ahead.

The best-known long-run record in the UK is the Barclays Equity Gilt Study, which tracks shares, government bonds and cash back to 1899. Take every period of a given length since then, and count how often shares beat cash:

UK shares against cash, since 1899

How often shares beat cash, and how often cash won

Each bar covers every period of that length since 1899: green where shares came out ahead, pink where cash did.

Source: Barclays Equity Gilt Study, UK shares against cash over every five- and ten-year period since 1899, before fund charges and tax. Five years: 2016 and 2019 editions, as reported by the Open University and MoneyWeek (75% and 76%). Ten years: 2023 edition, as reported by Barclays (91%). Figures move slightly with each year’s data. Past performance is not a guide to future returns.

Over five years, shares came out ahead of cash about three times in four, and over ten years about nine times in ten. And beating cash is a higher bar than simply going up, because cash earns interest too.

It’s never a guarantee. About one ten-year stretch in ten still finished behind cash, and a single country’s market can stay down for far longer: Japan’s stock market took 31 years to get back to its 1989 peak, even if you’d reinvested the dividends companies paid out along the way. That’s why five years is the minimum we suggest for investing, and ten or more is better. Our guide to how time changes the odds goes through the full evidence.

Timing matters more the shorter your horizon. A fall in the last year or two before you need the money leaves no time to recover, however well the earlier years went. So money for a fixed date should start moving into cash in stages, well before the date.

One goal, one pot, one date

Most people aren’t saving for just one thing. There’s a safety net, maybe a home, maybe children, and a retirement somewhere in the distance, each with its own horizon. Lump them together and you invite the two classic mistakes: long-term money left in cash for decades, or short-term money invested and caught by a fall.

The fix is to give each goal its own pot and its own date, and it works because of how people already think about money. Richard Thaler, who won the 2017 Nobel prize in economics, showed that we sort money into mental pots, like “holiday money” or “bills money”, and treat each one differently, even though a pound is a pound wherever it sits. That habit often costs people: plenty keep money in savings while paying far more interest on a credit card. Here it works in your favour. Once a pot is labelled “house deposit”, you’re less likely to dip into it for something else, and its date tells you at a glance whether it belongs in savings or can be invested.

Here’s how that sorts four common goals:

I want a safety net in case something goes wrong.

No date at all, so it stays in cash.

An emergency fund has to be there on the worst day, which could be next week. The usual aim is three to six months of essential costs in an easy-access account. It protects your investments too, because you’re less likely to have to sell them in a hurry.

When are you ready to invest? →

We want to buy a home in about three years.

Under five years: keep it in savings.

Shares can fall by a third in a bad year and can take years to recover, and the day you buy won’t wait. Savings pay less, but you know the money will be there.

Saving vs investing →

We’d like to help the children at 18. They’re four.

Fourteen years: invest it.

Children have the most useful thing an investor can have: time. Money for them can ride out falls and benefit from the gains. If you want it ready for a particular date, consider moving it into cash in stages over the last few years before it.

How to move it into cash →

I want to retire in about 25 years.

Your longest horizon, and it doesn’t end when you stop work.

Money you’ll spend in your seventies and eighties may not be needed until 10 or 20 years after you retire, so only the part you’ll need soonest has to be kept safe by then. For most people the place to start is a workplace pension, because your employer pays in too.

The best return you’ll ever get →

If a goal doesn’t have a date yet, give it a rough one. “Sometime in the next few years” counts as under five, so treat it as savings until you know more.

As the date gets closer

A goal that starts far off won’t stay that way. Money for a four-year-old’s 18th birthday is 14 years away today, but only four years away once they’re fourteen. At some point it has to move from investments into cash.

For a goal with a fixed date, like a house purchase or a wedding, the simplest approach is to move the money across in stages over the last few years. One way to do it: about three years before the date, move a third into cash, then another third a year later and the rest a year after that, so it’s all in cash for the final year. Here’s how that looks:

A fixed-date goal, such as a wedding

Invested while the date is far off, in cash for the final year

Each bar is the whole pot: green is still invested, pink is already in cash.

Illustration of one simple way to move a fixed-date goal into cash. Not a forecast or a personal recommendation.

If your date can move, you have more room. Retirement is the obvious case: some people can work a little longer if markets fall, and much of the money won’t be spent for decades anyway. Many workplace pensions make a similar shift for you, from shares into bonds and cash, usually starting somewhere between five and fifteen years before the retirement date they have on file. It’s called lifestyling, and the questions below cover what to check.

When goals compete for the same money

Most of us have more than one goal, so the order matters. Start with the foundations, in this order: a small emergency buffer of about £1,000, your full employer pension match (paying in enough to get the most your employer will add), then clearing any high-interest debt, then a full emergency fund of three to six months’ costs. Each of these either beats what an investment is likely to earn or protects the investments you make later.

The order is a guide, not a reason to wait. If you’re still building your emergency fund or paying off debt, you can start investing a small amount alongside it, say £25 or £50 a month, or even £1 on some apps. It makes you an investor and gets you used to how it works. Just keep it small while you’re clearing high-interest debt, because that debt costs more than investing is likely to earn.

Once the foundations are in place, split what’s left by date, with near goals going into savings and far ones into investments, both at the same time. Say you have £500 a month spare and two goals besides your pension:

£500 a month, split by date

Near goals in savings, far goals invested

GoalWhere it goesEach month
Pension, with the full employer match30 years or moreWorkplace pensionFrom your pay
An £18,000 house depositIn four yearsSavings£350
Long-term investingTen years or moreA Stocks and Shares ISA£150

Illustration: £350 a month at 4% a year interest (MoneyClub’s cash assumption) reaches about £18,200 in four years, before inflation. Not a personal recommendation.

When the deposit is done, the £350 shouldn’t drift into everyday spending. Move it to the ISA, and £500 a month goes into investing from then on.

Could you put all £500 into the deposit instead? Yes. You’d reach £18,000 about a year sooner, but your long-term pot would start almost three years later. Neither is wrong; it depends which matters more to you. Whichever you choose, keep two rules: never start investing money a fixed-date goal will need within five years, and never raid long-term money for a short-term goal.

Three things to do this week

Give every goal a date

List what you’re saving for, the year you’ll need each one, and whether that date is fixed or could move. A rough year is fine; no date at all means cash for now.

Give each goal its own home

Savings for anything under five years. Otherwise consider a Stocks and Shares ISA, or your pension if the goal is retirement: pension money is locked away until 55, rising to 57 from April 2028. Our investment platform picks compare the main options. Then set up a standing order for each pot on payday.

Put the move in your diary

For each invested goal with a fixed date, add a reminder for three years before it: that’s when to start moving it into cash, a third at a time. If it’s in a Stocks and Shares ISA, you can move it into a Cash ISA when the time comes, so it stays tax-free. The Investment Growth Calculator shows what each pot could grow to by then.

The one thing to remember

The costly mistakes are mismatches: invested money needed too soon, or cash left idle for decades. Give every goal a date, and let the date decide.

Frequently asked questions

Is five years long enough to invest?

Five years is the minimum we suggest, not a comfortable margin. Since 1899, UK shares have beaten cash in about three out of four five-year periods, which means one in four didn’t. And if the money is for a fixed date, you’ll start moving it into cash a few years before the date, which leaves even less time invested. That’s why ten years or more is better: every extra year you can leave it improves the odds.

Should I invest money for a house deposit?

Only if you’re unlikely to buy for at least five years, and ideally longer. A deposit has a fixed amount and usually a hard deadline, which is exactly the kind of money that shouldn’t be exposed to a market fall in the year you need it. If you’re buying within five years, keep it in savings. If it’s further off, investing can make sense, as long as you start moving it into cash about three years before you plan to buy, so it’s all in cash for the final year.

Is it too late to start investing in my fifties?

Usually not, because much of the money won’t be spent until long after you retire. Money you’ll spend in your seventies and eighties may not be needed for 20 or 30 years. What changes is the mix: the money you’ll need soonest after you stop work should be kept safe by then, while the rest can stay invested. Starting later does leave less time for growth, so how much you put in matters more.

What if the market falls just before I need the money?

If the money is already in cash, the fall won’t touch it, which is why fixed-date money should move to cash before its date gets close. If it’s still invested and the date can move, waiting has usually been the better choice: UK and global markets have so far recovered from every fall, though some took years, and a single market elsewhere, like Japan’s, has taken decades. If the date can’t move, you’re left choosing between selling at the lower price and finding the shortfall elsewhere, and that’s the situation moving early is designed to avoid.

Does my pension move into cash automatically before I retire?

Many workplace pensions do something like it. Their default fund (the one your money goes into if you don’t choose) often uses lifestyling: it moves you from shares into lower-risk investments such as bonds and cash, usually starting five to fifteen years before the retirement date on file. Log in or ask your provider to see that date, and change it if it’s wrong. If you’ll retire later, or plan to keep most of your pot invested and draw on it over decades, the switch may come too early or go too far.

Next guide Saving vs Investing: What’s the Difference? You know how long your money should stay invested. Next: what really separates saving from investing, and which money belongs where. Read next →
Stay in the loop

There’s a lot more coming — be the first to know

The MoneyClub Newsletter: keep up to date with new guides, tools and videos, plus the changes in personal finance actually worth knowing about.

Get notified →
Found this useful? Share it:
WhatsApp Email X