Moreover, the pain can affect any part of the body, including the legs, arms, hips, and the back. To treat muscle pain or myalgia effectively, it is important to identify its underlying cause. Therefore, some common conditions that can produce deep muscle pain are explained below.