Ankylosis can occur in any joint in the body, including the spine, hip, shoulder, elbow, wrist, knee, and ankle. It can also occur in the temporomandibular joint (TMJ), which connects the lower jaw to the skull. In some cases, ankylosis can affect the joints of the fingers and toes.