Bárány became a doctor of philosophy in theoretical physics at Uppsala University in 1973 and later became university doctor at the same university. During the 1980s he worked at the Research Institute for Atomic Physics in Stockholm. Since parts of the institute was transferred to Stockholm University and renamed as the Manne Sieghbahn Laboratory, Bárány became a professor there.