Flavin-containing monooxygenases (FMOs) are a conserved family of xenobiotic enzymes upregulated in multiple longevity interventions, including nematode and mouse models. Previous work supports that C. elegans fmo-2 promotes longevity, stress resistance, and healthspan by rewiring endogenous metabolism. However, there are five C. elegans FMOs and five mammalian FMOs, and it is not known whether promoting longevity and health benefits is a conserved role of this gene family. Here, we report that expression of C. elegans fmo-4 promotes lifespan extension and paraquat stress resistance downstream of both dietary restriction and inhibition of mTOR. We find that overexpression of fmo-4 in just the hypodermis is sufficient for these benefits, and that this expression significantly modifies the transcriptome. By analyzing changes in gene expression, we find that genes related to calcium signaling are significantly altered downstream of fmo-4 expression. Highlighting the importance of calcium homeostasis in this pathway, fmo-4 overexpressing animals are sensitive to thapsigargin, an ER stressor that inhibits calcium flux from the cytosol to the ER lumen. This calcium/fmo-4 interaction is solidified by data showing that modulating intracellular calcium with either small molecules or genetics can change expression of fmo-4 and/or interact with fmo-4 to affect lifespan and stress resistance. Further analysis supports a pathway where fmo-4 modulates calcium homeostasis downstream of activating transcription factor-6 (atf-6), whose knockdown induces and requires fmo-4 expression. Together, our data identify fmo-4 as a longevity-promoting gene whose actions interact with known longevity pathways and calcium homeostasis.