BackgroundSocioeconomic status (SES) is associated with stroke incidence and mortality. Distribution of stroke risk factors is changing worldwide; evidence on these trends is crucial to the allocation of resources for prevention strategies to tackle major modifiable risk factors with the highest impact on stroke burden.MethodsWe extracted data from the Global Burden of Diseases, Injuries, and Risk Factors Study (GBD) 2017. We analysed trends in global and SES-specific age-standardised stroke incidence, prevalence, mortality, and disability-adjusted life years (DALYs) lost from 1990 to 2017. We also estimated the age-standardised attributable risk of stroke mortality associated with common risk factors in low-, low-middle-, upper-middle-, and high-income countries. Further, we explored the effect of age and sex on associations of risk factors with stroke mortality from 1990 to 2017.ResultsDespite a growth in crude number of stroke events from 1990 to 2017, there has been an 11.3% decrease in age-standardised stroke incidence rate worldwide (150.5, 95% uncertainty interval [UI] 140.3–161.8 per 100,000 in 2017). This has been accompanied by an overall 3.1% increase in age-standardised stroke prevalence rate (1300.6, UI 1229.0–1374.7 per 100,000 in 2017) and a 33.4% decrease in age-standardised stroke mortality rate (80.5, UI 78.9–82.6 per 100,000 in 2017) over the same time period. The rising trends in age-standardised stroke prevalence have been observed only in middle-income countries, despite declining trends in age-standardised stroke incidence and mortality in all income categories since 2005. Further, there has been almost a 34% reduction in stroke death rate (67.8, UI 64.1–71.1 per 100,000 in 2017) attributable to modifiable risk factors, more prominently in wealthier countries.ConclusionsAlmost half of stroke-related deaths are attributable to poor management of modifiable risk factors, and thus potentially preventable. We should appreciate societal barriers in lower-SES groups to design tailored preventive strategies. Despite improvements in general health knowledge, access to healthcare, and preventative strategies, SES is still strongly associated with modifiable risk factors and stroke burden; thus, screening of people from low SES at higher stroke risk is crucial.Electronic supplementary materialThe online version of this article (10.1186/s12916-019-1397-3) contains supplementary material, which is available to authorized users.