This paper examines whether the democratic shortcomings of Restoration Spain influenced the expansion of education spending. Specifically, we discuss how electoral outcomes conditioned the allocation of primary education investment across provinces from 1902 to 1922. Our results show that voting for minority parties and the extensive political patronage at the provincial level hindered public primary schooling outlays. We argue that the government punished “rebellious” provinces to preserve the regime, and that education was not well suited to support patron–client relationships. We also show that these effects diminished after World War I, as government control over electoral outcomes declined. Accordingly, by the end of the period, political voice gained a more salient role.