The COVID-19 pandemic has led to widespread school shutdowns, with many continuing distance education via online-learning platforms. We here estimate the causal effects of online education on student exam performance using administrative data from Chinese Middle Schools. Taking a difference-in-di…