PYROXD1 is a largely unstudied essential flavoprotein, whose variants were recently reported to cause myopathies in humans. Here, we report the first biochemical and structural characterization of PYROXD1 and uncover its function as a protector of the tRNA ligase complex from oxidative inactivation. The tRNA ligase complex is essential for the biogenesis of several tRNAs and for the unfolded protein response in humans, and loses activity in cells depleted of PYROXD1. Our mass spectrometry analysis of immunoprecipitates of FLAG-PYROXD1 revealed the tRNA ligase complex as the main interactor of PYROXD1 in presence of nicotinamide adenine dinucleotides, NAD(P)(H). Upon binding to the tRNA ligase complex loaded with NAD(P)H, which sensitizes it to oxidative inactivation, PYROXD1 locally converts the dinucleotide to the protective, oxidized form, NAD(P)+. This function is impaired in disease-causing variants N155S and Q372H, thus establishing the tRNA ligase complex as a potential key player in PYROXD1-related myopathies.