New Orleans had a racial history unlike the rest of the South, and it is that difference, later erased by force, that explains jazz. Founded by the French in 1718, handed over to Spain in 1763, and sold to the United States in 1803, the city already counted enslaved Africans as about 30% of its population in 1721. The Code Noir, registered in New Orleans in 1724, banned work by enslaved people on Sundays and regulated how they could be freed. That gave rise to two things: the Sunday dances in Congo Square and a middle caste, the free Creoles of color, who went to school, had trades and property, and grew up with European instruments and sheet music.
Abolition in 1865 freed the enslaved but gave them no protection. The Black Codes of 1865 and 1866 created vagrancy laws and convict leasing, slavery by another name. Reconstruction ended with the Compromise of 1877, and many historians date the start of the Jim Crow era from there. In that vacuum, the Black mutual aid societies became the community's safety net: they paid for the doctor and the burial and hired brass bands for funerals and parades. Without meaning to, they were jazz's first job market.
The 1890s closed the trap. Louisiana's Separate Car Act (1890) segregated railroad cars; the Plessy case, brought by a New Orleans Creole, reached the Supreme Court, which in 1896 declared "separate but equal" legal. Between 1890 and 1908 the Southern states took the vote away from Black citizens with literacy tests and poll taxes. It was also the peak decade for lynchings: 1892 recorded 231, the deadliest year. For the Creoles of color, the new laws meant losing their middle status and being pushed into the same neighborhoods and the same bands as the Black uptown musicians. The National Park Service points to this forced meeting, between Creole music reading and playing by ear, as the spark of the new style.
The economy of the night completed the picture. In 1897 the city created Storyville, a legal prostitution district where brothels, saloons, and dance halls employed pianists and small bands, almost always with white and Black musicians kept apart. The Streckfus Line steamboats, which traveled up the Mississippi with bands on board, carried that sound to St. Louis and Davenport. And the war of 1917 closed the chapter: military pressure shut down Storyville, and the demand from factories in the North began pulling Black workers out of the South, in the Great Migration. Musicians had been leaving since 1907. Jazz left New Orleans for the same reason so many people left the South: to find work and escape the law of Jim Crow.
Slavery and the Code Noir
The French colonial code (1724) required a Sunday day of rest, and enslaved people used the day to dance the bamboula and the calinda in Congo Square. This is the African rhythmic root of jazz, preserved in one specific place at one specific time.
Jim Crow and Plessy v. Ferguson (1896)
The case that made "separate but equal" legal began on a train leaving New Orleans. The laws of the 1890s demoted the Creoles of color and forced together two musical traditions that had not mixed before.
World War I and the end of Storyville (1917)
The Navy applied pressure, and the district closed on November 12, 1917. Musicians had been leaving since 1907, but the closing sped up the move to Chicago. That same year, James Reese Europe's 369th Regiment band took ragtime and jazz to France.