The invention relates to a controllable synthesis method for a nitrogen and phosphorus co-doped graphitized carbon ball with a hollow structure. The method comprises the following preparation steps: (1) a carbon source, soluble metal salt and a catalyst are dissolved in a solvent according to a molar ratio, the mixture is transferred to a hydrothermal reaction kettle for hydrothermal synthesis after stirred to be dissolved completely, and an obtained precipitate is cleaned, filtered and dried to obtain a primary product; (2) the obtained primary product is subjected to high-temperature reduction under the protection of gas in a high-temperature reaction furnace; and (3) the product obtained by high-temperature reduction is placed in an acid solution to be soaked, and then cleaned, filtered and dried to obtain the nitrogen and phosphorus co-doped graphitized carbon ball with the hollow structure. The nitrogen and phosphorus co-doped graphitized carbon ball with the hollow structure prepared with the method has the advantages that the appearance is uniform, a carbon shell has a cellular structure, the interior of the carbon ball has a mesoporous carbon support structure, the graphitization degree is good, and the like; and the carbon ball can be used in various fields of efficient catalytic conversion, energy storage and conversion, medicine release and control, substance adsorption and separation and the like. A template-free hydrothermal synthesis technique is simple and controllable, and can be used for mass production.