N-heterocyclic moiety containing hydroxyethylamine compounds are effective as retroviral protease inhibitors, and in particular as inhibitors of HIV protease.