The structure-activity studies leading to the potent and clinically efficacious HIV protease inhibitor ritonavir are described. Beginning with the moderately potent and orally bioavailable inhibitor A-80987, systematic investigation of peripheral (P3 and P2') heterocyclic groups designed to decrease the rate of hepatic metabolism provided analogues with improved pharmacokinetic properties after oral dosing in rats. ...