The question, asked properly

"How long should I stay invested?" usually means "how long before I can be fairly sure I will not lose money?" The honest way to answer it is not to pick one start date. It is to take every start date in the record and look at what happened after a fixed number of years.

That is what rolling returns do. For each trading day from 21 Feb 2012, I took the Nifty 50 close, found the close one, three, five, seven and ten years later, and worked out the yearly rate in between. That gives 3,267 one year windows and 1,071 ten year windows, each a different investor who started on a different day. The module on performance measurement explains why rolling returns are fairer than a single CAGR, and the blog note rolling returns vs CAGR shows the same idea on our own strategies.

One caution before the numbers. These figures use the Nifty 50 price index, without dividends, from NSE's daily closes. With dividends added, every figure would be about a point a year better.

How often each holding period lost money

The longer the holding, the rarer a loss: from one start date in six to none
  1. 1 year16.1%
  2. 3 years1.6%
  3. 5 years0.2%
  4. 7 years0.0%
  5. 10 years0.0%

Share of start dates with a negative return over the holding period. Nifty 50 price index, NSE daily closes, start dates 21 Feb 2012 onward, ends to 12 Oct 2026.

The drop is steep. Holding for one year, roughly one start date in six ended lower. Holding for three years, about one in sixty. Holding for five, about one in five hundred. In this record, no investor who held for seven years or more ended with less than they put in, before costs and tax.

The worst, the middle and the best

Rolling CAGR of the Nifty 50 price index, every trading day from 21 Feb 2012 as a start date, NSE daily closes to 12 Oct 2026. Before dividends, costs and tax.
Holding periodWindowsWorst, a yearMedian, a yearBest, a year
1 year3,267−33.57%10.79%94.67%
3 years2,773−5.86%12.35%30.92%
5 years2,310−2.30%12.46%25.46%
7 years1,8114.32%12.05%15.31%
10 years1,0719.41%12.10%14.04%

Two things in this table are worth sitting with.

First, the middle hardly moves. The median investor earned about 12% a year whether they held for three years or ten. Time did not raise the typical outcome; it removed the extremes on both sides. The best one year window, 94.67%, started at the 2020 low; the best ten year window was 14.04% a year.

Second, every worst case in the table ends on the same day, 23 Mar 2020, when the Nifty 50 closed at 7,610.25 in the pandemic crash. The worst one year window started on 22 Mar 2019; the worst five year window on 23 Mar 2015; the worst seven year window on 21 Mar 2013. A crash does not just hurt the people who bought just before it. It hurts everyone who needs their money on that day.

The worst case improves with time, and turns positive by seven years in this record
  1. Worst 1 year−33.57%
  2. Worst 3 years, a year−5.86%
  3. Worst 5 years, a year−2.30%
  4. Worst 7 years, a year4.32%
  5. Worst 10 years, a year9.41%

Lowest rolling CAGR for each holding period, Nifty 50 price index, NSE daily closes, 21 Feb 2012 to 12 Oct 2026.

Why the worst case matters more than the average

A table of averages tells you what a typical investor saw. Your plan has to survive the investor who needed the money in March 2020. That is the logic behind the usual rule: money needed within about three years stays out of equity. In this record a three year holding could still be 5.86% a year down, about 16.6% in total, at exactly the wrong moment.

There is a second reason the worst case matters: what you do in it. The crash guide shows how the most expensive mistake is selling after the fall. An investor with a ten year horizon who sold on 23 Mar 2020 turned a temporary 38% fall into a permanent one. The rolling table only holds for people who stay.

What would you do?

You invested a lump sum in a Nifty 50 index fund on 23 Mar 2015. Five years later, on 23 Mar 2020, it is worth less than you put in.

  1. Sell: five years and nothing to show for it

    You lock in the worst five year window in the record, −2.30% a year. The index closed at 7,610.25 that day.

  2. Hold, because the money is not needed yet

    The index passed its January 2020 record on 9 Nov 2020. Measured from 23 Mar 2015, the ten years to 24 Mar 2025 returned 10.71% a year on the price index.

NSE daily closes: 8,550.90 on 23 Mar 2015, 7,610.25 on 23 Mar 2020, 23,658.35 on 24 Mar 2025. One episode; a recovery is not guaranteed.

What changes with a SIP

Most people do not invest one lump sum; they invest every month. A SIP spreads the start dates across the whole period, so its result is an average of many rolling windows rather than one. That smooths the outcome but does not remove the end date problem: if the market is down 15% in the month you need the money, the whole pot is down with it, including the instalments made years ago.

This is why goal based investors move money out of equity gradually as the goal approaches, rather than all at once on the last day. The goal based investing note and the guide on investing for a child's education work through a glide path. The SIP calculator shows what a monthly amount could grow to at a fixed rate, and the sequence of returns note shows why the order of good and bad years matters more near the end.

Matching money to horizon

If a three year window went the worst way it has, what would your equity be worth?

Value at the end ₹4,17,150
Change in rupees −₹82,850

Enter the worst rate from the table for your horizon: −33.57 for 1 year, −5.86 for 3, −2.30 for 5, 4.32 for 7. Nifty 50 price index history to 12 Oct 2026; the future can be worse.

A simple way to use the table:

  • Under 3 years: the money you need belongs in deposits or short duration debt. A one year equity window lost a third of its value in the record.
  • 3 to 5 years: some equity is defensible, but plan for a loss in the year you need it. A mix with debt narrows the range.
  • 5 to 7 years: the record gets steady, with the worst five year window close to flat.
  • 7 years or more: in this sample, every window ended ahead. That is where most of a long term equity allocation sits.

Limits of the record

Fourteen and a half years is a short history, and the windows overlap heavily: the 1,071 ten year windows all start between Feb 2012 and Oct 2016, so they share most of their path. The sample contains one crash, from which recovery was fast. A crash with a slow recovery would make the worst case for every holding period worse. Before 2012, the Nifty took years to regain its January 2008 high. The table is a description of 2012 to 2026, not a law.

How this shows up in RupeeCase

Every RupeeCase strategy page shows rolling returns of the model next to the Nifty 50 TRI line, so you can see the spread of outcomes rather than one CAGR. Largecap Hybrid runs a momentum rule on large companies with a debt and gold sleeve, 21 holdings rebalanced every 4 weeks: model CAGR 22.74%, deepest fall −22.04%, as of 27 Apr 2026. The back test covers about five years, shorter than the windows in this guide; read it as one window, not a law.

Questions investors ask

How long should I stay invested in the stock market?

As long as the money is not needed. In the Nifty 50 record since 2012, five year holdings almost never lost and seven year holdings never did. Money needed within about three years is usually kept out of equity.

Is 5 years enough for equity investment?

In this record a five year holding of the Nifty 50 lost money in 0.2% of start dates, and the worst was −2.30% a year, ending in the March 2020 crash. Five years has been enough in most windows, not all.

What is the minimum holding period for equity?

There is no legal minimum. For tax, shares held more than 12 months are long term. For risk, the record suggests three years is the shortest sensible horizon and five or more is safer.

Can I lose money in equity over 10 years?

Not in the Nifty 50 windows since 2012, where the worst ten year rate was 9.41% a year. Over longer history, and in single stocks or narrow sectors, ten year losses have happened.

Does staying invested longer increase returns?

Not on average: the median was about 12% a year for every holding period here. What a longer holding did was cut the chance of a loss and narrow the range of outcomes.

What are rolling returns?

The return over a fixed length of time, measured from every possible start date. They show the spread of outcomes an investor could have had, instead of the one start and end date a CAGR uses.