Compounds of the present disclosure are spirocycle-substituted pyrimidinecarboxamides. Also disclosed are pharmaceutical compositions comprising the compounds, and methods of using the compounds. The compounds are useful for treating HIV infection and AIDS.