A series of NiPxBy nanomaterials were prepared by a chemical reduction method under various preparation parameters. Experiment results show that the different preparation parameters affected the morphology, particle size, surface area and the composition