The short answer
Mercenaries in the Middle Ages were paid soldiers. They came from many backgrounds and were hired by kings, cities, popes and lords when they needed more fighters than their own followers and levies could provide. Some were skilled specialists, such as crossbowmen or pikemen. Others were knights or former soldiers with no land of their own.
Who they were
Medieval mercenaries included several kinds of people:
- Landless knights and younger sons. Many men who could not inherit land made a living by fighting for pay.
- Specialist infantry. Crossbowmen from Italian cities and Swiss pikemen were in demand for their skills.
- Foreign guards. The Varangian Guard, a bodyguard for the Byzantine emperors, drew many Scandinavian and later Anglo-Saxon members.
- Gallowglass. These were Gaelic-speaking warriors from the Scottish islands and western Scotland, hired by Irish lords.
The groups varied by region and period, so the answer depends on when and where you look.
Why rulers hired them
Most medieval rulers had no large standing army. A king or a city that wanted a big army for a campaign had to gather troops from his own lands, call on the men owed to him under feudal custom, or hire soldiers. Hiring offered several benefits. A ruler could get skilled troops who were not available locally, and could pay them only for the length of the campaign.
Feudal service had its limits. Men owed to a lord often served for a fixed number of days, and they could be unwilling to fight far from home. Hired men had no such limits, but they had to be paid.
Pay was the main tie
Pay was what held a mercenary to a contract. When the money stopped, the bond stopped too. That made mercenaries unreliable allies and sometimes dangerous ones. Unpaid soldiers often looked for other ways to make money, and some turned to raiding the people they were supposed to protect.
For this reason, rulers who relied on hired soldiers were always balancing the cost of pay against the risk of a band turning on them. The loss of control over these soldiers is one reason later kings preferred standing armies. It is also part of the wider violence in medieval europe that ordinary people had to live with, though there were many causes.
Their reputation
Mercenaries had a mixed reputation. Some were admired for their skill. Others were feared, especially when they were unpaid or between contracts. A good commander could keep his men in order, but many bands were hard to control, and the stories told about them were often harsh.