The agricultural sector, especially oil palm plantations, has an important role in the Indonesian economy. Oil palm farming has increased the welfare of farmers and provided employment. In this study, researchers used the C4.5 and K-Nearest Neighbor algorithms in the RapidMiner application to analyze oil palm fruit production data after going through the data preprocessing process. The C4.5 algorithm produces a decision tree with an accuracy of 94.12%, while the KNN algorithm achieves an accuracy of 82.53%. Based on these results, it can be concluded that the C4.5 algorithm has a higher accuracy in classifying oil palm fruit production based on existing attributes.