The invention belongs to the technical field of medicine and particular relates to a novel compound of an anti-infection drug and a preparation method thereof. According to the compound, characteristic peaks are displayed at diffraction angles of 3.5 degrees, 4.6 degrees, 8.4 degrees, 12.5 degrees, 13.8 degrees, 16.2 degrees, 19.0 degrees, 19.5 degrees, 20.0 degrees, 21.1 degrees, 27.1 degrees and 33.1 degrees in an X-ray powder diffraction pattern obtained through measurement by Cu-KAlpha rays. The invention further relates to powder injection containing 100% cefazedone sodium. The new crystal from of the compound is different from that in the prior art, through experimental verification, it is surprised to find that compared with the prior art, the powder injection obtained by direct subpackage of the compound of the novel crystal form does not need any auxiliary material and is good in liquidity, the content of impurities and moisture is reduced effectively, the safety of products is good, and the stability is high.