Mahler left the yeshiva when he was fifteen and finished his secondary education in Kraków. He then went to Vienna, where he studied history and philosophy at the University of Vienna and the Talmud at the rabbinical assembly. He received his doctorate in 1922, with his dissertation on the sociological problems of progress.