Among the mechanisms by which tumor cells escape the immune surveillance, one is the interaction between programmed cell death protein 1 (PD-1) and its ligand programmed death-ligand 1 (PD-L1). Inhibition of the PD-1/ PD-L1 pathway with monoclonal antibodies as immune checkpoint inhibitors targeting PD-1 or its ligand, PD-L1, represents a milestone in cancer therapy. The application of these antibodies, however, suffers from drawbacks including failure to show a response or benefit in a majority of patients following monotherapy or combination therapy, their frequent administration, and cost intensiveness. Small peptides capable of interfering with PD-1/PD-L1 interaction represent interesting alternatives to antibody-based immune checkpoint inhibitors. Moreover, peptides representing PD-1 or PD-L1 sequences can be used in active immunization approaches to induce antibodies that enhance antitumor immunity by effectively preventing PD-1-mediated inhibition in the host. Importantly, such peptides can readily be combined with peptides derived from cancer antigens to effectively induce an antitumor immune response. In this review, we have summarized the recent developments in the use of small molecules and peptides either to directly block PD-1/PD-L1 interaction, or in vaccination approaches to induce antibody responses stimulating anticancer immunity by blocking PD-1-mediated T-cell inhibition.