Drug-induced liver disease (DILI) represents one of the main problems in the therapeutic field. There are several non-modifiable risk factors, such as age and sex, and all drugs can cause hepatotoxicity of varying degrees, including those for the treatment of inflammatory bowel diseases (IBD). The aim of this review is to illustrate the adverse effects on the liver of the various drugs used in the treatment of IBD, highlighting which drugs are safest to use based on current knowledge. The mechanism by which drugs cause hepatotoxicity is not fully understood. A possible cause is represented by the formation of toxic metabolites, which in some patients may be increased due to alterations in the enzymatic apparatus involved in drug metabolism. Various studies have shown that the drugs that can most frequently cause hepatotoxicity are immunosuppressants, while mesalazine and biological drugs are, for the most part, less associated with such complications. Therefore, it is possible to assume that in the future, biological therapies could become the first line for the treatment of IBD.