The invention discloses a special antibacterial and anti-inflammatory shaving mousse for men and a preparation method for the same. The special antibacterial and anti-inflammatory shaving mousse for men is composed of the following components in percentage by weight: 1-5% of cedar extract or gardenia extract, 10-20% of stearic acid, 1-5% of glyceryl monostearate, 0.1-1% of myristic acid, 0.1-1% of palmitic acid, 2-5% of coconut oil, 1-5% of palm oil, 0.1-1% of lanoline polyoxyethylene ether, 1-5% of sorbitol, 1-10% of glycerol, 0.1-0.5% of triethanolamine, 3-10% of sodium hydroxide, 3-10% of potassium hydroxide, 0.1-0.5% of common antioxidant, 0.1-0.5% of essence, 0.1-0.5% of menthol, 0.1-0.5% of common preservative, 7-10% of LPG (liquefied petroleum gas) propellant, and 8-68.2% of deionized water. Because traditional Chinese medicine extracts such as cedar extract or gardenia extract are added, the special antibacterial and anti-inflammatory shaving mousse for men disclosed by the invention has the functions of sterilizing, resisting inflammation, resisting viruses, beautifying and caring the skin, and protecting the skin from being infected, as well as has the advantages of being capable of swelling beard, softening hair and calming the skin to make the beard easy to shave, and convenient to use.