This document describes the design and development of an anti-accident braking system. The system uses ultrasonic sensors and a microcontroller to detect imminent collisions. When a collision is detected, the system either warns the driver or automatically applies the brakes without driver input. The system was designed and fabricated to maintain a safe distance from the vehicle ahead by operating the brake system if the driver does not decrease speed. The anti-accident braking system consists of infrared and ultrasonic sensors connected to a microcontroller which is connected to a hydraulic brake system and DC motor for speed control. The system is intended to reduce the severity of accidents and save lives.