This study investigates the impact of inflation on the 2022 US mid-term elections, a period witnessing the resurgence of inflation as a major concern in the USA for the first time in decades. We develop a pre-registered survey with an embedded experiment to examine the political repercussions of rising prices. We find that individuals experiencing a higher personal inflation burden are more inclined to support Republican candidates. Our survey experiment further assesses the impact of partisan messaging leading up to the election, focusing on two primary narratives: government spending, as emphasized by Republicans, and corporate greed, highlighted by Democrats. The results indicate that attributing inflation to government spending decreases support for Democrats, whereas associating it with corporate greed undermines confidence in the Republicans’ ability to effectively manage inflation. Economic voting behaviour depends not only on objective economic conditions but also on how political parties subjectively frame these conditions.