PurposeThere is a well-known association between mental and behavioral disorders (MBD) and temporomandibular disorder (TMD), although the association has not been established in population-based samples. This study aimed to investigate this relationship using national population-based registry data.Patients and MethodsThis case–control study used prospectively collected data from Swedish national registries to investigate exposure to MBD and the probability of developing TMD in all Swedish citizens with hospital-diagnosed or surgically treated TMD between 1998 and 2016. Odds ratios were calculated using conditional logistic regression adjusted for educational level, living area, country of birth, musculoskeletal comorbidity, and history of orofacial/neck trauma.ResultsA statistically significant association between MBD and TMD was found for mood affective disorders (OR 1.4), neurotic, stress-related and somatoform disorders (OR 1.7), behavioral syndromes associated with psychological disturbances and physical factors (OR 1.4), disorders of adult personality and behavior (OR 1.4), disorders of psychological development (OR 1.3), behavioral and emotional disorders with onset usually occurring in childhood and adolescence (OR 1.4), and unspecified mental disorder (OR 1.3). The association was stronger for TMD requiring surgery, with the strongest association in patients with disorders of psychological development (OR 2.9). No significant association was found with schizophrenia, schizotypal and delusional disorders, or mental retardation.ConclusionThe findings indicate an increased probability of TMD among patients with a history of certain MBD diagnoses, and a stronger association with TMD requiring surgery, specifically repeated surgery. This highlights the need for improved preoperative understanding of the impact of MBD on TMD, as TMD and chronic pain itself may have a negative impact on mental health.