While strokes can run in families, they are primarily influenced by a combination of genetic and environmental factors. Having a family history of strokes may increase the risk, but lifestyle choices also play a significant role.