All muscles in the anterior compartment of the arm are innervated by the musculocutaneous nerve.
The median nerve innervates the muscles in the anterior compartment of the forearm, with two exceptions—one flexor of the wrist (the flexor carpi ulnaris muscle) and part of one flexor of the fingers (the medial half of the flexor digitorum profundus muscle) are innervated by the ulnar nerve.