The compulsive nature of weight loss behaviors central to anorexia nervosa (AN), such as relentless self-starvation and over-exercise, has led to the suggestion of parallels between AN and other compulsive disorders such as obsessive–compulsive disorder (OCD) and addictions. There is a huge unmet need for effective treatments in AN, which has high rates of morbidity and the highest mortality rate of any psychiatric disorder, yet a grave paucity of effective treatments. Viewing compulsivity as a transdiagnostic concept, seen in various manifestations across disorders, may help delineate the mechanisms responsible for the persistence of AN, and aid treatment development. We explore models of compulsivity that suggest dysfunction in cortico-striatal circuitry underpins compulsive behavior, and consider evidence of aberrancies in this circuitry across disorders. Excessive habit formation is considered as a mechanism by which initially rewarding weight loss behavior in AN may become compulsive over time, and the complex balance between positive and negative reinforcement in this process is considered. The physiological effects of starvation in promoting compulsivity, positive reinforcement, and habit formation are also discussed. Further research in AN may benefit from a focus on processes potentially underlying the development of compulsivity, such as aberrant reward processing and habit formation. We discuss the implications of a transdiagnostic perspective on compulsivity, and how it may contribute to the development of novel treatments for AN.