The invention discloses a method for quickly measuring the content of acyclovir gel. The method disclosed by the invention specifically comprises the following steps of S1, dilution of a to-be-testedproduct, S2, first time electrophoretic detection, S3, preparation of a mobile phase detection pretreatment solution, S4, oxidation luminescence treatment of acyclovir, S5, detection of luminous content, and S6, analysis of detection results. The invention relates to the technical field of medical measurement. By adopting the method for quickly measuring the content of acyclovir gel, the detectionand measurement of acyclovir can be realized by combining efficient capillary electrophoresis with mobile phase injection detection, the method has the advantages of high detection column efficiency,high separation speed, small sample volume, simple instrument and high specificity, furthermore, the method is fast and accurate, the purposes of wide linear range, high sensitivity and high analysisspeed are achieved, an inspector does not need to spend a lot of time waiting for the detection, and thus fast and accurate measurement of acyclovir is well achieved.