With the development of the brake-by-wire system, more and more advanced driver assistance systems have been applied to automobiles. The brake-by-wire system can collect the driver’s braking intention through the displacement sensor and thus realize accurate braking by the motor. Based on the brake-by-wire system, we design an algorithm that can realize the vehicle Comfort Stop Technology (CST) in this paper. The CST can control the drop and rise of brake fluid pressure during the braking stop of the vehicle, and therefore reduce the sharp feeling of front and back pitching during the braking stop. Finally, through real car verification, the functional algorithm designed in this paper can improve the nodding feeling of the vehicle by reducing the deceleration of the vehicle during braking.