Before revision:  We show that it is optimal for the government to adopt a policy that keeps the debt-to-GDP ratio under an inflation-dependent ceiling.
After revision:  In a general not necessarily Markovian framework, we first show by probabilistic arguments that the optimal debt reduction policy can be expressed in terms of the optimal stopping rule of an auxiliary optimal stopping problem. We then exploit such link to characterise the optimal control in a two-dimensional Markovian setting in which the state variables are the level of the debt-to-GDP ratio and the current inflation rate of the country. The latter follows uncontrolled Ornstein-Uhlenbeck dynamics and affects the growth rate of the debt ratio. We show that it is optimal for the government to adopt a policy that keeps the debt-to-GDP ratio under an inflation-dependent ceiling.