Binding to heparan sulfate is essential for baculovirus transduction of mammalian cells. Our previous study shows that gp64, the major glycoprotein on the virus surface, binds to heparin in a pH-dependent way, with a stronger binding at pH 6.2 than at 7.4. Using fluorescently labeled peptides, we mapped the pH-dependent heparin-binding sequence of gp64 to a 22-amino-acid region between residues 271 and 292. Binding of this region to the cell surface was also pH dependent, and peptides containing this sequence could efficiently inhibit baculovirus transduction of mammalian cells at pH 6.2. When the heparin-binding peptide was immobilized onto the bead surface to mimic the high local concentration of gp64 on the virus surface, the peptide-coated magnetic beads could efficiently pull down cells expressing heparan sulfate but not cells pretreated with heparinase or cells not expressing heparan sulfate. Interestingly, although this heparin-binding function is essential for baculovirus transduction of mammalian cells, it is dispensable for infection of Sf9 insect cells. Virus infectivity on Sf9 cells was not reduced by the presence of heparin or the identified heparin-binding peptide, even though the peptide could bind to Sf9 cell surface and be efficiently internalized. Thus, our data suggest that, depending on the availability of the target molecules on the cell surface, baculoviruses can use two different methods, electrostatic interaction with heparan sulfate and more specific receptor binding, for cell attachment.