Enhanced activity of interleukin 17 (IL-17) producing T helper 17 (Th17) cells plays an important role in autoimmune and inflammatory diseases. Significant loss of body weight and appetite is associated with chronic inflammation and immune activation, suggesting the cross talk between immune and neuroendocrine systems. Ghrelin has been shown to regulate the organism immune function. However, the effects of ghrelin on the differentiation of Th17 cells remain elusive. In the present study, we observed the enhanced differentiation of Th17 cells in spleens of growth hormone secretagogue receptor 1a (GHSR1a)-/- mice. Treatment of ghrelin repressed Th17 cell differentiation in a time- and concentration-dependent manner. Phosphorylation of mammalian target of rapamycin (mTOR) and signal transducer and activator of transcription 3 (STAT3) was increased in the spleens of GHSR1a-/- mice. Activation of mTOR signaling by injection of Cre-expressiong adenovirus into tuberous sclerosis complex 1 (TSC1) loxp/loxp mice increased the differentiation of Th17 cells in spleen, which was associated with an increment in the phosphorylation of STAT3. Activation of mTOR signaling by leucine or overexpression of p70 ribosome protein subunit 6 kinase 1 (S6K1) activated mTOR signaling in isolated T cells, while reversed the ghrelin-induced inhibition of iTh17 cell differentiation. In conclusion, mTOR mediates the inhibitory effect of ghrelin on the differentiation of Th17 cells by interacting with STAT3.