Anti-literacy law is legislation outlawing the teaching of literacy to a group or groups of people.
In the United States 
Anti-literacy law was in force in many slave states before and during the American Civil War regarding slaves, freedmen, and in some cases all people of color. These largely came into force following Nat Turner's slave rebellion.
- "Illegal to Teach Slaves to Read and Write". Harper's Weekly. June 21, 1862.