This paper proposes an automatic method for excavator working cycle recognition using supervised classification methods and motion information obtained from four inertial measurement units (IMUs) attached to moving parts of an excavator. Monitoring and analyzing tasks that have been performed by heavy-duty mobile machines (HDMMs) are significantly required to assist management teams in productivity and progress monitoring, efficient resource allocation, and scheduling. Nevertheless, traditional methods depend on human observations, which are costly, time-consuming, and error-prone. There is a lack of a method to automatically detect excavator major activities. In this paper, a data-driven method is presented to identify excavator activities, including loading, trenching, grading, and idling, using motion information, such as angular velocities and joint angles, obtained from moving parts, including swing body, boom, arm, and bucket. Firstly, a dataset lasting 3 h is collected using a medium-rated excavator. One experienced and one inexperienced operator performed tasks under different working conditions, such as different types of material, swing angle, digging depth, and weather conditions. Four classification methods, including support vector machine (SVM), k-nearest neighbor (KNN), decision tree (DT), and naive Bayes, are off-line trained. The results show that the proposed method can effectively identify excavator working cycles with a high accuracy of 99%. Finally, the impacts of parameters, such as time window, overlapping configuration, and feature selection methods, on the classification accuracy are comprehensively analyzed.