The autonomic nervous system (ANS) responds to many kinds of stressors to maintain homeostasis. Although the ANS is believed to regulate stress tolerance, the exact mechanism underlying this is not well understood. To understand this, we focused on longevity genes, which have functions such as lifespan extension and promotion of stress tolerance. To understand the relationship between ANS and longevity genes, we analyzed stress tolerance of Caenorhabditis elegans treated with octopamine, which has an affinity to noradrenaline in insects, and acetylcholine. Octopamine and acetylcholine did not show resistance against H2O2, but the neurotransmitters promoted thermotolerance via DAF-16. However, chronic treatment with octopamine and acetylcholine did not extend the lifespan, although DAF-16 plays an important role in longevity. In conclusion, our results show that octopamine and acetylcholine activate DAF-16 in response to stress, but chronic induction of octopamine and acetylcholine is not beneficial for increasing longevity.