 Rafibeyli was born in Ganja, Azerbaijan.Having completed a gymnasium in Ganja, he left for Kharkiv to study medicine at Kharkiv State University.Graduating in 1903, he returned to Ganja and began his medical practice.