Selective laser melting (SLM) is considered as a new production technology which has the potential to produce amorphous alloy parts. However, pores are often observed in parts prepared by SLM, which seriously affect the properties and life of the parts. In this work, an atomic model for SLM forming of Cu50Zr50 amorphous alloy is established. The effects of laser power and scanning speed on the porosity and mechanical properties of parts fabricate by SLM are researched using molecular dynamics methods. The results indicate that increasing laser power or reducing laser scanning speed could enhance the laser energy input of the molten pool and increase the molten pool temperature, which could improve the fluidity of the metal melt and prolong the existence time of the molten pool. The molten metal could fully fill the gaps between powders, which reduces the porosity and is beneficial to obtain dense parts. The tensile strength of samples formed by SLM is positively correlated with their porosity. Stress concentration occurs in the system with through holes and internal pores. Defects expand and interconnect rapidly under stress concentration, which leads to a decrease in strength and plasticity. The porosity could be reduced by adjusting the process parameters, thus improving the mechanical properties of the parts. This study provides a theoretical reference for a deeper understanding of the formation mechanism of SLM pores and the development of advanced alloys with high density.