The invention discloses a preparation method and a use of a functional graphene-loaded palladium nanoparticle composite material. The preparation method comprises the following steps of carrying out ultrasonic dispersion of graphene in water to obtain a graphene suspension liquid, adding a pyrenetetrasulfonic acid sodium salt aqueous solution into the graphene suspension liquid, carrying out heating stirring for 8-15h, carrying out centrifugal filtration to obtain functional graphene, dispersing the functional graphene in water to obtain a functional graphene suspension liquid, adding a palladium chloride solution into the functional graphene suspension liquid, adding a sodium borohydride solution into the mixed solution, carrying out heating stirring for 8-15h, and carrying out centrifugal filtration to obtain the functional graphene-loaded palladium nanoparticle composite material. Through functionalization of graphene by the pyrenetetrasulfonic acid sodium salt, dispersibility and stability of graphene and palladium nanoparticles are improved. A glassy carbon electrode modified by the functional graphene-loaded palladium nanoparticle composite material has a good nitroaromatic compound catalysis performance, a low nitroaromatic compound detection limit, a wide nitroaromatic compound detection linear range, high nitrobenzene detection sensitivity, a nitrobenzene detection linear range of 170-8ppb, and a nitrobenzene detection limit of 0.62ppb.