The invention relates to a method for improving the color fastness of a photochromic fabric. The method comprises the following steps: (1), at the room temperature, mixing tetraethoxysilane and glutamic-pyruvic transamine with ethyl alcohol, stirring until uniform mixing, then dripping hydrochloric acid drop by drop under stirring, and stirring unceasingly for 5 hours so as to obtain a finishing liquor; (2), at the room temperature, carrying out two times of soaking and two times of rolling to the photochromic fabric in the finishing liquor, then drying, and finally baking the photochromic fabric. The method provided by the invention has the advantages that the color fixing is convenient, the consumed time is short, the cost is low, pollutions to the environment are small, and the effect in improving the color fastness of the photochromic fabric is obvious; an agent capable of being in reaction with and combined with textile fiber is selected as a raw material to prepare a colloidal sol finishing liquor, when finishing is performed on the photochromic fabric, overhigh temperature is not required, not only can the effect of improving the color fastness of the photochromic fabric be improved, but also damage to fabrics can be prevented.