The detection of internal chemicals by interoceptive chemosensory pathways is critical for regulating metabolism and physiology. The molecular identities of interoceptors, and the functional consequences of chemosensation by specific interoceptive neurons remain to be fully described. The C. elegans pharyngeal neuronal network is anatomically and functionally homologous to the mammalian enteric nervous system. Here, we show that the I3 pharyngeal enteric neuron responds to cations via an I3-specific variant ionotropic receptor (IR) to regulate salt stress tolerance. The GLR-9 IR, located at the gut lumen-exposed sensory end of I3, is necessary and sufficient for salt sensation, establishing a chemosensory function for IRs beyond insects. Salt detection by I3 protects specifically against high salt stress, as glr-9 mutants show reduced tolerance of hypertonic salt but not sugar solutions, with or without prior acclimation. While cholinergic signaling from I3 promotes tolerance to acute high salt stress, peptidergic signaling from I3 during acclimation is essential for resistance to a subsequent high salt challenge. Transcriptomic analyses show that I3 regulates salt tolerance in part via regulating the expression of osmotic stress response genes in distal tissues. Our results describe the mechanisms by which chemosensation mediated by a defined enteric neuron regulates physiological homeostasis in response to a specific abiotic stress.