Atorvastatin is a selective, competitive inhibitor of HMG-CoA reductase, the rate-limiting enzyme responsible for the conversion of 3-hydroxy-3-methyl-glutaryl-coenzyme A to mevalonate, a precursor of sterols, including cholesterol.