The invention discloses a method of simultaneously extracting animal DNA (Deoxyribonucleic Acid) virus and RNA (Ribonucleic Acid) virus nucleic acid in blood serum and double swabs. The method comprises the following steps of: carrying out lysis on a to-be-extracted substance by using guanidinium isothiocyanate lysate; adsorbing RNA by a silica gel membrane; removing impure protein by washing liquor I; removing impurities by washing liquor II; carrying out DEPC (Diethylpyrocarbonate) water-washing to remove nucleic acid, wherein the guanidinium isothiocyanate lysate comprises 3M-7M guanidinium isothiocyanate, 0.6%-1.0% TriTon-100, 30mM-50mM Tris-Cl, 5mM-15mM DTT (DL-Dithiothreitol), 60 mu g/mL-90 mu g/mL protease K, 10mM-30mM EDTA (Ethylene Diamine Tetraacetic Acid), and PH of the guanidinium isothiocyanate lysate is 4.3-4.6; the washing liquor I comprises 5M-6M guanidine hydrochloride, 53%-59% absolute ethyl alcohol, 70-90 mu g/mL protease K, and PH of the washing liquor I is 6.4-6.6; the washing liquor II comprises 70%-80% alcohol. The method disclosed by the invention has the advantages of being simple in extracting process, short in period, low in cost, and capable of simultaneously extracting RNA virus and DNA virus nucleic acid in an animal blood serum sample and a double-swab sample.