Climate risk can erode the social contract. New evidence from sub-Saharan Africa shows droughts and extreme heat lower tax morale via inequality and trust erosion. For flooding, more visible responses reduced this effect. Protecting state legitimacy may be a key policy challenge in the coming years.