Reactive oxygen species (ROS) are a byproduct of cell metabolism, and can also arise from environmental sources, such as toxins or radiation. Depending on dose and context, ROS have both beneficial and deleterious roles in mammalian development and disease, therefore it is crucial to understand how these molecules are generated, sensed, and detoxified. The question of how oxidative stress connects to the epigenome, in particular, is important yet incompletely understood. Here we show that an epigenetic regulator, the methyl-CpG-binding protein ZBTB38, limits the basal cellular production of ROS, is induced by ROS, and is required to mount a proper response to oxidative stress. Molecularly, these functions depend on a deubiquitinase, USP9X, which interacts with ZBTB38, deubiquitinates it, and stabilizes it. We find that USP9X is itself stabilized by oxidative stress, and is required together with ZBTB38 to limit the basal generation of ROS, as well as the toxicity of an acute oxidative stress. Our data uncover a new nuclear target of USP9X, show that the USP9X/ZBTB38 axis limits, senses and detoxifies ROS, and provide a molecular link between oxidative stress and the epigenome.