Automotive headlights are crucial for nighttime driving, but accidents frequently occur when drivers fail to dim their high beams in the presence of oncoming vehicles, causing temporary blindness and increasing the risk of collisions. To address this problem, the current study developed an intelligent headlight system using a sensor-based approach to control headlight beam intensity. This system is designed to distinguish between various light sources, including streetlights, building lights, and moving vehicle lights. The primary goal of the study was to create an affordable alternative to machine-learning-based intelligent headlight systems, which are limited to high-end vehicles due to the high cost of their components. In simulations, the proposed system achieved a 98% success rate, showing enhanced responsiveness, particularly when detecting an approaching vehicle at 90°. The system’s effectiveness was further validated through real-vehicle implementation, confirming the feasibility of the approach. By automating headlight control, the system reduces driver fatigue, enhances safety, and minimizes nighttime highway accidents, contributing to a safer driving environment.