Content advisory

Before you enter The Record

The Record tells African American history in full — without softening, erasure, or euphemism. Some pages describe slavery, racial terror, segregation, and violence plainly, as the historical record requires.

Accounts are unfiltered and may be difficult to read.

Younger readers can switch to Guided mode from the menu bar.

This is an educational resource, presented for understanding — not shock.

By entering, you acknowledge this advisory.

Legacy Unbound
Sign in
Content guidance

How would you like to read this history?

The Record tells African American history without softening it. Some pages describe racial violence and discrimination plainly. Choose how you'd like to begin.

You can switch anytime from the menu bar.

Iron shackles on the steps of a 19th-century southern courthouse at dusk
1865–1866

The Black Codes

How the South legalized slavery again after emancipation

Within months of the Civil War's end and the ratification of the 13th Amendment, white Southern legislatures passed the Black Codes — a web of state laws designed to restore slave-like control over four million newly freed people. Enacted in 1865–66 before Radical Reconstruction began, the codes varied by state but shared one aim: to bind Black labor to white landowners, deny Black citizenship, and criminalize Black freedom.

The laws, one by one

Nine categories of statute appeared across the codes — together they rebuilt slavery in legal form.

1

Vagrancy laws

The cornerstone of the codes. Mississippi's 1865 law required every Black adult to carry written proof of a labor contract by the second Monday of January or be arrested as a 'vagrant.' Across the South, 'vagrancy' was defined so broadly — being unemployed, loitering, or simply unable to prove lawful work — that virtually any Black person outside a white employer's control could be seized. Those convicted were fined; if they could not pay, as almost none could, courts auctioned them to white employers to 'work off' the fine — a legal sale of Black labor identical in effect to a slave auction.

2

Anti-enticement and contract laws

Black workers were required to sign binding year-long labor contracts by January, usually at wages and conditions set by the planter. Quitting before the year ended, or being 'enticed' to leave by another employer, was a crime punishable by fine or forced labor. The result was to freeze Black workers on the plantations, prevent them from seeking better pay, and recreate the plantation labor force under a new name.

3

Apprenticeship of Black children

States authorized courts to bind out Black children — including those with living parents — to white 'masters' as apprentices, often until age 21. Officials could seize children whose parents were judged 'unable' to support them or were ruled vagrant. Apprentices had no right to leave; in practice the system let white planters take Black children's labor for free, a direct continuation of enslaved child labor.

4

Bans on renting or owning land

Many codes barred Black people from buying or leasing farmland outside towns, or restricted it so tightly that freed people could not become independent farmers. The aim was to prevent Black economic independence and force dependence on the plantation — pushing the freed population into sharecropping and debt peonage.

5

Disarming Black citizens

Several codes — Mississippi, South Carolina, Texas — made it a crime for Black people to own or carry firearms or ammunition, disarming the freed population and leaving it exposed to white violence and the Ku Klux Klan even as white militias kept their arms.

6

Restrictions on assembly, travel, and worship

The codes limited Black people's right to assemble, hold meetings, or preach without a white person present, and required written permission to travel or a pass to leave a plantation. Public preaching by Black ministers was restricted or banned — directly targeting the Black church that had become the center of freed community life.

7

Ban on testifying against white people

Black people were barred from testifying in court against white defendants, or in any case involving a white person — meaning white violence, theft, and fraud against Black people could not be prosecuted by Black witnesses. The denial of legal personhood mirrored the slave codes that preceded them.

8

Occupational restrictions

South Carolina's code listed every occupation a Black person could hold and narrowed it to farm laborer or domestic servant; other states barred Black people from skilled trades and professions. The purpose was to prevent Black competition with white artisans and to confine the freed population to the lowest-paid work.

9

Whipping and the chain gang

Some codes revived whipping as a legal punishment for Black 'offenders' — a punishment abolished for white people. Convicted Black people were put to work in chain gangs under armed guards, and the convict-leasing system that grew out of the codes leased them by the hundreds to plantations, railroads, and mines, where they were often worked to death.

State by state

Mississippi (1865)

The first and harshest Black Code, passed November 1865. It required written proof of employment, banned Black land rental in towns, allowed the apprentice seizure of Black children, and made vagrancy a crime punished by forced labor. Mississippi's code became the national emblem of the codes and the trigger for Congress's radical turn.

South Carolina (1865)

Passed December 1865. It restricted Black labor to farm worker or servant, barred Black people from most skilled trades, required a special license to sell goods, and barred them from assembling without a white witness present.

Louisiana, Texas, Alabama, Georgia, Florida, North Carolina, Tennessee (1865–66)

Each ex-Confederate state passed its own version, combining vagrancy, contract, apprenticeship, and arms laws. Florida's vagrancy law targeted 'rogues and vagabonds.' Texas made it a crime to be without employment. The pattern was uniform: the freed person was to be controlled by law where slavery had once controlled him by ownership.

Unofficial codes — the rules no statute named

Not all of the Black Codes were written down. Alongside the statutes, Southern communities — and many Northern and Western ones — enforced unwritten rules of white supremacy. Maintained by violence, social pressure, and police rather than by law, these extralegal codes governed where Black people could walk, work, live, and look, and they outlasted the statutes they mirrored.

Mississippi

South
  • Black people were required by custom to step off the sidewalk, remove their hats, and lower their eyes when white people passed; failure to observe this 'etiquette' was punished by violence.
  • Black men were forbidden by unwritten code to look directly at a white woman, or to address a white person by their first name rather than 'Mr.' or 'Miss.'
  • In many towns Black residents were kept off the streets after dark by informal curfew, and Black travelers were warned out of town before sunset.
  • Domestic workers had to enter white homes through the back door and eat separately from the household.

Alabama

South
  • In Birmingham, Black and white people could not share parks, swimming pools, lunch counters, or cemeteries — a separation enforced by store owners and police, not only by ordinance.
  • Black bus passengers had to sit at the rear and give up seats to white riders; white drivers could refuse to stop for Black passengers.
  • Black men were expected to avert their gaze from white women; accusation of 'insolence' alone could bring lynching.
  • Domestic workers entered employers' homes through the back door and were forbidden the front porch.

Georgia

South
  • In rural counties, Black people were barred from the streets of white towns after sundown; 'don't let the sun set on you here' was enforced by sheriffs and mobs.
  • Black students were excluded from white schools by drawing district lines and by community refusal, not only by statute.
  • The all-white Democratic primary — administered by the party, not the state — kept Black voters out of the only election that counted in a one-party state.
  • Black motorists relied on the Green Book because white-owned hotels, gas stations, and rest stops would not serve them.

South Carolina

South
  • An unwritten code of deference required Black people to yield the sidewalk, hold doors, and stand for white people in public spaces.
  • Black laborers were confined by custom to farm work or domestic service; skilled trades were reserved for white workers.
  • Separate waiting rooms, ticket windows, and water fountains at train and bus stations were maintained even where no law required them.
  • Black churches were watched and their ministers pressured not to register Black voters.

Louisiana

South
  • In New Orleans, domestic workers entered white homes through back doors and side gates; the front entrance was for whites only.
  • Black and white revelers were kept apart at Mardi Gras krewes, balls, and parades by social organization rather than law.
  • Creole and Black residents were barred from 'white' beaches and pools; Lincoln Beach was built as the separate facility.
  • Restaurant and store owners posted 'Right to Refuse Service' signs to keep Black patrons out without naming race.

Texas

South
  • Sundown towns across East Texas posted signs warning Black travelers to leave before dark; some towns blew a whistle at 6 p.m. as a signal.
  • Black workers were confined to laborer and domestic roles by employer agreement; trade unions excluded them.
  • Accusations of 'insolence' toward a white person could trigger arrest, mob violence, or lynching without trial.
  • Black children were kept out of white schools by neighborhood drawing and by white parents' refusal, not only by segregation law.

Florida

South
  • North Florida towns operated as sundown towns, with Black workers required to leave before nightfall and live in separate enclaves.
  • Beaches were segregated by custom — American Beach on Amelia Island was created because Black families were barred from white shorelines.
  • Signs reading 'Negroes Not Allowed' or 'White Only' appeared at parks, pools, and businesses as private enforcement of Jim Crow.
  • Citrus grove and turpentine camp owners kept Black workers in debt and confined to company land under threat of arrest for 'vagrancy' if they left.

Tennessee

South
  • Bus and train stations kept separate waiting rooms, ticket windows, and entrances long enforced by clerks and conductors.
  • Black people were excluded from certain public parks, swimming pools, and libraries by management rather than statute.
  • Landlords and realtors enforced informal housing lines, keeping Black renters out of white blocks by refusal and by mob intimidation.
  • Black men faced lynching for perceived disrespect toward white employers or white women.

Illinois

North
  • Scores of towns across southern and central Illinois operated as sundown towns, where Black people were barred from living or being present after dark, often enforced by a whistle or sign.
  • Chicago neighborhoods used racially restrictive covenants and realtor steering to confine Black families to the South Side 'Black Belt.'
  • White mobs attacked Black families who crossed housing lines, as in the 1919 Chicago race riot that left 38 dead.
  • Building-trade unions excluded Black workers, keeping them out of skilled industrial jobs by agreement.

Indiana

North
  • Indiana had one of the highest documented counts of sundown towns in the nation; many towns enforced 'no Blacks after dark' by custom and by posted signs.
  • The Ku Klux Klan's 1920s political dominance in the state gave these unwritten rules the backing of police and courts.
  • Black travelers used the Green Book because white-owned lodging across the state refused them.
  • Swimming pools and beaches were kept white by municipal management and by violence against Black swimmers.

Oregon

West
  • Oregon entered the Union with a Black exclusion clause in its constitution and maintained a de facto sundown climate that kept the Black population among the smallest in the nation for a century.
  • Portland real-estate covenants confined Black residents to the Albina district, enforced by agents and lenders.
  • Black workers were excluded from lumber camps, shipyards, and trades by union and employer agreement.
  • Sundown-town enforcement across rural Oregon kept Black travelers moving rather than stopping.

Michigan

North
  • Dearborn operated for decades as a sundown town, with a mayor who openly pledged to keep Black residents out.
  • Detroit's 8 Mile Road became an informal color line enforced by realtors, banks, and white homeowner associations.
  • Restrictive covenants and mob violence — as against Dr. Ossian Sweet's family in 1925 — kept Black families out of white neighborhoods.
  • Black workers were excluded from auto-plant skilled trades and from building-trade unions until long court battles forced the issue.

California

West
  • Restrictive covenants across Los Angeles confined Black families to Watts and South Central, enforced by realtors and white homeowner associations.
  • Central Valley and oil-field towns operated as sundown towns, requiring Black laborers to leave before dark.
  • Public pools, beaches, and roller rinks kept Black patrons out by management policy and by violence.
  • Hollywood studios confined Black actors to servant roles by unwritten industry agreement.

The federal response

The North's outrage at the Black Codes broke the politics of Presidential Reconstruction. Congress refused to seat the ex-Confederate delegations, passed the Civil Rights Act of 1866 — the first federal law defining national citizenship and equal rights regardless of race — and sent the 14th Amendment to the states, placing citizenship and equal protection into the Constitution. It then imposed military rule across the South: the radical phase of Reconstruction that briefly protected Black political rights and the right to vote.

The legacy

The codes were the bridge between chattel slavery and the systems that followed: convict leasing, born directly from the vagrancy laws and called 'slavery by another name'; sharecropping debt peonage; and Jim Crow. The 13th Amendment's exception — 'except as a punishment for crime' — was immediately weaponized, a loophole whose echo runs through present-day mass incarceration.

Legacy Unbound

History told in full — without prejudice, without erasure. Built to give learners of every race and culture the complete picture of African American history and its central place in the shared story of the United States.

A note on the work

The accounts here reflect historical scholarship. Slavery's role in building this nation is not a matter of opinion but of record.

© 2026 Legacy Unbound · An educational projectTrademark Pending

Listen to this page