Epoxide ring opening reactions are important in both biological processes and synthetic applications. Here, the authors show that flavin cofactors can catalyze reductive and oxidative epoxide ring opening reactions and propose the underlying mechanisms.