Tendonitis is inflammation or irritation of a tendon — any one of the thick fibrous cords that attach muscles to bones. The condition causes pain and tenderness just outside a joint.