Oligodeoxynucleotides (ODNs) containing unmethylated CpG motifs activate Toll-like receptor 9 (TLR9). Our previous studies have shown that ODNs containing two 5'-ends are more immunostimulatory than those with one 5'-end. In the present study, to understand the role of functional groups in TLR9 recognition and subsequent immune response, we substituted C or G of a CpG dinucleotide with 5-OH-dC, 5-propyne-dC, furano-dT, 1-(2'-deoxy-beta- d-ribofuranosyl)-2-oxo-7-deaza-8-methyl-purine, dF, 4-thio-dU, N(3)-Me-dC, N (4)-Et-dC, Psi-iso-dC, and arabinoC or 7-deaza-dG, 7-deaza-8-aza-dG, 9-deaza-dG, N(1)-Me-dG, N(2)-Me-dG, 6-Thio-dG, dI, 8-OMe-dG, 8-O-allyl-dG, and arabinoG in ODN containing two 5'-ends. Agonists of TLR9 containing cytosine or guanine modification showed activity in HEK293 cells expressing TLR9, mouse spleen, and human cell-based assays and in vivo in mice. The results presented here provide insight into which specific chemical modifications at C or G of the CpG motif are recognized by TLR9 and the ability to modulate immune responses substituting natural C or G in immune modulatory oligonucleotides.