The invention discloses a preparation method of a nanosheet self-assembled three-dimensional nano flower tin sulfide/graphitized carbon nitride lithium ion battery anode material. Melamine is kept at450-650 DEG C for 2-6 hours, is naturally cooled to room temperature, is ground for prepare use, and is dispersed in ethanol to obtain a suspension, the suspension is centrifuged and washed several times with deionized water and absolute ethanol, vacuum drying is conducted to obtain a product g-C3N4, the product g-C3N4 is dissolved in the deionized water, after stirring, the product g-C3N4 is ultrasonically dispersed to form a suspension A, PVP is added to the suspension A, stirring is conducted until the product g-C3N4 is completely dissolved to form a solution B, TAA and SnCl4 2H2O are addedto the solution B, stirring is uniformly conducted to form a solution C, the solution C is subjected to a microwave hydrothermal reaction, after the reaction is completed, a precursor is obtained, the precursor is centrifuged and washed several times with the deionized water and the absolute ethanol, and vacuum drying is conducted to obtain a nanosheet self-assembled three-dimensional nano flowerSnS2/g-C3N4 battery material.