As the radial nerve passes diagonally, from medial to lateral, through the posterior compartment, it lies in the radial groove directly on bone. On the lateral side of the arm, it passes anteriorly through the lateral intermuscular septum and enters the anterior compartment where it lies between the brachialis muscle and a muscle of the posterior compartment of the forearm—the brachioradialis muscle, which attaches to the lateral supraepicondylar ridge of the humerus. The radial nerve enters the forearm anterior to the lateral epicondyle of the humerus, just deep to the brachioradialis muscle.