The yeast strain XJ5-1 isolated from the Taklimakan desert soil was identified to be a strain of Aureobasdium melanogenum and could produce a large amount of melanin when it was grown in the PDA medium, but its melanin biosynthesis and expression of the PKS gene responsible for the melanin biosynthesis was significantly repressed in the presence of (NH4)2SO4. However, A. melanogenum P5 strain isolated from a mangrove ecosystem grown in both the presence and the absence of (NH4)2SO4 did not produce any melanin. The cell size of A. melanogenum XJ5-1 strain was much higher than that of A. melanogenum P5 strain. The melanized cells of the yeast strain XJ5-1 had higher tolerance to UV radiation, oxidation (200.0 mM H2O2), heat treatment (40 °C), salt shock (200.0 g/L NaCl), desiccation and strong acid hydrolysis (6.0 M HCl) at high temperature (80 °C) than the non-melanized cells of the same yeast strain XJ5-1. At the same time, the melanized cells of the yeast strain XJ5-1 also had higher tolerance to UV radiation, oxidation (200.0 mM H2O2), desiccation and strong acid hydrolysis (6.0 M HCl) at high temperature (80 °C) than A. melanogenum P5 strain, but had similar resistance to heat treatment (40 °C) and salt shock (200.0 g/L NaCl) compared to those of A. melanogenum P5 strain. All the results revealed that many characteristics of A. melanogenum XJ5-1 isolated from the Taklimakan desert soil was different from those of A. melanogenum P5 strain isolated from the mangrove ecosystem.