The invention discloses a method for preparing a high-sensitivity optical ammonia sensitive material. The method includes the following steps that 1, a P-shaped silicon slice is fixed into an electrolytic tank, a solution mixed by hydrofluoric acid, ethyl alcohol and glycerol serves as an electrolyte solution, electrochemistry direct-current etching is carried out, etching is carried out for 200 s to 1,200 s in the current of 20 mA/cm<2> to 100 mA/cm<2>, and then washing and drying are carried out; 2, oxidation is carried out for 1 hour to 5 hours at the temperature of 400 DEG to 550 DEG C; 3, acid-base sensitive dye and the ethyl alcohol are mixed, an acetic-acid water solution is added, a carrier of a nanometer porous material is loaded with an acid-base sensitive dye solution, drying is carried out, and the high-sensitivity optical ammonia sensitive material is obtained. According to the ammonia sensitive material, the porous material with the high specific surface area serves as the carrier, the loading capacity of an indicating agent is large, the sensitivity is high, and ammonia with the lowest value of 0.1 ppm can be detected; the response speed is high, the response time is in 10 s, and the method can be applied to online detection; the preparing technology is simple, and industrialization can be achieved.