Based on your financial expertise, provide your response or viewpoint on the given financial question or topic. The response format is open.

Over the long term, why invest in bonds?
If I don't need this money for decades, meaning I can ride out periodical market crashes, why would I invest in bonds instead of funds that track broad stock market indexes? You wouldn't.  But you can never be 100% sure that you really won't need the money for decades.  Also, even if you don't need it for decades, you can never be 100% certain that the market will not be way down at the time, decades in the future, when you do need the money.  The amount of your portfolio you allocate to bonds (relative to stocks) can be seen as a measure of your desire to guard against that uncertainty. I don't think it's accurate to say that "the general consensus is that your portfolio should at least be 25% in bonds".  For a young investor with high risk tolerance, many would recommend less than that.  For instance, this page from T. Rowe Price suggests no more than 10% bonds for those in their 20s or 30s. Basically you would put money into bonds rather than stocks to reduce the volatility of your portfolio.  If you care only about maximizing return and don't care about volatility, then you don't have to invest in bonds.  But you probably actually do care about volatility, even if you don't think you do.  You might not care enough to put 25% in bonds, but you might care enough to put 10% in bonds.