The invention discloses explosive modified by grafting in-situ hyperbranched polyurethane as well as a preparation method and application of the explosive. The preparation method comprises the following steps: (1) adding explosive into a Tris deionized water buffering solution, stirring and dispersing; (2) adding dopamine, uniformly stirring, carrying out a self-polymerization reaction of dopamineon the surface of the explosive, washing by using deionized water after the reaction is completed, carrying out suction filtration and vacuum drying to obtain the pre-modified explosive with dopaminepolymerized on the surface; and (3) adding the pre-modified explosive into butyl acetate, dispersing, increasing temperature, adding A2 type monomers and dibutyltin dilaurate, reacting, then washingby using butyl acetate, carrying out suction filtration, then transferring the explosive to a second solvent, dropwise adding dibutyltin dilaurate, gradually adding a monomer mixture and reacting, washing for four times after the reaction is completed, carrying out suction filtration, and drying to obtain the explosive modified by grafting in-situ hyperbranched polyurethane. The method improves the property of the surface of the explosive and enhances bonding strength between a bonding agent and an explosive interface.