This article presents a dynamic political-economic model of total government obligations. Its focus is on the interplay between debt and entitlements. In our model, both are tools by which temporarily powerful groups can extract resources from groups that will be powerful in the future: debt transfers resources across periods; entitlements directly target the future allocation of resources. We prove the following results. First, the presence of endogenous entitlements dampens the incentives of politically powerful groups to accumulate debt, but it leads to an increase in total government obligations. Second, fiscal rules can have perverse effects: if entitlements are unconstrained, and there are capital market frictions, debt limits lead to an increase in total government obligations and to worse outcomes for all groups. Analogous results hold for entitlement limits. Third, our model sheds some lights on the influence of capital market frictions on the incentives of governments to adopt fiscal rules, and implement entitlement programs. Finally, we identify preference polarization as a possible explanation for the joint growth of debt and entitlements.