Two classes, acyloxymethylketones and hydroxymethylketones, were discovered as potent inhibitors of the SARS 3CLpro.