Climate change will brew trouble for beer lovers in coming decades as it shrinks yields of barley, the top grain used to make the world's most popular alcoholic drink, according to a new study.

Extreme weather events featuring heat waves and droughts will occur as often as every two or three years in the second half of the century if temperatures rise at current rates, said the study, published Monday in the journal Nature Plants.

Average global barley yields during extreme events are expected to drop between 3 and 17 percent, depending on the conditions.

Less barley will mean beer shortages and price spikes. Under the hottest scenario, China will suffer the most shortages this century, followed by the United States, Germany and Russia, it said.

Prices will spike the most in Ireland, Italy, Canada and Poland. During the extreme climate events, prices for a 500 milliliter bottle, slightly more than a pint, in Ireland will rise from about $2.50 to $5.00.

A field of barley is harvested near Polesworth, Britain, on Aug. 8, 2018. Darren Staples / Reuters

Dabo Guan, a professor of climate change economics at the University of East Anglia and the study's lead author, said beer issues pale in comparison to other climate induced problems, including food security, storm damage and fresh water scarcity. But the threats to a beverage people have enjoyed for thousands of years is an indicator that even consumers in developed countries cannot escape the effects of a changing planet.

"Climate change will affect all of us, not only people who are in India or African countries," Guan said.

The study did not consider climate change's effects on other staple ingredients of beer such as hops.

Consumers in developed countries who want to avoid shortages would be wise to support policies reducing emissions of gases scientists blame for warming the planet, Guan said.

Last year President Donald Trump announced his intention to pull the United States out of the 2015 Paris pact on climate, doubting the extent to which human activity is warming the planet.

Many companies realize the risks of climate on barley, 17 percent of which is used to make beer. Many countries keep emergency reserves of staple crops such as corn, rice and wheat to stave off price spikes and shortages. But most do not do so for barley, making it vulnerable to climate.

Anheuser-Busch InBev, the world’s biggest brewer, said this year it would cut its greenhouse gas emissions by a quarter by 2025.

Jess Newman, the head of U.S. agronomy for Anheuser-Busch, said the company was experimenting with developing drought-resistant barley and working with farmers to reduce their need for water by, for example, encouraging them to place irrigation sprinklers closer to the ground.

"It's definitely an incremental process but we have many varieties in the pipeline," Newman said when asked how close the company was to breeding a drought-resistant barley in the United States. For several years, Anheuser-Busch has used a winter barley in Idaho that gets moisture from melting snow, cutting the need for irrigation.