The five armies in The Hobbit are the Goblins, Wolves, Elves, Men, and Dwarves. However, there is some confusion about the exact composition of the armies. For example, the Eagles and Beorn also play important roles in the battle, but they are not officially listed among the five armies. Additionally, some adaptations of the story include different armies, such as the Woodelves, Woodmen, and bears led by Beorn. Despite these variations, the five armies most commonly referred to in The Hobbit are the Goblins, Wolves, Elves, Men, and Dwarves.