The invention relates to structurally constrained synthetic peptides that have been optimised to form a beta-hairpin structure. The peptides can inhibit or reduce the infection caused by the dengue virus (DENV). The invention also relates to pharmaceutical compositions containing these synthetic peptides, said pharmaceutical compositions being suitable for preventing and/or treating the infections caused by DENV. Furthermore, the invention provides a method for treating the infections caused by this virus.