The aim of this paper is to analyze whether Spanish municipalities adjust in response to budget shocks and (if so) which elements of the budget they are more likely to adjust. The methodology we use to answer these questions is a vector error-correction model (VECM), estimated with data from a panel of Spanish municipalities during the period 1988-2006. Our results confirm, first, that municipalities do indeed make adjustments in response to fiscal shocks (i.e., the deficit is stationary in the long run). Second, we find that most of the adjustment to a revenue shock is borne by the municipalities themselves as they proceed to cut expenditures, with a minor role being played by grant financing. By contrast, adjustments to expenditure shocks are shared on largely equal terms by the municipality –through the raising of taxes– and higher tiers of government –through the raising of grants. These results suggest that the viability of the local finance system is feasible with different institutional arrangements.