Four-wheel-drive electric vehicles (4WD Evs) utilize in-wheel electric motors and Electro-Hydraulic Braking system (EHB). Then, all wheels torque can be controlled independently, and the braking pressure can be controlled more accurately and more fast than conventional braking system. Because of these advantages, 4WD Evs have potential applications in control engineering. In this paper, the in-wheel electric motors and EHB are applied as actuators in the vehicle stability control system. Based on the Direct Yaw-moment Control (DYC), the optimized wheel force distribution is given, and the coordination control of the hydraulic braking and the motor braking torque is considered. Then the EHB hardware-in-the-loop test bench is established in order to verify the effectiveness of the vehicle stability control algorithm through experiments. The simulation and experiment results show that the stability control system with in-wheel electric motors and EHB as actuators can improve the stability of the 4WD Evs effectively.