Background. Unhealthy food is an important element in the development of diseases of civilisation. The aim of this study was to determine how sex, age, body mass index, smoking and olfactory efficiency influence the consumption of such foods. Methods. A total of 283 people living in the Silesian Voivodeship in Poland took part in the study. They were aged 18–82. An interview and olfactory tests were conducted together with assessments of food preferences from 25 types of food products. The extent to which sex, age, body mass index, tobacco addiction and sense of smell influence unhealthy food consumption was assessed. Results. Using the VARIMAX factor analysis, a coherent group of ‘unhealthy food with a strong flavour’ products was selected: crisps, salty snacks, fast food, sugary carbonated drinks and sour products. Unhealthy food was liked more by people who were younger (B = −0.04; PU = −0.05, −0.03; t = −7.43, eta2 = 0.17; p < 0.001) and who had a higher BMI (B = 0.03; PU ≤ 0.01, 0.06; t = 1.92, eta2 = 0.01; p = 0.056). The efficiency of the sense of smell does not play a significant role in the preference for the ‘unhealthy food’ group as a whole. The analysis of each type of unhealthy food separately showed that young people liked crisps, salty snacks, fast food and sugary carbonated drinks more, men liked fast food and sugary carbonated drinks more than women, and people with a good sense of smell liked sour products. Conclusion. According to the food preferences stated, dietary education should be targeted at young people, especially young men, to prevent the development of overweight and obesity.