We develop a model of pork-barrel politics in which a government official tries to improve her reelection chances by spending on targeted interest groups. The spending signals that she shares their concerns. We investigate the effect of such pandering on public spending. Pandering increases spending relative to a nonaccountable official (one who does not have to run for reelection) if either the official's overall spending propensity is known, or if it is unknown but the effect of spending on the deficit is opaque to voters. By contrast, an unknown spending propensity may induce the elected official to exhibit fiscal discipline if spending is transparent.