PurposeThe study investigates the impact of inflation on the variability of relative prices in the context of Lebanon.Design/methodology/approachUnlike the traditional method, which relies on the variance of cross-sectional price changes measured at specific points in time to gauge the variability in relative prices, we employ a more appropriate approach. Under this approach, we capture the dispersion in relative prices by estimating how widely (or closely) a set of commodity prices drift apart over a span of time, offering a more comprehensive assessment. Firstly, we employ Johansen’s cointegration test on rolling subsamples to determine the number of statistically significant cointegrating vectors among the prices of 12 major commodity groups. Under this approach, an increase in the number of significant cointegrating vectors indicates a reduction in relative price variability, while a decrease suggests the opposite. Subsequently, we employ ordinary least squares regression to analyze how the fluctuations in inflation affect the variability in relative prices. The sample period ranges from December 2007 to April 2021.FindingsThe empirical results indicate that there exists a certain threshold inflation rate corresponding to which the variability in relative prices is minimized. More importantly, consistent with the theoretical predictions, the results suggest that it is not inflation per se, but the deviation of inflation from the 3% threshold level in either direction that causes higher dispersion in relative prices.Research limitations/implicationsThe empirical findings from this study have crucial implications for the operation of monetary and fiscal policy. In particular, these findings suggest that stabilizing long-term inflation around a certain threshold rate will not only help to anchor inflation expectations effectively but will also minimize the welfare costs associated with inflation.Originality/valueGiven the rising inflationary pressure in the recent past and its welfare costs, the study assumes crucial importance in understating how fluctuations in inflation distort the relative price structure and eventually cause resource misallocations and economic inefficiency.