Inflation continues to be an economic irritant in the U.S., in some cities more than others, according to a new ranking by WalletHub.

While inflation has been closer to 2% for most of the 21st century, average consumer prices in February 2023 were 6% higher than one year ago, when inflation hit a 40-year high, according to the Pew Research Center. 

"This high inflation is driven by a variety of factors, including the continued presence of the Covid-19 pandemic, the war in Ukraine and labor shortages," WalletHub said in its report. "The government is hoping to continue to rein in inflation with additional interest rate hikes this year, but exactly how much of an effect that will have remains to be seen."

To find the states where inflation is rising more quickly, WalletHub looked at consumer price data for 22 major U.S. metropolitan areas, comparing CPI changes over the past year, and the past two months.

Here, in ascending order, are the 10 cities where inflation is rising the fastest, according to WalletHub.

10. Houston-The Woodlands-Sugar Land, Texas

Greater Houston is the fifth-largest metropolitan area in the U.S. The two-month CPI change was 1.90%, and ithe one-year change was 5.20%.