Residence at high altitude has been associated with lower obesity rates probably due to hypoxia conditions. However, there is no evidence of this association in a free-living population.We assessed the association between the altitude where each participant of a Spanish cohort (the SUN Project) was living and the incidence of overweight/obesity.The SUN Project is a dynamic, prospective, multipurpose cohort of Spanish university graduates with a retention rate of 89%. We included in the analysis 9 365 participants free of overweight/obesity at baseline. At the baseline questionnaire, participants reported their postal code and the time they had been living in their city/village. We imputed the altitude of each postal code according to the data of the Spanish National Cartographic Institute and categorized participants in tertiles. We used Cox regression models to adjust for potential confounding variables.During a median follow-up of 10 years, we identified 2 156 incident cases of overweight/obesity. After adjusting for sex, age, time of residence at current city, baseline body mass index, physical activity, sedentarism and years of education (≤ 3 years, ≥ 4 years, Master/PhD), those participants in the third tertile (>456 m) exhibited a statistically significant 14% reduction in the risk of developing overweight/obesity in comparison to those in the first tertile (<124 m) (adjusted HR = 0.86; 95% CI: 0.77, 0.96).Living in cities of higher altitude was inversely associated with the risk of developing overweight/obesity in a cohort of Spanish university graduates.