Bats perceive the three-dimensional (3D) environment by emitting ultrasound pulses from their nose or mouth and receiving echoes through both ears. To detect the position of a target object, it is necessary to know the distance and direction of the target. Certain bat species synchronize the movement of their pinnae with pulse emission, and it is this behavior that enables 3D direction detection. However, the significance of bats’ ear motions remains unclear. In this study, we construct a model of an active listening system including the motion of the ears, and conduct mathematical investigations to clarify the importance of ear motion in 3D direction detection. The theory suggests that only certain ear motions, namely three-axis rotation, accomplish accurate and robust 3D direction detection. Our theoretical analysis also strongly supports the behavior whereby bats move their pinnae in the antiphase mode. In addition, we provide the conditions for ear motions to ensure accurate and robust direction detection, suggesting that simple shaped hearing directionality and well-selected uncomplicated ear motions are sufficient to achieve precise and robust 3D direction detection. Our findings and mathematical approach have the potential to be used in the design of active sensing systems in various engineering fields.