Rents are rising across the country, but in some cities far more than others.

Overall, rent increases, along with higher costs associated with clothing, gasoline and auto insurance, helped to drive the largest increase to the consumer-price index in five months, the Bureau of Labor Statistics announced on Wednesday. The CPI rose 0.5% in January, prompting concerns that higher inflation will encourage the Federal Reserve to hike interest rates.

The median rent rose 3.1% last year, according to a recent report released by real-estate website Trulia. “Rising rents may come as somewhat of a surprise,” the report said. “After all, the number or households renting has been declining while homeownership increased, and rent increases have slowed somewhat in the last year compared to the last five years.”

But some U.S. cities saw massive increases over the last year. Rents in Tacoma, Wash., increased nearly three times more than the national average last year, the highest rent appreciation nationwide in 2017. The median rent in Tacoma rose 8.8% from $1,650 per month in 2016 to $1,795, Trulia found. Comparatively, the median rent across the U.S. increased only 3.1% last year.

In nearby Seattle, rents have risen 39.8% over the past five years, matching the gains also seen in home prices. Only five cities — Cape Coral-Ft. Myers, Fla.; Oakland, Calif.; Denver; Daytona Beach, Fla.; and San Jose, Calif. — have experienced larger rent hikes in that time.

Also see:Amazon’s HQ2 would have the biggest impact on real estate in these U.S. cities

This is what happens when homes are made permanently affordable

The presence of companies like Amazon AMZN, -1.78% and Microsoft MSFT, -1.24% has driven the remarkable rent appreciation in Seattle in recent years. Consequently, consumers in search of more affordable housing have spread quickly to neighboring cities, such as Tacoma, which is just 32 miles from Seattle. Tacoma’s recent fortunes could foretell what will occur wherever Amazon chooses to set up shop for its second headquarters.

Three other cities experienced rent appreciation at or above 8% over the past year: Sacramento, Calif. (8.3%), Milwaukee (8%) and Los Angeles, Calif. (8%). And five more cities experienced rent hikes more than double the national average: Colorado Springs, Colo. (6.9%), Daytona Beach (6.9%), Salt Lake City (6.7%), Gary, Ind. (6.3%) and Fresno, Calif. (6.2%).

Although rents have climbed substantially in many markets across the country, most Americans live in a city or town where it is still more affordable to rent than to buy a home, according to research from real-estate data firm Attom Data Solutions. And rent appreciation could be making homeownership more difficulty to achieve: In 60% of markets, rent increases are outpacing wage growth, according to Attom.