We study a model of insurgent learning during a counterinsurgency campaign. We test empirical implications of the model using newly declassified microdata documenting improvised explosive devices (IEDs) in Afghanistan from 2006 to 2014. This period was characterized by substantial US investments...