The invention relates to a detection method for diagnosis of human papilloma virus (HPV) infection, and utilization of a kit prepare by the method for detecting HPV genotype DNA samples isolated from the patient in order to diagnose whether it belongs to one of the 24 types, and belongs to the technical field of life science. The method of the invention comprises a polymerase chain reaction based on PCR technology; the PCR reaction comprises simultaneous detection of DNA of 24 types including HPV6, 11, 16, 18, 31, 33, 35, 39, 42, 43, 44, 45, 51, 52, 53, 56, 58, 59, 66, 68, 73, 83, MM4 and cp8304 on a fluorescently-labeled upstream primers and unlabeled degenerated downstream primers of various types under particular PCR condition in a reaction tube, capillary denaturing gel electrophoresis, data read by sequenator, and division into specific types by a piece of provided software directly.