Mahammad Kangarli was born on January 10, 1914 in Shusha. In 1928, at the age of 14, he became a member of the Young Azer organization of the Musavat party. After graduating from high school, he entered the Russian department of the Medical Faculty of the University in 1933, and then entered the Leningrad Military Academy, from which he graduated in 1939. After graduating from the academy, he served as a military doctor in the USSR-Finland war. Together with the medical battalion, he was captured by the Finns. A year later, when the prisoners were returned to the parties, Mahammad Bey was returned to the Soviet army.