Human cytomegalovirus (CMV) is a ubiquitous β-herpesvirus that establishes latent asymptomatic infections in healthy individuals but can cause serious infections in immunocompromised people, resulting in increased risk of morbidity and mortality. The current FDA-approved CMV drugs target late stages of the CMV life-cycle. While these drugs are effective in most cases, they have serious drawbacks, including poor oral bioavailability, dose-limiting toxicity, and a low barrier to resistance. Given the clinical relevance of CMV-associated diseases, novel therapies are needed. Thus, a novel class of compounds that inhibits the early stages of the CMV life-cycle was identified and found to block infection of different strains in physiologically relevant cell types. This class of compounds, N-arylpyrimidinamine (NAPA), demonstrated potent anti-CMV activity against ganciclovir-sensitive and -resistant strains in in vitro replication assays, a selectivity index >30, and favorable in vitro ADME properties. Mechanism of action studies demonstrated that NAPA compounds inhibit an early step of virus infection. NAPA compounds are specific inhibitors of cytomegaloviruses and exhibited limited anti-viral activity against other herpesviruses. Collectively, we have identified a novel class of CMV inhibitor that effectively limits viral infection and proliferation.