To estimate the prevalence of eating disorders (EDs) among undergraduate students in a public university in Ghana; to identify the factors associated with EDs and to explore the relationship between sociodemographics and developing EDs. A cross‐sectional design was employed to obtain data from 1101 students using the total enumeration sampling method. Information on sociodemographics was obtained and anthropometric measurements were self‐reported. The Eating Attitude Test was modified to obtain the prevalence rate. The factors associated with EDs and the relationship between sociodemographics and EDs were also assessed using a chi‐square statistical test. Logistic regression analysis was used to assess the association between sociodemographic variables and ED risk. A total of 1101 students participated in the study with a mean age of 21.87 ± 2.94, ranging from 16 to 43 years. About 7% of the students were found to have EDs, with the majority being female young adults. Factors found to influence EDs were peer/family pressure, stress, and body dissatisfaction. The association between psychological factors and EDs was found to be statistically significant (p < 0.05). Gender (p = 0.011), course of study (p = 0.001), and level of study (p = 0.010) were sociodemographic variables associated with an increased likelihood of developing EDs. This study found the prevalence of EDs to be relatively higher than that estimated for Africa and non‐Western countries and almost as high as that of the Western world. This calls for urgent steps to be taken, including creating awareness and increasing nutrition education to reduce the incidence, if not completely nip it in the bud. Sociocultural factors and body image preferences were identified as core factors underlying susceptibility to EDs and hence will inform and guide intervention activities. This study will address literature gaps and provide baseline data on the prevalence rate of EDs in Ghana and Africa at large. Information from the study will aid dietitians/nutritionists in developing interventions suitable for persons with EDs. Most importantly, this study will refer individuals who may have EDs to seek the necessary assistance from qualified health professionals like doctors, dietitians, and psychologists.