Personal prediction of stroke recurrence based on modifiable factors may enhance patient compliance to treatments and healthy lifestyles while optimizing resources of health centers. Vascular risk factors, socio-economic indicators and habits correlate with stroke morbidity and further recurrence. We aimed to estimate stroke recurrence probability as a function of time (3 months, < 1 year and > 1year), both at individual level and with larger classes of individuals. Clinical and socioeconomic public healthcare-based dataset of 41325 patients admitted with stroke diagnosis in 88 public hospitals over 6 years were analyzed. Overall, 8509 patients presented a stroke (one or more) recurrence (20.6%), with the following temporal distribution: 3 months, 1 year and > 1 year, 57%, 17% and 26% respectively. We developed a supervised-machine learning based study and identified modifiable and non-modifiable risk factors with stronger impact on risk of stroke recurrence. An algorithm able to provide individualized risk of stroke recurrence at 3 and 12 months was developed (AUROC = 0.80, for balanced classes). The risk can be continuously updated according to the status of modifiable risk factors. We also calculated the survival curve for each patient, to detect different risk recurrence periods along time. Download figure a) ROC curve for the three classes predicted.b) Feature importance to explain the model for features modifiable by the patient or notc) Probability over time of “No stroke recurrence” in an example patient according to optimal (orange) or poor (blue) control of vascular risk factors Machine learning analyses can improve risk prediction and offer individualized information to patients that can be used as feedback for secondary prevention strategies. Our approach is compatible with prevention strategies which, by continuous patient communication and feedbacks, make patients more likely to comply with treatment prescribed or lifestyle changes suggested.