Temporomandibular joint (TMJ) dysfunction involves the joint that attaches the mandible to the temporal bones at each side of your head.