There are meager prospective data from nonclinical samples on the link between anxiety disorders and suicide or the extent to which the association varies over time. We examined these issues in a cohort of 309,861 U.S. Air Force service members, with 227 suicides over follow-up. Mental disorder diagnoses including anxiety, mood, and substance-use disorders (SUD) were based on treatment encounters. Risk for suicide associated with anxiety disorders were lower compared with mood disorders and similar to SUD. Moreover, the associations between mood and anxiety disorders with suicide were greatest within a year of treatment presentation.