The prediction of energy-related time series for computer numerical control (CNC) machine tool axes is an essential enabler for the shift towards autonomous and intelligent production. In particular, a precise prediction of energy consumption is needed to determine the environmental impact of a product and the optimization of its production. For this purpose, a novel approach for predicting high-frequency time series of numerically controlled axes based on the program code to be executed is presented. The method involves simulative preprocessing of the input NC code to determine each axis’s acceleration, velocity, and process force. Combined with the material removal rate, these variables are input for a machine learning (ML) model that delivers axis-specific high-frequency time series predictions. Compared to common approaches, it is thus possible to make predictions for the variable energy consumption of machine tools for any tool path or target resolution in the time domain. Experiments show that this approach achieves a high precision when a robust learning data basis is available. For the X-, Y-, and Z-axis, errors of 0.2%, −1.09%, and 0.09% for aircut and of 0.15%, −3.55%, and 0.08% for material removal can be achieved. The potentials for further improvement are identified systematically.