A fly has six legs. Flies are classified as insects, and all insects have one pair of antennae, three body parts and six legs. A fly's legs are attached to its middle section, or thorax, and lare jointed.
When walking, a fly uses all six legs. However, it is able to balance in place using just four. Houseflies are a very common type of fly, and their legs have multiple uses. Tiny hairs near the end of each leg function like taste buds. A fly is able to walk on almost anything, at any angle, because of tiny suction cups and claws on the bottom of its feet.