Abstract: A system for maintaining a height adjustable patient bed in a level position while adjusting height of the bed is provided. The system has electrically powered linear actuators having internal position sensors, the linear actuators operable to adjust the height of the bed. The system also has control means, electrically coupled to the linear actuators, which compares position information from the internal position sensors and then adjusts the power supply to one or the other of the linear actuators in response to the position information. This permits the trailing linear actuator to catch up to the lead linear actuator to maintain the bed in a level position while the height of the bed is being adjusted. Since the internal position sensors work on small changes in position, the leveling effect is not noticeable leading to less tilt of the bed and a smoother motion during height adjustment of he bed.