Aspirin is a prototypic cyclooxygenase inhibitor with a variety of beneficial effects on human health. It prevents age-related diseases and delays the aging process. Previous research has shown that aspirin might act through a dietary restriction-like mechanism to extend lifespan. To explore the mechanism of action of aspirin on aging, we determined the whole-genome expression profile of Caenorhabditis elegans treated with aspirin. Transcriptome analysis revealed the RNA levels of genes involved in metabolism were primarily increased. Reproduction has been reported to be associated with metabolism. We found that aspirin did not extend the lifespan or improve the heat stress resistance of germline mutants of glp-1. Furthermore, Oil Red O staining showed that aspirin treatment decreased lipid deposition and increased expression of lipid hydrolysis and fatty acid β-oxidation-related genes. The effect of germline ablation on lifespan was mainly mediated by DAF-12 and DAF-16. Next, we performed genetic analysis with a series of worm mutants and found that aspirin did not further extend the lifespans of daf-12 and daf-16 single mutants, glp-1;daf-12 and glp-1;daf-16 double mutants, or glp-1;daf-12;daf-16 triple mutants. The results suggest that aspirin increase metabolism and regulate germline signalling to activate downstream DAF-12 and DAF-16 to extend lifespan.