Barry is a native San Diegan who attended Patrick Henry High School. He earned a Bachelor of Arts in biology and chemistry at Washington University in St. Louis, where he graduated magna cum laude, and earned his medical degree from St. Louis University School of Medicine.