This paper studies optimal discretionary monetary and fiscal policy when the lower bound on nominal interest rates is occasionally binding in a model with nominal rigidities and long-term government debt. At the lower bound it is optimal for the government to temporarily reduce debt.