The invention discloses a method for rapidly extracting fecal bacterial genome DNA and virus RNA through a paramagnetic particle method. The method comprises the steps that 1, faeces is taken and put into a centrifuge tube, a buffer A is added, crushing and standing are conducted, and supernatant is taken and put into a new centrifuge tube; 2, a buffer B and a buffer C are added into the supernatant in sequence, and water-bath heating is conducted; 3, adsorption of DAN and RNA is conducted, wherein after decomposition is completed, a buffer D and a buffer E are added in sequence, vortex oscillation, standing and magnetic separation are conducted, and solid substances are left; 4, a buffer F and a buffer G are added into a centrifuge tube with left solid substances in sequence, vortex oscillation and magnetic separation are conducted; 5, a buffer H is added into the centrifuge tube subjected to treatment in the fourth step, vortex oscillation and water-bath heating are conducted, vortex oscillation is conducted again, cooling and magnetic separation are conducted, and the supernatant is moved to a new centrifuge tube for use.