Background. There are no risk models for the prediction of anxiety that may help in prevention. We aimed to develop a risk algorithm for the onset of generalized anxiety and panic syndromes. Method. Family practice attendees were recruited between April 2003 and February 2005 and followed over 24 months in the UK, Spain, Portugal and Slovenia (Europe4 countries) and over 6 months in The Netherlands, Estonia and Chile. Our main outcome was generalized anxiety and panic syndromes as measured by the Patient Health Questionnaire. We entered 38 variables into a risk model using stepwise logistic regression in Europe4 data, corrected for over-fitting and tested it in The Netherlands, Estonia and Chile. Results. There were 4905 attendees in Europe4, 1094 in Estonia, 1221 in The Netherlands and 2825 in Chile. In the algorithm four variables were fixed characteristics (sex, age, lifetime depression screen, family history of psychological difficulties); three current status (Short Form 12 physical health subscale and mental health subscale scores, and unsupported difficulties in paid and/or unpaid work); one concerned country; and one time of follow-up. The overall C-index in Europe4 was 0.752 [95% confidence interval (CI) 0.724-0.780]. The effect size for difference in predicted log odds between developing and not developing anxiety was 0.972 (95% CI 0.837-1.107). The validation of predictA resulted in C-indices of 0.731 (95% CI 0.654-0.809) in Estonia, 0.811 (95% CI 0.736-0.886) in The Netherlands and 0.707 (95% CI 0.671-0.742) in Chile. Conclusions. PredictA accurately predicts the risk of anxiety syndromes. The algorithm is strikingly similar to the predictD algorithm for major depression, suggesting considerable overlap in the concepts of anxiety and depression.