Abstract This study explores the potential assessment. of regenerative braking energy in the operation of Electric Multiple Units (EMU) on the Yogyakarta-Palur railway line, a 65.03 km. Prompted by a noticeable increase in passenger numbers in the Yogyakarta metropolitan buffer zone, the study calls for future energy management strategies, involving regenerative braking to reduce energy consumption. Utilizing a mathematical model implemented via MATLAB Simulink, the research encompasses complex train movement scenarios, considering variables such as acceleration values of 0.558 m/s2 and 1 m/s2, and deceleration values of -0.555 m/s2 and 0.36 m/s2. Speed limitations, travel patterns, and energy profiles are rigorously examined, along with incline influences, such as tangent angles of 0.0032 degrees and 0.0017 degrees. In segments like Purwosari-Solo Jebres, electrical energy consumption is quantified at 23.02 kWh, with regenerative braking energy at 1.42 kWh; in Maguwo-Brambanan, consumption is 15.28 kWh, with regenerative energy at 2.42 kWh. The peak power requirements and regenerative braking potentials were also determined, with values such as 619.9 kW and 225.7 kW, and 1785 kW and 198.2 kW respectively. The total electrical consumption for the routes from Palur to Yogyakarta and vice versa was found to be 325.52 kWh and 276.73 kWh, with energy recovery of 31.43 kWh and 26.6 kWh, and average energy recovery ratios of 9.66% and 9.61%.