A method for enhancing immunogenicity of an epitope peptide of an HPV antigen, the method including: assembling a gene of an HPV antigen into a gene of HBc, exogenously expressing a resulting assembled gene to acquire a fusion protein, allowing the fusion protein to automatically assemble to form a virus-like particle including the HPV antigen on a surface of the virus-like particle, to obtain HBc-HPV virus-like particle. A virus-like particle capable of expressing the antigen peptide of HPV acquired by the method. The virus-like particle includes a HBc-L2 fusion protein. A genome for encoding the HBc-L2 fusion protein is represented by SEQ ID NO. 3. A method for preparing an HPV vaccine includes using the virus-like particle.