The invention discloses a preparation method and application of a photo-electrochemical thrombin aptamer sensor based on dual inhibition of PS@Au on ZnCdS, and belongs to the field of photo-electrochemical sensors. Zinc and cadmium co-doped sulfides, namely ZnCdS nanocrystals, are synthesized through a simple hydrothermal method, and through the rough surface and the large specific surface area ofZnCdS, the loading capacity of the ZnCdS is greatly improved, and the visible light absorption capacity of the ZnCdS is enhanced; the ZnCdS serves as a substrate material, the PS@Au serves as a secondary antibody marker, the PS@Au has good insulativity, thus transfer of photo-generated electrons is impeded, photocurrent signals are also effectively reduced through competition between the PS@Au and the ZnCdS to absorption of visible light, the sensitivity of the sensor is effectively improved through the dual-inhibition effect, and the detection limit of the sensor is lowered; and by combiningthe excellent selectivity of an aptamer, highly-sensitive detection of the thrombin aptamer is achieved, and important significance for analysis and detection of thrombin is achieved.