Slave Codes in AP US History
Slave codes were laws that defined enslaved Africans as property and made their status lifelong and inherited. In British North America, colonial legislatures began enacting them in the 1600s, and U.S. states later maintained and expanded such laws until emancipation. The codes also banned interracial relationships and restricted enslaved people's movement, gatherings, and education, which turned slavery into a permanent, race-based legal category.
This definition is part of Fiveable's AP US History review, which also has guided practice questions.
Virginia, 1662: the law that made a mother's status hereditary
In 1662 the Virginia House of Burgesses passed a law saying a child's status would follow the condition of the mother. If the mother was enslaved, the child was enslaved, no matter who the father was. That single rule meant enslavement could pass down forever, and it gave enslavers a legal claim to children fathered by white men.
Virginia kept adding pieces. A 1667 law said baptism did not free an enslaved person, closing off Christianity as a route out of bondage. In 1691 the colony banned marriage between white and Black people, and in 1705 it gathered its scattered slave laws into one code. Barbados had already written a full slave code in 1661, and South Carolina modeled its 1696 code on the Barbados one, so the harshest version of the system came from the sugar islands to the mainland.
This is the change at the center of Unit 2, Topic 2.6 (Slavery in the British Colonies). The course wants you to explain how chattel slavery (owning people as movable property) became the dominant labor system in many southern colonies, and how new laws created a strict racial hierarchy as that happened. Before these laws, the line between an African laborer and an English indentured servant in early Virginia was legally fuzzy. Afterward it was racial and permanent.
Why Chesapeake and Carolina lawmakers wrote the codes when they did
The codes followed the economics. Tobacco in the Chesapeake and rice in South Carolina needed huge amounts of labor, land was plentiful, and European demand for those crops kept growing. Meanwhile the supply of indentured servants shrank in the late 1600s, and the ones who finished their contracts wanted land of their own.
Bacon's Rebellion in 1676 made that last problem visible. Poor colonists, including indentured servants and enslaved Africans, joined Bacon's armed rebellion against Virginia's governor. Planters who relied on enslaved Africans instead of servants faced no growing class of armed ex-servants demanding land, and laws that sorted people by race made it harder for poor whites and Black laborers to see shared interests.
Codes also hardened after slave revolts. After the Stono Rebellion of 1739, South Carolina passed the Negro Act of 1740, which tightened control over enslaved people's movement and assembly and banned teaching them to write. In an essay, this lets you use the codes as both an effect (of labor needs and revolts) and a cause (of a rigid racial order).
What the bans reveal about resistance under slavery
Read a slave code backward and you see what enslaved people were doing. Lawmakers restricted gatherings and travel without a pass, and some laws also restricted literacy, including South Carolina's 1740 ban on teaching enslaved people to write. Those rules existed because enslaved people met, moved, communicated, and planned. That connects the codes to the second objective in Topic 2.6, explaining how enslaved people responded to slavery.
The course splits resistance into overt and covert forms. Overt resistance includes revolts like Stono and running away. Covert resistance includes slowing work, breaking tools, and keeping African family structures, gender roles, religious practices, and culture alive despite laws meant to erase them. A strong answer treats the codes and the resistance as a cycle, with each push producing a stricter law.
Reading a source about the codes: a practice example
For practice, imagine a planter advocating hereditary status and restrictions on interracial unions. Your task is to explain what interests those proposals would serve. A solid answer is about securing a permanent, self-reproducing enslaved labor force, reinforcing racial boundaries, and protecting enslavers' claims to a hereditary labor force, even though free people of color continued to exist.
The same reasoning works in Short-answer Question 2, which is built on a primary text source. Colonial slave codes could also serve as evidence in a Long essay whose broader time span includes the colonial period, especially one about labor systems or how racial hierarchy developed. What earns credit is explaining change over time, showing slavery moving from a loosely defined labor arrangement to a hereditary legal status. The Document-based question covers 1754 to 1980. Earlier colonial codes could provide background or outside evidence there, while slave-code laws from within that period could also be directly relevant documents or evidence.
Slave codes, Black Codes, and the Spanish casta system
Black Codes are a different set of laws passed after emancipation. Southern states passed Black Codes in 1865 and 1866, during early Reconstruction and around the ratification of the Thirteenth Amendment, to control the labor and movement of freed African Americans. If the question is about laws governing enslaved people, the answer is slave codes. If it's set during Reconstruction and concerns freedpeople, it's Black Codes.
The Spanish comparison from Unit 1, Topic 1.5 (Labor, Slavery, and Caste in the Spanish Colonial System) also trips people up. Spain's caste system ranked many carefully defined mixed categories of Europeans, Africans, and Native Americans. British slave codes moved toward a sharper two-part line between white and Black, with mixed-ancestry children legally assigned to the mother's status. Both systems wrote race into law, but the Spanish version had many steps while the British version was built to keep the line rigid.
Where this sits in APUSH
- Unit 1: Interactions North America, 1491–1607 (about 4–6% of the multiple-choice section)
- Topic 1.5: Labor, Slavery, and Caste in the Spanish Colonial System Study guide →
- Topic 2.6: Slavery in the British Colonies Study guide →
Keep studying APUSH Unit 1
Official unit cheatsheet
open one-pagerKeep studying AP US History
Connect this key term to the AP exam workflow: review the course, practice questions, and check related study tools.
AP US History hub
Review units, study guides, and course resources.
AP-style practice
Check this vocabulary in multiple-choice context.
FRQ practice
Apply key concepts in written AP responses.
Score calculator
Estimate the exam score you are working toward.
Cheatsheets
Review the highest-yield facts before practice.
Practice exam
Put the full course together before test day.