The invention discloses a method for preparing (Z)-5-amino-alpha-(ethoxy imino group)-1, 2, 4-thiadiazole-3-acetic acid. The method comprises steps of firstly, carrying out oximation reaction on malononitrile and sodium nitrite under the action of acetic acid so as to obtain a compound A, then carrying out Williamson synthesis on the compound A and bromoethane or diethyl sulfate under alkaline condition, so as to obtain a compound B, then carrying out amidine reaction on the compound B and ammonia water, so as to obtain a compound C, carrying out cyclization reaction on the compound C and potassium rhodanide for ring closing so as to obtain a compound D, and finally, hydrolyzing the compound D under the action of a strong base, so as to obtain (Z)-5-amino-alpha-(ethoxy imino group)-1, 2, 4-thiadiazole-3-acetic acid. The method has few synthesis steps, has low cost, uses the materials which are cheap and easy to obtain, is beneficial to industrial production, and has light contamination; the purity of the product can reach 99%, so that synthesis of high-purity ceftaroline fosamil in the subsequent step is guaranteed.