Drug-induced ototoxicity has become a serious global problem, because of leading to deafness in hundreds of thousands of people every year. It always results from exposure to drugs or environmental chemicals that cause the impairment and degeneration of the inner ear. Herein, we focused on the in silico modeling of drug-induced ototoxicity of chemicals. We collected 1,102 ototoxic medications and 1,705 non-ototoxic drugs. Based on the data set, a series of computational models were developed with different traditional machine learning and deep learning algorithms implemented on an online chemical database and modeling environment. Six ML models performed best on 5-fold cross-validation and test set. A consensus model was developed with the best individual models. These models were further validated with an external validation. The consensus model showed best predictive ability, with high accuracy of 0.95 on test set and 0.90 on validation set. The consensus model and the data sets used for model development are available at https://ochem.eu/model/ 46566321. Besides, 16 structural alerts responsible for drug-induced ototoxicity were identified.We hope the results could provide meaningful knowledge and useful tools for ototoxicity evaluation in drug discovery and environmental risk assessment.