Toe problems and toe deformities such as claw toe and Hammertoe happen when the tendons (guiders) that move the toes get too tight or out of balance. The affected toe can rub on other toes and on the inside of your shoe, causing pressure and pain. Inflammatory arthritis, (swelling, pain, stiffness in joints), which, such as rheumatoid arthritis can damage the toe joints and this may make them come out of position (dislocate).
Causes
Hammer toes are most frequently caused by a muscle - tendon imbalance in the foot, and are seen both in adults and children. Foot muscles work in pairs to straighten and bend the toes. If your foot has a biomechanical defect, the muscles tighten and the tendons shorten. Eventually, the toe muscles can?t straighten the toe, even when barefoot. Contributing factors are poor choices in footwear, arthritis, or trauma.

Symptoms
A toe (usually the second digit, next to the big toe) bent at the middle joint and clenched into a painful, clawlike position. As the toe points downward, the middle joint may protrude upward. A toe with an end joint that curls under itself. Painful calluses or corns. Redness or a painful corn on top of the bent joint or at the tip of the affected toe, because of persistent rubbing against shoes Pain in the toes that interferes with walking, jogging, dancing, and other normal activities, possibly leading to gait changes.
Diagnosis
Some questions your doctor may ask of you include, when did you first begin having foot problems? How much pain are your feet or toes causing you? Where is the pain located? What, if anything, seems to improve your symptoms? What, if anything, appears to worsen your symptoms? What kind of shoes do you normally wear? Your doctor can diagnose hammertoe or mallet toe by examining your foot. Your doctor may also order X-rays to further evaluate the bones and joints of your feet and toes.
Non Surgical Treatment
For hammertoes that are still flexible, a podiatrist might recommend padding or taping the toes to relieve pain and orthotic inserts for shoes to minimize pressure and keep the toe properly aligned. Anti-inflammatory drugs or corticosteroid injections can relieve pain and inflammation. For more advanced cases of hammertoe, a podiatrist might recommend a surgical procedure to cut the tendon, allowing the toe to straighten. For hammertoes that have become rigid, a more complicated surgery might be needed, during which the podiatrist removes part of the bone at the deformed joint to allow it to straighten.
Surgical Treatment
For the surgical correction of a rigid hammertoe, the surgical procedure consists of removing the damaged skin where the corn is located. Then a small section of bone is removed at the level of the rigid joint. The sutures remain in place for approximately ten days. During this period of time it is important to keep the area dry. Most surgeons prefer to leave the bandage in place until the patient's follow-up visit, so there is no need for the patient to change the bandages at home. The patient is returned to a stiff-soled walking shoe in about two weeks. It is important to try and stay off the foot as much as possible during this time. Excessive swelling of the toe is the most common patient complaint. In severe cases of hammertoe deformity a pin may be required to hold the toe in place and the surgeon may elect to fuse the bones in the toe. This requires several weeks of recovery.