Background: The evidence shows that the pattern of individuals' lifestyle affects their health and longevity. One of the basic tools in changing the lifestyle of the patient is presence of training programs as part of the cares. In the present study, the effect of education on the lifestyle of patients with knee osteoarthritis is evaluated. Materials and Methods: In this clinical trial, before and after, 60 patients with knee osteoarthritis who were undergoing Total knee arthroplasty were studied. Before surgery, health promoting lifestyle profile II was completed for all patients. Then patients attended educational programs related to aspects of lifestyle and were undergoing Total knee arthroplasty (TKA). Three months after surgery, the questionnaire was again completed for all patients. Finally, the obtained data were analyzed statistically. Findings: The mean score of the components of health responsibility ( vs. ), physical activity ( vs. ), nutrition ( vs. ), self-actualization ( vs. ) and interpersonal support ( vs. ) and total mean of Walker questionnaires ( vs. ) was significantly increased after training (p<0.05). However, education does not improve the score of mental stress management component ( vs. p=0.479). Conclusion: Educational intervention can improve the lifestyle of patients with knee osteoarthritis who are undergoing Total knee arthroplasty. Of course, these trainings are ineffective in improving stress management component that should be investigated in future studies.