A strong sociocultural context could affect an individual’s aesthetic standards. In order to achieve a socially recognized ideal appearance, obligatory exercisers might increase dieting behavior when exercise actions are disturbed, thereby placing the individual at risk of eating disorders. The current study mainly examined the relationship between obligatory exercise and eating attitudes during the COVID-19 pandemic, and considered the mediating role of externalized sociocultural attitudes towards appearance between the two. A total of 342 participants (175 females, 167 males) from various regions of China were invited to fill out the questionnaires including the Obligatory Exercise Questionnaire, the Sociocultural Attitudes Toward Appearance Questionnaire-3, and the Eating Attitudes Test. In total, 51.5% of the participants presented symptoms of an obligatory exercise behavior. Among them, males, young adults, and the participants with lower BMI had higher OEQ scores, whereas females and young adults had higher EAT-26 scores. Meanwhile, 9.4% of the participants might have had an eating disorder. The OEQ score was positively correlated with the EAT-26 total score as well as SATAQ-3 ‘Pressures’ and ‘Information’ subscales. In addition, the EAT-26 total score was positively correlated with the SATAQ-3 ‘Pressures’ and ‘Information’ subscales. Externalized sociocultural attitudes towards appearance served as a mediator between obligatory exercise behavior and eating attitudes, and the mediation effect accounted for 56.82% of the total effect. Obligatory exercise behavior may have an indirect effect on eating attitudes through sociocultural attitudes towards appearance. Given the sociocultural information and pressures, in order to maintain or pursue an ideal appearance, many people tend to keep a pathological diet. Thus, forming a positive and healthy social aesthetic orientation is beneficial in helping obligatory exercisers to develop reasonable eating habits.