The invention discloses a sound-absorbing sound-insulating composite material for automobiles, consisting of the following raw materials in parts by weight: 6-10 parts of ethylene propylene diene monomer rubber, 6-8 parts of magnesium oxide, 6-9 parts of glass fiber cotton, 0.2-0.6 part of foaming adhesive, 40-50 parts of gypsum mortar, 20-30 parts of diatom mud, 16-20 parts of wood fiber, 3-5 parts of carboxymethyl cellulose, 1-3 parts of stabilizer, 5-9 parts of foaming agent, 14-18 parts of water, 0.5-12 parts of copper oxinate, 15-25 parts of PVC resin, 2-4 parts of n-butanol, 1-3 parts ofcoalescing aid, 1-3 parts of wetting agent, 7-9 parts of zinc oxide, 1-3 parts of calcium carbonate, 4-6 parts of benzoic acid, and 6-10 parts of natural double salt. The sound-absorbing sound-insulating composite material for automobiles of the invention is improved in corrosion resistance; sound energy is gradually attenuated, so that the purpose of sound absorption is achieved, and the porouscharacteristic is used to realize sound absorption and noise reduction; and with addition of diatom mud, toxic volatile organic compounds on the surface of the composite sound-absorbing material are greatly reduced, the environmental friendliness is enhanced, the sound insulation effect is excellent, and the use prospect is better.