I present new evidence of the effects of climate shocks on conflict. Focusing on political violence in Africa, I find that El Niño Southern Oscillation shocks during the crop‐growing season affect harvest‐related conflict in croplands exposed to this climate phenomenon. Specifically, a 1°C warming of sea surface temperature in the tropical Pacific Ocean, a proxy for a moderate‐strength El Niño event, reduces political violence in exposed locations with crop agriculture, relative to other areas, by approximately 3%, during the early postharvest season. This effect attenuates toward zero as the crop year progresses. This effect can reach as much as 15% after a strong El Niño event, such as that of 1997 or 2015, in highly exposed croplands, such as parts of Southern Africa and the Sahel. Conversely, a La Niña event, which is a counterpart of an El Niño event, has the opposite effect and thus increases conflict in the exposed croplands during the early postharvest season. Because these events can be predicted several months in advance, the findings of this research can contribute to creating a platform for early warnings about transitory spatiotemporal shifts in political violence in predominantly agrarian societies.