The invention provides a method for generating solid modulation plasma photonic crystals with three refractive indexes. The method includes three steps that two water electrodes which are electrically connected with a plasma generation power supply are arranged in a vacuum reaction chamber; a solid frame is arranged between the two water electrodes, a plurality of through holes in matrix array are formed in the internal region of the solid frame, and every two adjacent through holes are partitioned through a solid ridge; air is fed into the vacuum reaction chamber as discharging gas, and pressure of the discharging gas is regulated to 0.1-0.4atm; a switch is turned off, and the solid modulation plasma photonic crystals with three refractive indexes, which are composed by periodic arraying of plasma, gas and the solid ridges, can be generated in discharging gaps. By the method, the solid modulation plasma photonic crystals with three refractive indexes are generated for the first time, transmission of light at certain frequencies can be blocked, frequency selective light switching effect is achieved, and the method has broad application prospect in the industrial field.