The best returns come from time in the market, not timing the market. Thinkstock By Ryan Ermey, Associate Editor July 3, 2019From Kiplinger’s Personal Finance When the market gets jumpy, so do investors. In periods of volatility, anxious stock market investors can be tempted to take money off the table, fearing a potentially major slide in their portfolio. Take this past May, for example. Stocks began to waver early in the month, when a presidential tweet regarding tariffs re-inflamed investor concerns over a possible trade war between the U.S. and China. Investors responded by taking their proverbial ball and going home. May marked the largest monthly exit from exchange-traded stock funds ever recorded, with investors walking out the door with $19.9 billion. See Also: Don't Be Afraid of Emerging Markets You can hardly blame them for wanting to avoid a bad day or two. Consider: From the beginning of the current bull market, stocks in Standard & Poor’s 500-stock index have returned an annualized 15.1% (not including dividends). Exclude the five days from each year through 2018 with the worst returns, however, and the annualized price gain jumps to an astonishing 32.2%, according to data from investment research firm BMO Capital Markets. Investors who missed out on the May downdraft made out. Say you were able to exit stocks following the president’s May 5th tweet. You would have avoided a 6.6% slide in the S&P 500 from then through May 31. But before congratulating yourself on a savvy piece of market timing, ask yourself if, or when, you planned to buy back in. After all, from the end of May through June 14, the market had already bounced back by nearly 5%. Stay invested. Exiting stocks amid a turbulent market may help assuage your anxiety, but you’re likely to miss out on substantial gains while you sit on the sidelines. That’s because much of the market’s long-term performance is driven by returns from a few outstanding days. Remember the S&P 500’s 15.1% annualized return over the course of the current bull run? If we leave out the five best days of each year for the market, the annualized return plummets to a measly 1.1%. On an initial $10,000 investment, that’s the difference between ending up with about $40,000 and about $11,000. Advertisement And if you think you’ll be able to pinpoint when to exit and then get back in the game, think again. Since the bull began in 2009, 40% of the market’s five best days of the year have occurred within a week of the five worst days, according to BMO. Investors who don’t have a crystal ball are better off staying fully invested than attempting to wring gains from short-term, market-timing moves. See Also: Lower Your Expectations for Returns Over the Next Decade It helps to anticipate short-term bouts of volatility and to have a plan in place for when those stretches occur. If you’re determined to add to positions when stocks decline, make a shopping list of potential targets. Make sure your portfolio’s asset allocation aligns with your tolerance for risk. If a major decline in the stock market would keep you up at night or cause you to panic and liquidate your nest egg, consider pruning back your stock allocation or adding an investment intended to mitigate volatility. The iShares Edge MSCI Minimum Volatility USA ETF (symbol USMV, $62) tracks an index of large and midsize stocks with an emphasis on firms with stable cash flows and steady returns. Since its October 2011 inception, the fund has been 21.2% less volatile than the S&P 500 while outstripping the index by an average of 0.4 percentage point per year. Smoothing out the market’s occasionally steep ups and downs might keep you in the market longer, says Sam Stovall, chief investment strategist at research firm CFRA. “If you go to the amusement park but don’t like the roller coaster, then spend some time on the merry-go-round,” he says.