The embodiment of the invention discloses a brake-by-wire system for an automobile. The system involves a master controller, a brake pedal, a brake pushrod, a fully decoupled brake simulator, an actuator front shell body, an actuator rear shell body, a normally closed solenoid valve, an anti-locking device, a first brake, a second brake, a third brake, a fourth brake, a displacement sensor, a first ball bearing, a second ball bearing, a third ball bearing, a fourth ball bearing, a first speed reducing and torque increasing mechanism, a second speed reducing and torque increasing mechanism, a first power assisting motor, a second power assisting motor, a first brake master cylinder, a second brake master cylinder, a first normally open solenoid valve, a second normally open solenoid valve,a first pressure sensor, and a second pressure sensor. According to the scheme provided by the brake-by-wire system, the problem of invalid braking force caused by the failure of a certain part of a power assisting mechanism in the travelling process of the automobile can be avoided, the response speed of the brake-by-wire system for the automobile is improved, and the control difficulty of the stability of the brake-by-wire system is reduced.