Atazanavir is used along with other medications to treat human immunodeficiency virus (HIV) infection in adults and children who are at least 3 months of age and weigh at least 22 lb (10 kg). Atazanavir is in a class of medications called protease inhibitors. It works by decreasing the amount of HIV in the blood.