Efavirenz is a medication used to treat HIV infection. It works by blocking the virus from multiplying in the body. Efavirenz can also help prevent new infections from happening.