Niobium nitride (NbN) is widely used in the production of superconducting nanowire single-photon detectors (SNSPDs) due to its high superconducting transition temperature and suitable energy gap. The processing parameters used for the preparation of NbN films and the subsequent processing of nanowires have a significant effect on the performance of the SNSPD. In this review, we will present various thin film growth methods, including magnetron sputtering, atomic layer deposition (ALD), and chemical vapor deposition (CVD). The relationships between the superconducting performance of each thin film and the corresponding deposition process will be discussed. Subsequently, NbN nanowire fabrication methods and microstructures based on thin film etching will be summarized, and their impact on the qualities of the finished SNSPDs will be systematically analyzed. Finally, we will provide an outlook for the future development of preparation for SNSPD.