In the present study, the production of nickel-phosphorus one-dimensional nanomaterials was investigated. The alumina base produced by the two-step anodizing method was used as a template for the fabrication of one-dimensional nanomaterials. The existence of regular cells with hexagonal geometry with hollow cylindrical cavities was the main reason for this type of pattern for the fabrication of one-dimensional nanomaterials. By studying different times and temperatures, the optimum parameters for the production of one-dimensional nanomaterials were 1 hour and 90 ° C. By performing the electroless process at three pH, 4.5, 5.5 and 6.5 under the optimum time and temperature, the best nickel-phosphorous nanomaterilas with a length of 2 ?m were finally produced at pH = 4.5. Its average phosphorus content was about 15.5% by weight. The EDAX linear analysis of the nanomaterials formed in the channels showed that the percentage of phosphorus at the bottom of the channel increased due to the localized decrease of pH value and the increase of reaction rate of phosphorus production. The magnetic properties of the manufactured specimens appeared to be expected and desired. Using 44 kHz ultrasonic waves applied along the channels, the length of the nanomaterials reached to 6 ?m, which produced very high quality. Also, the application of 0.5 g /l PVA surfactant in the electroless bath improved the compactness and length of the nanomaterials. Finally, a combination of PVA surfactant and ultrasonic waves in electroless process, the one-dimensional nanomaterials with a length of about 10 ?m with high compression and high number per unit area were produced. The nanomaterials were developed as compact nanotubes, which are among the best and highest quality. The formation mechanisms of nanomaterial growth by extensive microscopic studies was investigated. Growth was first identified as spherical nodules and then these nodules were expanded. Heat treatment of the sample resulted in deep cracking which eliminated from from the produced samples.