This document describes a density based traffic management system that uses infrared sensors to detect vehicle counts on roads and adjusts traffic light timing accordingly. The system aims to reduce traffic congestion and unnecessary wait times that occur with fixed-time traffic lights. Infrared sensors are placed along roads every 5 meters and can detect the presence of vehicles passing by. The detected vehicle distances on each road are used to determine traffic density and allocate longer green light times to more congested roads dynamically. The system is controlled using an Arduino mega microcontroller. It analyzes sensor input to adjust traffic signals based on real-time traffic conditions to improve traffic flow compared to conventional fixed-timing traffic lights.