Peroxisomes perform beta-oxidation of branched and very-long chain fatty acids, which leads to the formation of reactive oxygen species (ROS) within the peroxisomal lumen. Peroxisomes are therefore prone to ROS-mediated damages. Here, using light to specifically and acutely induce ROS formation within the peroxisomal lumen, we find that cells individually remove ROS-stressed peroxisomes through ubiquitin-dependent pexophagy. Heat shock protein 70 s mediates the translocation of the ubiquitin E3 ligase Stub1 (STIP1 Homology and U-Box Containing Protein 1) onto oxidatively-stressed peroxisomes to promote their selective ubiquitination and autophagic degradation. Artificially targeting Stub1 to healthy peroxisomes is sufficient to trigger pexophagy, suggesting a key role Stub1 plays in regulating peroxisome quality. We further determine that Stub1 mutants found in Ataxia patients are defective in pexophagy induction. Dysfunctional peroxisomal quality control may therefore contribute to the development of Ataxia.