Lifestyles may influence the risk of hypertension. Our objective was to assess the association between a healthy-lifestyle score and the incidence of hypertension. The SUN Project is a dynamic, prospective cohort of Spanish university graduates (1999-2014). Among 14,057 participants initially free of hypertension, we assessed the influence of lifestyle-related factors based on a 10-item score that we previously reported to be associated with lower risk of major cardiovascular events. However, we focused on factors related to hypertension risk according to previous scientific evidence and international clinical guidelines and constructed a 6-item score including: no smoking, moderate-to-high physical activity, Mediterranean diet adherence, healthy body mass index, moderate alcohol intake and no binge drinking. We fitted Cox regression models to adjust for potential confounders. During a median follow-up of 10.2 years, we identified 1406 incident cases of medically diagnosed hypertension. The risk of developing hypertension was linearly reduced as participants better adhered to a healthy lifestyle pattern built by summing up these 6 factors (p for trend < 0.001). The highest category (5-6 factors) exhibited a significant 46% relative reduction in the risk of developing hypertension compared to the lowest category (0-1 factors) (multivariable-adjusted hazard ratio = 0.54; 95% CI: 0.42-0.68). Among the components of the score, BMI was apparently the main factor driving the association between the HLS and lower risk of hypertension. A healthy-lifestyle score including six simple healthy habits was longitudinally and linearly associated with a substantially reduced risk of hypertension. This index may be a useful tool for hypertension prevention.