Pricey burgers are coming to a store near you.

A spike in corn prices is keeping cattle out of feedlots, where they fatten up on the grain for months before going to slaughter. That means fewer animals coming to the market in the months to come -- conditions that can result in expensive beef at grocery stores.

“Higher prices for the next two to four years are pretty much set in stone,” Rich Nelson, chief strategist at Allendale Inc., said of both beef and cattle.

Beef prices have already seen a round of inflation, even touching a record high in grocery stores last year after some slaughterhouses closed due to Covid-19 outbreaks among workers. Because of the closures, cattle ranchers had nowhere to send animals, so they kept them out of the marketing pipeline. Now, high feed prices are eating away at already slim profits, leading ranchers to keep even more animals grazing on pastures, instead of bulking them up at feedlots for processing.

There isn’t enough corn available globally from major suppliers such as Ukraine and Brazil, and China is eager to import the grain to feed huge numbers of hogs that recovered faster than anticipated from a deadly virus. So importers are buying more from the U.S., leaving less of the yellow grain for domestic feed use.