Lifestyle modifications and environmental factors are important for stroke prevention and rehabilitation after stroke. The individual stroke risk may be modified by factors like physical activity, body weight and nutrition, special dietary supplements such as vitamins, smoking, consumption of tea, coffee and alcohol, psychological factors and by keeping a pet. The focus of this article lies on measures for stroke prevention. For certain topics, it also comments on factors that are important during rehabilitation after stroke.