A recent literature has merged the New Keynesian and the search and matching frameworks, which has allowed the former to analyze the joint dynamics of unemployment and inflation. This paper analyzes optimal monetary policy in this kind of hybrid framework. I show that zero inflation is optimal when all wages are Nash bargained in every period and the economyʹs steady state is efficient. In the more realistic case in which nominal wage bargaining is staggered, a case against price stability arises: in response to real shocks, the central bank should use price inflation so as to avoid excessive unemployment volatility and excessive dispersion in hiring rates. For a plausible calibration, the welfare loss under the zero inflation policy is about three times as large as under the optimal policy.