BackgroundPainful sunburns at any age are one of the main risk factors for skin cancer. ObjectivesTo determine the prevalence and predictors of sunburn among beachgoers. MethodsA cross-sectional health survey was conducted at the beach during the summer. Adults >18years with an understanding of Spanish were interviewed using a questionnaire about behaviours, attitudes and knowledge related to sun exposure at the beach. A descriptive analysis was performed, and a log-binomial regression model was used to determine predictors of sunburn. ResultsThe survey was completed by 1054 beachgoers, with a mean age of 43.8 (SD: 18.7) years, 61.2% women, skin phototypes i (13.6%), ii (22.3%), iii (34.0%) and iv (30.2%). 46.9% of responders reported at least one painful sunburn during the previous summer. Age, sex, education, skin phototype, midday sun exposure, sun protection habits, attitudes towards tanning and knowledge about skin cancer were identified as independent predictors of sunburn. ConclusionsIt is necessary to develop photoprotection campaigns aimed at beachgoers, particularly in young people, men, those with skin phototypes I-III and secondary or university education. Educational strategies should be aimed at discouraging sun exposure at midday, changing attitudes towards tanning and improving knowledge about skin cancer.