Disclosed herein are immunostimulatory oligonucleotides and compositions and methods of use thereof. More specifically, immunostimulatory oligonucleotides, methods of optimizing the immunostimulatory properties of oligonucleotides, and methods of using the immunostimulatory oligonucleotides to elicit a toll-like receptor 21 (TLR21)-mediated immune response are disclosed.