High dividend yields are seductive.

They can also be a siren song for income investors who buy in, only to get crushed when the high yields prove to be a value trap.

Of course, not all high yields are a warning sign, and I regularly recommend high-yielders.

Oftentimes, though, a huge dividend is one thatā€™s about to get slashed.

So, instead of finding a payout that could get shredded, letā€™s look at a company with a long history of raising its dividend.

Over the course of retirement, dividend growth is more important than raw yield. Itā€™s the only way to ensure your income stream stays ahead of inflation.

Think about it. Letā€™s say you got a great job right out of school that paid well ā€¦ but your employer never gave you a raise.

That paycheck would lose its appeal as your living expenses rose.

Youā€™d be better off taking a job that offered modest pay on day one but had the potential for a lifetime of healthy raises.

And McDonaldā€™s Corporation (NYSE: MCD) falls into the latter category.

A Quick Look at McDonaldā€™s Dividend

At current prices, McDonaldā€™s dividend yields 2.3%. I know that isnā€™t a high yield by any stretch of the imagination.

Since declaring its first dividend in 1976, McDonaldā€™s has raised its dividend every single year.

It is, however, competitive with other income investments in this era of low yields. Itā€™s more than double the yield youā€™d get on a 10-year Treasury and roughly in line with the yields on 10-year A-rated bonds.

But, again, Iā€™m more interested in growth than raw yield. And this is where McDonaldā€™s shines like those golden arches on a dark drive home.

Since declaring its first dividend in 1976, McDonaldā€™s has raised its dividend every single year. And it shows no sign of slowing down.

MCD: Decades of Healthy Dividend Growth

McDonald's dividend

You can see in the chart above that McDonaldā€™s dividend growth has been especially strong in the last decade. And the fast-food giant still managed to grow its payout during the recession of 2008 (gray shaded area).

McDonaldā€™s hiked its dividend by about 8% last year. Over the past three years, the dividend has grown at a compound annual rate of 9%. And over the past decade, McDonaldā€™s has grown its dividend at a compound annual rate of 8%.

Like Getting a Raise Every Year

Only time will tell whether we can expect 8% to 9% dividend growth every year until the end of time.

But I can say with confidence that McDonaldā€™s has successfully adapted to changing tastes over the decades. And I have no reason to believe that will change any time soon.

If you want to be conservative, you might model more modest dividend growth of 5% to 6% going forward. But itā€™s safe to assume that the dividend checks will keep growing over the course of your retirement ā€” and likely at levels far above the rate of inflation.

Yield on Cost Proves McDonaldā€™s Dividend Value

Letā€™s take a look at one of my favorite dividend metrics: yield on cost. To get to this number, divide the current annual dividend by your original purchase price. At its core, yield on cost is a measure of cash-on-cash return.

If you had bought McDonaldā€™s stock five years ago, the dividend today would represent a 3.2% yield. Thatā€™s not get-rich-quick money, but itā€™s solid.

Letā€™s say you bought McDonaldā€™s 10 years ago. Your yield on cost would be 4.9%. If you had picked up McDonaldā€™s stock 20 years ago, your yield on cost would be an impressive 17%.

Thatā€™s the power of dividend growth.

McDonaldā€™s has had its share of controversies. Former CEO Steve Easterbrook was terminated last year after trying to cover up an inappropriate workplace relationship.

But the beauty of the company is that its business model is simple enough to run itself on autopilot for years if needed.

McDonaldā€™s doesnā€™t rate all that high on our Green Zone Ratings system at the moment. Its low ratings in size, value and growth pull it down. McDonaldā€™s is a large, slow-growth company.

Itā€™s worth noting that McDonaldā€™s scores exceptionally high on volatility (meaning itā€™s a low-volatility stock) and rates well on quality. These are qualities we want in a long-term dividend payer, if not necessarily in a short-term trade.

So, if youā€™re looking for a dividend stock to last you through a long retirement, supersize an order of McDonaldā€™s stock. But we shouldnā€™t expect a lot of capital gains, or at least not immediately. Think of McDonaldā€™s more as a hamburger-selling bond with a rising payout.

Money & Markets contributorĀ Charles SizemoreĀ specializes in income and retirement topics. Charles is a regular on The Bull & The BearĀ podcast. He is also a frequent guest on CNBC, Bloomberg and Fox Business.

Follow Charles on TwitterĀ @CharlesSizemore.