Objective To observe the clinical effect of Chinese herbal medicine gargle on the prevention of aspiration pneumonia in elderly patients with long-term nasal feeding. Methods 93 elderly patients over 60 years old with indwelling nasogastric tube for 30 days were randomly divided into 48 cases of the experimental group and 45 cases of the control group. We compared incidence of aspiration pneumonia of the elderly patients with long-term nasal feeding in two groups of oral care solution by using the self-made traditional Chinese medicine gargle for oral nursing in the experimental group and treated with saline in the control group. Results The oral bacterial colony count and the incidence of aspiration pneumonia in the experimental group were lower than those in the control group, with two different kinds of nursing fluid. Conclusion Using the self-made traditional Chinese medicine gargle for oral care, could effectively reduce the number of oral bacteria, reduce the incidence of aspiration pneumonia, the application effect is good, and could be in clinical promotion and application.