We study a dynamic equilibrium model where the same optimal monetary policy is implemented with and without full commitment if government debt is indexed. In contrast, with nominal debt, the full commitment policy is time inconsistent, since the government is tempted to inflate away its nominal liabilities. We characterize the optimal sequential policy. It has the feature that government debt is progressively depleted, and so, eventually, the time inconsistency problem vanishes. We compare this equilibrium to a myopic solution and to the Ramsey solution.