A steroidogenesis inhibitor, also known as a steroid biosynthesis inhibitor, is a type of drug which inhibits one or more of the enzymes that are involved in the process of steroidogenesis, the biosynthesis of endogenous steroids and steroid hormones. They may inhibit the production of cholesterol and other sterols, sex steroids such as androgens, estrogens, and progestogens, corticosteroids such as glucocorticoids and mineralocorticoids, and neurosteroids. They are used in the treatment of a variety of medical conditions that depend on endogenous steroids.