Many people look to the stock market as a place to get rich quick. What smart investors like Warren Buffett have figured out, though, is that thinking long-term about your investments can produce the returns over time that can make you truly wealthy. 

In the following slideshow, Dan Caplinger, The Motley Fool's director of investment planning, looks at what makes a stock a good long-term holding for a 25-year time horizon or longer. He then takes a closer look at Berkshire Hathaway (NYSE:BRK-A) (NYSE:BRK-B), MasterCard (NYSE:MA), and PepsiCo (NYSE:PEP), running them through the wringer to identify why they might fit well in your portfolio or why you might prefer other choices. Regardless of which stocks you pick, focusing on a company's long-term prospects is the best way to find the best returns.

Dan Caplinger owns shares of Berkshire Hathaway. The Motley Fool recommends Berkshire Hathaway, MasterCard, and PepsiCo. The Motley Fool owns shares of Berkshire Hathaway and MasterCard. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.