BackgroundResearch has estimated the associations of lifestyle at one-time point with the risk of dementia and hippocampal volume, but the impact of lifestyle transition on dementia and hippocampal volume remains unclear. This study aims to examine the associations of lifestyle transition with the risk of dementia and hippocampal volume. MethodsBased on data from the UK Biobank, a weighted lifestyle score was constructed by incorporating six lifestyle factors. Within each baseline lifestyle group (i.e., healthy, intermediate, and unhealthy), lifestyle transition was classified into decline, maintenance, and improvement. Cox proportional hazard regression was used to estimate the association of lifestyle transition and incident dementia (N = 16,305). A multiple linear regression model was used to estimate the association between lifestyle transition and hippocampal volume (N = 5849). ResultsDuring a median follow-up period of 8.6 years, 120 (0.7 %) dementia events were documented. Among participants with healthy baseline lifestyles, the improvement group had a lower risk of incident dementia (HR: 0.18, 95 % CI: 0.04–0.81) and a larger hippocampal volume (β = 111.69, P = 0.026) than the decline group. Similar results were observed among participants with intermediate baseline lifestyles regarding dementia risk but not hippocampal volume. No benefits were observed in the improvement group among those with unhealthy baseline lifestyles. LimitationsA lower incidence of dementia than other cohort study and this may have resulted in an underestimation of the risk of dementia. ConclusionsEarlier transitions to healthier lifestyle were associated with reduced risk of incident dementia and decreased hippocampal atrophy.