This paper studies optimal monetary policy under precommitment in a state-dependent pricing (SDP) environment, in contrast to the standard assumption of time-dependent pricing (TDP). I show that the endogenous timing of price adjustment under SDP importantly alters the policy tradeoffs faced by the monetary authority, due to lower cost of inflation variation on the relative-price distortion. It is thus desirable under SDP for the monetary authority to put less weight on inflation stabilization, relative to other stabilization goals. The optimal Ramsey policy under SDP delivers a 24 percent higher standard deviation of inflation, but with 26 percent and 6 percent lower standard deviations of output gap and nominal interest rate, respectively...