Clinically available drugs active against Epstein-Barr virus (EBV) and other human herpesviruses are limited to those targeting viral DNA replication. To identify compounds directed against other steps in the viral life cycle, we searched for drugs active against the EBV SM protein, which is essential for infectious virus production. SM has a highly gene-specific mode of action and preferentially enhances expression of several late lytic cycle EBV genes. Here we demonstrate that spironolactone, a mineralocorticoid receptor antagonist approved for clinical use, inhibits SM function and infectious EBV production. Expression of EBV viral capsid antigen is highly SM dependent, and spironolactone inhibits viral capsid antigen synthesis and capsid formation, blocking EBV virion production at a step subsequent to viral DNA replication. In addition, spironolactone inhibits expression of other SM-dependent genes necessary for infectious virion formation. We further demonstrate that molecules structurally related to spironolactone with similar antimineralocorticoid blocking activity do not inhibit EBV production. These findings pave the way for development of antiherpesvirus drugs with new mechanisms of action directed against SM and homologous essential proteins in other herpesviruses.