The mechanistic target of rapamycin (mTOR) is a central cell growth controller and forms two distinct complexes: mTORC1 and mTORC2. mTORC1 integrates a wide range of upstream signals, both positive and negative, to regulate cell growth. Although mTORC1 activation by positive signals, such as growth factors and nutrients, has been extensively investigated, the mechanism of mTORC1 regulation by stress signals is less understood. In this study, we identified the Nemo-like kinase (NLK) as an mTORC1 regulator in mediating the osmotic and oxidative stress signals. NLK inhibits mTORC1 lysosomal localization and thereby suppresses mTORC1 activation. Mechanistically, NLK phosphorylates Raptor on S863 to disrupt its interaction with the Rag GTPase, which is important for mTORC1 lysosomal recruitment. Cells with Nlk deletion or knock-in of the Raptor S863 phosphorylation mutants are defective in the rapid mTORC1 inhibition upon osmotic stress. Our study reveals a function of NLK in stress-induced mTORC1 modulation and the underlying biochemical mechanism of NLK in mTORC1 inhibition in stress response.