Cells use a variety of mechanisms to maintain optimal mitochondrial function including the mitochondrial unfolded protein response (UPRmt). The UPRmt mitigates mitochondrial dysfunction by differentially regulating mitoprotective gene expression through the transcription factor ATFS-1. Since UPRmt activation is commensurate with organismal benefits such as extended lifespan and host protection during infection, we sought to identify pathways that promote its stimulation. Using unbiased forward genetics screening, we isolated novel mutant alleles that could activate the UPRmt. Interestingly, we identified one reduction of function mutant allele (osa3) in the mitochondrial ribosomal gene mrpl-2 that activated the UPRmt in a diet-dependent manner. We find that mrpl-2(osa3) mutants lived longer and survived better during pathogen infection depending on the diet they were fed. A diet containing low levels of vitamin B12 could activate the UPRmt in mrpl-2(osa3) animals. Also, we find that the vitamin B12-dependent enzyme methionine synthase intersects with mrpl-2(osa3) to activate the UPRmt and confer animal lifespan extension at the level of ATFS-1. Thus, we present a novel gene-diet pairing that promotes animal longevity that is mediated by the UPRmt.