The invention provides relatively short immunogenic peptides derived from CD19 and CD20 antigens, and biologically active variants thereof, which elicit an immune response. Nucleic acids encoding the immunogenic peptides and antibodies specific for the peptides are also provided. The immunogenic peptides can be included in pharmaceutical compositions, such as cancer vaccines, and used for the treatment of cancer.