The present invention provides an isolated peptide having an amino acid residue sequence that comprises at least one human cytomegalovirus glycoprotein B (HCMV-gB) sequence segment, each HCMV-gB sequence segment consisting of at least 8 and not more than 60 consecutive amino acid residues from residues 146 to 315, residues 476 to 494 of SEQ ID NO: 1, or from a sequence variant of residues 146 to 315 or 476 to 494 of SEQ ID NO: 1 that has at least 70% sequence identity thereto. The peptides of the invention are useful for treating, preventing, or inhibiting a herpesvirus (e.g., Herpes Simplex Virus-1, Human Cytomegalovirus, and the like) infection in a subject.本発明は、少なくとも1つのヒトサイトメガロウイルス糖タンパク質B(HCMV-gB)配列セグメントを含むアミノ酸残基配列を有する単離ペプチドを提供する。各HCMV-gB配列セグメントは、配列番号:1の残基146から315、残基476から494に由来するか、または配列番号:1の残基146から315もしくは476から494に対し少なくとも70%の配列同一性を有するその変種配列に由来する、連続する少なくとも8つのかつ60を超えないアミノ酸残基から成る。本発明のペプチドは、対象におけるヘルペスウイルス(例えば単純疱疹ウイルス-1、ヒトサイトメガロウイルスなどの)感染の治療、予防または阻止に有用である。