A muscle contraction occurs when an action potential moves along the nerves to the muscles. It starts when the nervous system creates an impulse which is called an action potential.