Drug-induced liver injury (DILI) is a common adverse drug event. Spontaneous reporting systems such as the Japanese Adverse Event Report Database (JADER) have been used to evaluate the association between drugs and adverse drug events. However, the association of drugs with adverse drug events may be overestimated due to reporting biases. Therefore, it is important to objectively evaluate the association using liver function test values. The aim of the present study was to predict potential hepatotoxic drugs using real-world data including electronic medical records and the JADER database. A total of 70009 (2779 with DILI and 67230 without DILI) and 438515 (10235 with DILI and 428280 without DILI) Japanese adult patients were extracted from electronic medical records and the JADER database, respectively. Drugs with ≥100 DILI patients in both of the two databases were regarded as suspected drugs for DILI. We used multivariate logistic regression to evaluate the association between the suspected drugs and increased risk of DILI. Among the suspected drugs, broad-spectrum antibiotics such as meropenem, tazobactam/piperacillin and ceftriaxone were significantly associated with an increased risk of DILI, and meropenem had a greater risk of DILI in both of the two databases. Additionally, there were significant associations of mosapride and L-carbocisteine with increased risk of DILI. In addition to well-known associations between antibiotic drugs and DILI, mosapride and L-carbocisteine were found to be new potential signals of drugs causing hepatotoxicity. This study indicates potential hepatotoxic drugs that require further causality assessment.