What Was a Pirate Code?

The “pirate code” was not one universal law followed by every pirate. Different crews could adopt their own articles—written agreements that described how the company would operate and how prizes would be divided.

Lore Status: Historical RecordSeveral sets of pirate articles survive in contemporary or near-contemporary sources. The exact rules varied from crew to crew.

Was there one pirate code?

No. Popular culture sometimes presents “the Pirate Code” as a single ancient rulebook. Historically, pirate companies created their own articles. Two crews could agree on similar principles but use different rules and penalties.

What did pirate articles cover?

Common subjects included shares of captured property, authority of officers, gambling, alcohol, weapons, desertion, fighting aboard ship, lights at night and compensation for injuries.

Why would criminals use written rules?

Because a pirate ship was a cooperative enterprise. Dozens of armed people had to work together under dangerous conditions. Clear rules reduced arguments about money and authority. They also gave sailors a way to know what they were agreeing to before a voyage or campaign.

How was loot divided?

Articles often specified shares. Ordinary crew members received a standard portion, while captains, quartermasters or skilled specialists might receive larger shares. Some agreements also reserved compensation for serious injuries. See How Did Pirates Divide Their Loot?.

What kinds of punishments were used?

Penalties depended on the offense and crew. A pirate might lose shares, be marooned, be expelled from the company or face physical punishment. Serious betrayal could be fatal.

Did the code make pirates democratic?

Some pirate crews gave members a voice in choosing leaders and approving rules. That was more participatory than life on many naval or merchant vessels. But it should not be romanticized into modern democracy. Pirate crews were violent criminal organizations operating under extreme conditions.

Why pirate codes matter

They reveal the organizational side of piracy. Successful piracy required contracts, incentives, leadership structures and dispute management—not just individual daring.