The stapedius dampens the vibrations of the stapes by pulling on the neck of that bone. As one of the muscles involved in the acoustic reflex it prevents excess movement of the stapes, helping to control the amplitude of sound waves from the general external environment to the inner ear.
