Divorce is a social issue that can be influenced by various factors, making a data-driven approach necessary to identify potential risks at an early stage. This study aims to apply the C4.5 algorithm to develop a classification model for divorce risk among prospective couples and to implement the model into a web-based early detection system. The dataset consists of the attributes of couples’ age, education, employment stability, income classification, understanding of Fikih Munakahat, and conflict management. The modeling process involves the calculation of Entropy, Information Gain, Split Information, and Gain Ratio to construct a decision tree and generate classification rules. The results show that Fikih Munakahat has the highest Gain Ratio of 0.5612 and is selected as the root node, followed by Conflict Management as an important attribute in the decision structure. Model evaluation using a Classification Report and Confusion Matrix on 120 testing data instances achieved an accuracy of 96.67%, with a macro average of 0.96 and a weighted average of 0.97. The resulting model was then integrated into a web-based system to classify divorce risk into three categories: Low Risk, Moderate Risk, and High Risk. Black Box Testing of nine main system features showed that all features were successfully executed. The results indicate that the C4.5 algorithm can be applied as a classification model and integrated into a web-based system to support the early identification of divorce risk and premarital guidance.