a headrest control system for a motor vehicle equipped with a driver &# 39 ; s seat and rear seats having adjustable headrests mounted thereon is disclosed which includes a driving motor for moving the headrest of the rear seat between an operative position for use and an inoperative retracted position , a first switch provided for actuating the driving motor , a second switch for actuating the driving motor , a memory for storing data of an optimum operative position of the headrest , and a sensor for detecting whether the rear seat is occupied by a passenger or not . a computerized controller is provided for controlling the driving motor in response to manipulation of the first switch so that the headrest is moved in correspondence to the manipulation of the first switch , controlling the driving motor on the basis of the data of the operative position stored in the memory to thereby move the headrest to the optimum operative position when occupation of the rear seat by a passenger is detected by the detecting means , and controlling the driving motor such that the headrest is moved to the inoperative retracted position in response to manipulation of the second switch so long as absence of passenger on the rear seat is detected by the detecting means .