This dataset includes data from the published article " Which Profile of People Tends to Ignore Preventive Measures against COVID-19? The Role of Intelligence and the Big Five Personality Traits", published in the journal Heliyon (https://doi.org/10.1016/j.heliyon.2023.e13277). More especifically it includes data about 404 participants (61.4% women) who were resident in Spain. They were between 15 and 69 years old. This sample was recruited online from February to April 2021. The exclusion criteria for participating in this study were being under 15 years old, not resident in Spain, or not providing informed consent. The data includes their ages, gender, civil status, educational level, household incomes, and responses to the COmpliance with pandemic COmmands Scale (COCOS questionnaire). It also includes their overall scores for the International Cognitive Ability Resource (ICAR Sample Test) and Overall Personality Assessment Scale (OPERAS) questionnaires. (2025-05-20)