The invention discloses a preparation method of a graphene oxide/alpha fetoprotein aptamer electrochemical sensor. The preparation method comprises the following steps: taking carboxylated graphene oxide as a substrate, grafting an aminated alpha fetoprotein aptamer chain on the substrate through carbodiimide reaction, then modifying the obtained compound on an electrode, closing a non-specific adsorption site on the modified electrode with bovine serum albumin, so that a graphene oxide/alpha fetoprotein aptamer electrochemical sensing interface is formed; and taking the modified electrode as a working electrode, and investigating variation, caused by alpha fetoprotein solution with different concentrations, of an impedance signal on the sensing interface by adopting an impedance method. Compared with an existing alpha fetoprotein detection method, the preparation method has the advantages that an alpha fetoprotein aptamer is adopted for analyzing a target protein, harms such as redundant multiple labeling operation, radiation and pollution do not exist, and the sensor has the advantages of high sensitivity, good selectivity, simplicity in preparation, high analysis speed, mild reaction conditions, low preparation cost and the like.