Objective To explore the effect of healthy lifestyle intervention on elderly patients with chronic diseases.Methods A total of 60 elderly patients receiving chronic disease treatment in a community health service center from July 2021 to March 2023 were selected as research objects and randomly divided into two groups by drawing lots,namely the experimental group and the reference group,with 30 cases in each group.The reference group was treated with routine intervention,and the experimental group was treated with healthy lifestyle intervention.The changes of the condition after intervention were compared between the two groups.Results The total improvement rate of the reference group and the experimental group were 50.00%and 76.67%,respectively,and the experimental group was higher than the reference group,the difference was statistically significant(x2=4.593,P=0.032).After the intervention,the scores of Pittsburgh sleep quality index(t=4.682)and life quality assessment scale(t=5.114)were better in the experimental group,and the difference was statistically significant(P<0.01).Conclusion Healthy lifestyle intervention in elderly patients with chronic diseases can alleviate the disease,control the development of the disease,improve the therapeutic effect of patients,improve the sleep quality of patients and improve the quality of life of patients.