Yoshiwara (吉原) was a famous yūkaku (遊廓、遊郭?, pleasure district, red-light district) in Edo, present-day Tōkyō, Japan.
In the early 17th century, there was widespread male and female prostitution throughout the cities of Kyoto, Edo, and Osaka. To counter this, an order of Tokugawa Hidetada of the Tokugawa shogunate restricted prostitution to designated city districts. These districts were Shimabara for Kyōto (1640), Shinmachi for Ōsaka (1624–1644) and Yoshiwara for Edo (1617). A leading motive for the establishment of these districts was the Tokugawa shogunate attempt to prevent the nouveau riche chōnin (townsmen) from engaging in political intrigue.
The Yoshiwara was created in the city of Edo, near what is today known as Nihonbashi, near the start of the busy Tōkaidō that leads to western Kyoto in western Japan. In 1656, due to the need for space as the city grew, the government decided to relocate Yoshiwara and plans were made to move the district to its present location north of Asakusa on the outskirts of the city.
The old Yoshiwara district burned down (along with much of the city) in the Meireki fire of 1657; it was rebuilt in the new location, when it was renamed Shin Yoshiwara (New Yoshiwara), the old location being called Moto Yoshiwara (Original Yoshiwara); eventually the "Shin" was dropped, and the new district became known simply as the Yoshiwara.
The Yoshiwara was home to some 1,750 women in the 18th century, with records of some 3,000 women from all over Japan at one time. The area had over 9,000 women in 1893, many of whom suffered from syphilis. These girls were often indentured to the brothels by their parents between the ages of about seven to twelve. If she was lucky, she would become an apprentice to a high-ranking courtesan. When the girl was old enough and had completed her training, she would become a courtesan herself and work her way up the ranks. The young women often had a contract to the brothel for only about five to ten years, but massive debt sometimes kept them in the brothels their entire lives.