The paper examines the impact of oil price shocks on inflation, as well as the impact of the choice of the monetary policy regime on the strength of this influence. We used dynamic models on panel data for the countries of the world for 2000–2017. It is shown that the impact of changes in oil prices on inflation is carried out predominantly through the channel of exchange rate. The paper demonstrates the influence of the transition to inflation targeting on the nature of the relationship between oil price shocks and inflation. This effect is asymmetrical: during periods of rising oil prices, inflation targeting reduces the effect of the oil prices pass-through, limiting the negative effects of shock. During periods of decline in oil prices, this monetary policy regime, in contrast, contributes to a stronger pass-through, helping to reduce inflation.