The invention discloses a preparation method for a fluorinated carbon material, relates to an electrochemical preparation method for the fluorinated carbon material, and aims to solve the problems that the conventional preparation method for the fluorinated carbon material is severe in reaction condition as well as difficult and very dangerous in fluorine gas storage and conveying. The preparation method provided by the invention comprises the following steps: (1) in a single-chamber electrolytic cell, carrying out electrolysis for a certain period till the reaction is finished, wherein Ni, Fe, or a Ni-Ti alloy is adopted as a cathode, Ni or a Ni alloy is adopted as an anode, a metal fluoride is adopted as a supporting electrolyte, a carbon material is adopted as a raw material, and hydrogen fluoride is adopted as an electrolyte solution; (2) after the electrofluorination reaction is finished, cooling the electrolytic cell, leading the electrolyte solution, the metal fluoride and the carbon material subjected to the electrofluorination reaction into a plastic bottle, heating, cooling to recover hydrogen fluoride, carrying out washing to remove residual HF and metal fluoride, and carrying out vacuum drying to obtain the fluorinated carbon material. The preparation method has the advantage that fluorine gas is indirectly utilized, so that the extremely severe reaction conditions required by the utilization of fluorine gas are not needed, and the potential safety hazards during fluorine gas storage and conveying can be avoided.