A newly developed high intensity discharge (HID) automotive headlamp results in a high luminous gradient at the cutoff line, and proves the superior concept in safer and more com-fortable nighttime driving. This new headlamp technology Provides drivers expanded night vision by a significantly improved light pattern. However, the HID headlamp may dazzle other traffics during traversing a rough road or encountering an unexpected bump. To resolve this problem, an automatic headlamp leveling device is necessary. A preview control is presented for the design of the leveling system. The proposed control algorithm is capable of attenuating a dynamic glare which is one of the major detractors to a driving in dark roads. Computer simulations using ADAMS are carried out to confirm the effectiveness on the control system.