Slave Codes

Slave codes were laws passed in the British colonies (starting in the late 1600s) that defined enslaved people as property, made slavery hereditary and lifelong, restricted enslaved people's movement and rights, and locked a race-based hierarchy into colonial law.

Verified for the 2027 AP US History examLast updated June 2026

What are Slave Codes?

Slave codes were the legal machinery of slavery. Starting in the late 17th century, colonies like Virginia, Maryland, and South Carolina passed laws that turned slavery from a vague labor practice into a permanent, hereditary, race-based system. The codes defined enslaved Africans as chattel (movable property, like livestock), made enslaved status pass from mother to child, banned enslaved people from gathering, traveling without permission, learning to read, or owning weapons, and gave enslavers near-total legal power. Many of these laws were copied from the brutal codes already in use on West Indian sugar islands like Barbados, which developed plantation slavery before the mainland did.

The key thing the CED wants you to see (KC-2.2.II.B) is that slave codes are how chattel slavery became the dominant labor system in the southern colonies. Before the codes, the line between an indentured servant and an enslaved African was blurrier. After the codes, the line was racial and permanent. The Spanish did something parallel but different in their empire, building a formal caste system (KC-1.2.II.D) that ranked Europeans, Africans, and Native Americans. Both systems show European colonizers writing racial hierarchy directly into law.

Why Slave Codes matter in APUSH

Slave codes sit at the heart of Topic 2.6 (Slavery in the British Colonies) and connect back to Topic 1.5 (the Spanish caste system). They directly support learning objective APUSH 2.6.A, explaining the causes and effects of slavery in the British colonies, and they set up APUSH 2.6.B, because the harshness of the codes is exactly what enslaved people resisted through both overt rebellion and covert cultural survival (KC-2.2.II.C). For the exam's Social Structures theme, slave codes are your best evidence that racial hierarchy in America wasn't an accident or just an attitude. It was built deliberately, statute by statute. They're also a classic causation answer. After events like Bacon's Rebellion and later slave revolts, colonial legislatures responded with stricter codes, so the codes work as both cause and effect in essay arguments.

How Slave Codes connect across the course

Chattel Slavery (Unit 2)

Slave codes are the legal paperwork behind chattel slavery. Chattel slavery is the idea that a person is property; slave codes are the actual laws that made that idea enforceable, hereditary, and racially defined. You can't fully explain one without the other.

Bacon's Rebellion (Unit 2)

After poor white servants and enslaved Africans rebelled together in 1676, Virginia's elite saw class solidarity as a threat. Hardening the slave codes drove a racial wedge between poor whites and enslaved Blacks, which is a favorite APUSH causation chain.

Spanish Caste System (Unit 1)

The Spanish casta system and British slave codes are two versions of the same move, using law to rank people by ancestry. The Spanish system had more gradations and some mobility; British codes drew a harder Black/white line. Comparing them is a natural comparison-essay setup across Topics 1.5 and 2.6.

Maroon Communities (Unit 2)

Slave codes tried to control movement and prevent escape, but maroon communities of runaways prove enslaved people resisted anyway. The codes and the resistance are two sides of the same coin under APUSH 2.6.B.

Are Slave Codes on the APUSH exam?

Slave codes show up mostly in Unit 2 multiple-choice questions about causation and continuity. Common stems ask why the colonies shifted from indentured servitude to African slavery, how late-17th-century slave codes broke from earlier labor systems, how West Indian sugar plantations (where codes developed first) shaped mainland slavery, and how legislatures responded to slave revolts (usually with harsher codes). No released FRQ has used the term verbatim, but slave codes are high-value evidence for SAQs and LEQs on the development of racial hierarchy, the causes of the shift to chattel slavery, or comparisons between Spanish and British colonial labor systems. The move that earns points is using the codes to explain change, showing that slavery went from an informal labor arrangement to a permanent legal caste.

Slave Codes vs Black Codes

These are nearly 200 years apart. Slave codes are colonial-era laws (late 1600s-1700s) that created and enforced slavery itself. Black Codes are Reconstruction-era laws (1865-1866) passed by Southern states after slavery was abolished, designed to restrict freed African Americans' labor and rights. If the question is about the colonial period, it's slave codes; if it's about post-Civil War, it's Black Codes.

Key things to remember about Slave Codes

  • Slave codes were colonial laws that defined enslaved Africans as property, made enslavement hereditary through the mother, and stripped enslaved people of basic rights.

  • The codes mark the transition from a flexible labor system of indentured servitude to permanent, race-based chattel slavery in the late 17th century (KC-2.2.II.B).

  • Mainland colonies borrowed heavily from slave codes already developed on West Indian sugar islands like Barbados.

  • Events like Bacon's Rebellion and later slave revolts pushed colonial legislatures to make slave codes harsher, so the codes work as both cause and effect in essays.

  • Despite the codes, enslaved Africans resisted overtly and covertly, preserving family structures, culture, and religion (KC-2.2.II.C).

  • The British slave codes and the Spanish caste system are parallel examples of European empires writing racial hierarchy into law, a strong cross-unit comparison.

Frequently asked questions about Slave Codes

What were the slave codes in colonial America?

Slave codes were laws passed by British colonies starting in the late 1600s that defined enslaved Africans as chattel property, made enslaved status lifelong and inherited from the mother, and banned enslaved people from gathering, traveling freely, or learning to read.

Are slave codes the same as Black Codes?

No. Slave codes are colonial laws from the 1600s-1700s that created and enforced slavery itself, while Black Codes were passed by Southern states in 1865-1866 to restrict freed African Americans after slavery was abolished. Mixing them up is one of the most common APUSH errors.

Why did the colonies pass slave codes?

The shortage of indentured servants, abundant land, and growing European demand for colonial goods pushed planters toward African slavery, and after Bacon's Rebellion (1676) elites used the codes to legally separate poor whites from enslaved Blacks and prevent another joint uprising.

Did slave codes start on the mainland colonies?

No. West Indian sugar colonies like Barbados developed plantation slavery and slave codes first, and mainland colonies like South Carolina copied much of that legal framework. The exam likes testing this West Indies-to-mainland influence.

How were British slave codes different from the Spanish caste system?

Both wrote racial hierarchy into law, but the Spanish casta system carefully ranked many mixed categories of Europeans, Africans, and Native Americans, while British slave codes drew a harder two-tier line between white and Black. This contrast is a classic Topic 1.5 vs. Topic 2.6 comparison.