A hammertoe is a joint on your toe that points up instead of lying flat. This deformity happens because muscles in your foot or leg get weak and the tendons to your toe pull abnormally. You might find that you also have a corn or callus on top of your deformed toe, which can be quite painful.