Investors are constantly reminded that it's impossible to avoid risk in their portfolio. People are worried about geopolitical risk, interest rate risk, liquidity risk, losing money, volatility, uncertainty and the permanent impairment of capital. The list could go on forever.

For the tens of millions of baby boomers who have retired or will be retiring in the years ahead, there is another risk that could prove far more important. The biggest threat to the majority of retirees will be outliving their nest egg. As life expectancies continue to climb, managing longevity risk will be a key input in the portfolio management and planning for the 10,000 or so baby boomers retiring every day for the next 19 years or so.

Getting older is a double-edged sword when it comes to your investment abilities. On the positive side of the ledger, as you age you gain valuable experience in the markets, your assets should be growing and you should have learned to avoid costly mistakes. On the other hand, these longer life expectancies lead to a higher chance for cognitive decline in your later years that could prove to be a huge risk to your assets and ability to manage money effectively.

Story continues below advertisement

A recent research paper, Risks in Advanced Age, by Michael Guillemette, a professor of financial planning at Texas Tech University, outlines why it makes sense for older investors to pay attention to the risk of cognitive deterioration.

Mr. Guillemette found people exhibit a decline in cognitive abilities over time that leads to a decrease in investment performance and financial-literacy skills as they age. Older investors also prefer more certainty, meaning lower equity exposure, which could be a problem with increased time horizons and the need to keep up with inflation over the long haul. It's also difficult for older people to see their own decline in financial skills and abilities. Finally, wealthy people have been shown to have longer life spans than less wealthy people, meaning they will have to invest for a longer period of time.

So in some cases, retirees could prove to be their own worst enemies when trying to navigate the financial markets. Here are some ways baby boomers can protect themselves from the risk of cognitive decline as they age.

Risk and reward are entwined when investing for the future, but the risks aren't always exclusive to the financial markets. Investors are constantly looking for the biggest risk in the markets at any given time. For most investors, however, the biggest risk is almost always themselves. Mitigating that will be more important than ever as life expectancies continue to climb.

Story continues below advertisement

Ben Carlson is director of institutional asset management at Ritholtz Wealth Management.