Allergies have a significant impact on health and quality of life worldwide, yet there is limited research on the awareness and knowledge of allergies. This study aimed to explore the level of awareness and knowledge of allergies among visitors in Syrian hospitals. A cross-sectional study was conducted between May and September 2022, and a standardized international questionnaire was administered to 504 visitors in three hospitals in Syria. Data analysis was performed using the Statistical Package for Social Sciences (SPSS Inc., Chicago, IL, USA) version 23. The final sample comprised 504 questionnaires with 61.7% of participants achieving an average score. Statistical analysis revealed a significant difference in knowledge of allergy scores between the group with only elementary education (M = 3.76, SD = 1.67, p = 0.011), the group with no education (M = 3.65, SD = 1.65, p = 0.006), and the group with a university education (M = 4.44, SD = 1.25). Notably, no significant differences were found between the other educational groups. A one-way ANOVA was employed to assess the effect of place of living on knowledge of allergy, but no significant differences were observed between the groups (p = 0.462). Lastly, a significant negative correlation was detected between participant age and knowledge of allergy scores (r(502) = − 0.102, p = 0.022). Allergies represent a substantial global health concern that demands attention from healthcare providers, policymakers, and the public. This study emphasizes the importance of investing in health education and awareness campaigns to enhance knowledge and comprehension of allergies, particularly individuals with lower levels of education levels. By equipping individuals with the requisite information to effectively manage their allergies, their overall health and wellbeing can be improved.