The invention discloses a nucleic acid extraction method for gene sequencing. The method concretely comprises the following steps: S1, respectively adding a cell lysing solution and magnetic beads into two different first test tubes which are marked as a test tube I and a test tube II, adding a sample to be extracted into the cell lysing solution, controlling a nucleic acid extraction device to rotate stirring paddles to fully lyse cells in the sample; S2, controlling the nucleic acid extraction device to transfer the magnetic beads into the test tube I through an electromagnet, and then controlling the stirring paddles to stir the cell liquid to enable the magnetic beads to be fully combined with nucleic acid; and S3, attracting the magnetic beads out of the test tube I, transferring themagnetic beads to the test tube II, adding an eluent into the test tube II, controlling stirring paddles to fully separate the nucleic acid from the magnetic beads, and taking out the magnetic beads from the test tube II to obtain the required nucleic acid. According to the invention, nucleic acid is extracted by a magnetic bead method, and other impurity components in the sample can be removed through the steps of lysing precipitation, magnetic attraction and elution, so that the nucleic acid can be automatically and efficiently extracted.