The invention relates to the technical field of composite materials, in particular to an environment-friendly composite material which comprises silicon dioxide aerogel, aramid fibers, glass fibers, tetraethoxysilane, silicon carbide, diepoxypropane ethyl ether, vinyl resin, an initiator, an accelerant and a reinforcing agent. The preparation method comprises the following specific steps: adding silicon dioxide aerogel, aramid fiber and glass fiber into an emulsifying machine, filtering, evaporating excessive water, adding tetraethoxysilane, silicon carbide and diepoxypropane ethyl ether into a crusher, crushing, cleaning, mixing with vinyl resin for later use, and performing extrusion molding to obtain the composite material. And finally, mixing the mixture in each stage, filtering, drying, dehydrating, and extruding to form. Through comparison of a finished product experiment result and an existing finished product experiment result, the finished product is more durable than the existing finished product and is more difficult to damage, so that the replacement amount is reduced, the cost of a user is reduced, and the device is more environment-friendly.