The rectus abdominis is a long paired muscle located on either side of the midline and extending the length of the anterior abdominal wall. Both muscles are separated by linea alba in the midline.