In this study, a regenerative braking control algorithm was developed for the fuel cell electric vehicle (FCEV) equipped with the front electronic wedge brake (EWB).A regenerative braking control algorithm was proposed for the regenerative braking and friction braking for the front wheels, and for the friction braking for the rear wheels; and a powertrain model of an FCEV composed of a motor, fuel cells, and batteries, and a MATLAB model of the control algorithm, were developed. They were linked to the MATLAB SimDriveline model of the vehicle under study, whereas the braking hardware in the loop simulator (HILS) of the FCEV was built using the EWB hardware. HILS was used to examine the dynamic response of the regenerative motor torque and the EWB clamping force that corresponded to the driver's braking demand.