The invention discloses a method and a device for detecting an HIV-1P24 antigen based on a silicon nitride (SiNx) solid nanopore, and the method comprises the following steps: S1, a pretreatment step: carrying out pretreatment on a SiNx film chip with a window before use; s2, preparing a nanopore, namely preparing the required nanopore in the SiNx thin film chip by using a multistage current pulse breakdown method; s3, detecting an ion blocking current pulse signal generated by the nanopore in the sample; and S4, analyzing, detecting and calculating the detection limit of the sample. According to the present invention, the HIV-1P24 antigen molecule can be well detected, the spatial structure change of the sample during the translocation can be inferred, and the HIV-1P24 antigen molecule at the low concentration can be detected. The method and the device have the advantages of rapidness, detection timeliness, high sensitivity, high signal-to-noise ratio and high flux, further shorten the window period of HIV detection, and strive for earlier diagnosis opportunities for infected persons.