This paper presents a simple general equilibrium model of optimal taxation similar to that of Lucas and Stokey (1983), except that we let the government default on its debt. As a benchmark, we consider Ramsey equilibria in which the government can precommit its policies at the beginning of time. We then consider sustainable equilibria in which both government and private agent decision rules are required to be sequentially rational. We concentrate on trigger mechanisms which specify reversion to the finite horizon equilibrium after deviations by the government. The main result is that no Ramsey equilibrium with positive debt can be supported by such trigger mechanisms.