Maintaining multiple healthy lifestyle factors can significantly reduce the risk of stroke. As the number of healthy lifestyle factors increased, the stroke risk gradually decreased. Our findings emphasize the significance of comprehensive lifestyle interventions.