The invention relates to an aerosol for treating bedsore and a preparation method of the aerosol, and belongs to the technical field of a medical aerosol. The aerosol consists of the following components: antibacterial peptide, water-soluble chitosan, a synergist, a stabilizer, a propellant and the balance of purified water. The preparation method comprises the following steps: respectively preparing an antibacterial peptide solution and a chitosan solution, sequentially adding equivalent synergist and stabilizer to the two solutions, and then uniformly mixing the two solutions to obtain a medicine liquid, filling and sealing the medicine liquid, injecting the propellant and pressing an aerosol cover so as to obtain a finished product. Through a synergistic effect generated from the combination of the antibacterial peptide and the water-soluble chitosan, the aerosol disclosed by the invention is not only strong in antibacterial and anti-inflammatory properties, but also capable of accelerating and promoting the healing of a wound surface and quite excellent in effect of clinically treating bedsore; by virtue of the sprayed chitosan solution, a film can be rapidly formed on the surface of skin so as to effectively protect the wound surface and reduce inflection risk; and the film is degradable and absorbable, and is safe, clean and convenient; and the aerosol is stable in active ingredient, long in drug action time, free from frequent administration and good in compliance.