Pyrazolopyridin-4-amines, pyrazoloquinolin-4-amines, pyrazolonaphthyridin-4-amines, and 6,7,8,9-tetrahydropyrazoloquinolin-4-amines, pharmaceutical compositions containing the compounds, intermediates, methods of making, and methods of use of these compounds as immunomodulators, for inducing or inhibiting cytokine biosynthesis in animals and in the treatment of diseases including viral and neoplastic diseases, are disclosed.