The subthalamus is gray matter located ventral to the thalamus and lateral to the hypothalamus. Although its function is largely unknown, the subthalamus has connections with basal nuclei and seems to play a role in rhythmic movements.