Molecular dynamics simulations are performed to investigate the liquid-liquid phase transition (LLPT) and the spatial heterogeneity in Al-Pb monotectic alloys. The results reveal that homogeneous liquid Al-Pb alloy undergoes an LLPT, separating into Al-rich and Pb-rich domains, which is quite different from the isocompositional liquid water with a transition between low-density liquid (LDL) and high-density liquid (HDL). With spatial heterogeneity becoming large, LLPT takes place correspondingly. The relationship between the cooling rate, relaxation temperature and percentage of Al and the spatial heterogeneity is also reported. This study may throw light on the relationship between the structure heterogeneity and LLPT, which provides novel strategies to control the microstructures in the fabrication of the material with high performance.