He graduated from a local school in Arad and went to Zurich polytechnic in 1870 receiving an engineering diploma.
His teachers included Gustav Adolf, Kenn Gott, Arnold Escher von der Lindt and Albert Heim.
He became a curator of minerals at the Hungarian national museum in 1874 and in 1877 he took part in an expedition to China led by Béla Széchenyi and published two volumes of the scientific results of the expedition in 1890 describing the Gobi desert and the Hwang Ho basin.
His students included Teleki Pál, Jenő Cholnoky, Baron Ferenc Nopcsa, Dezső Laczkó, Hugó Böckh, and István Vitalís.
[4][5] Lóczy received the Gold medal of the Royal Geographical Society of which he was an honorary member.