The Barbary Coast was a red-light district during the second half of the 19th and early 20th centuries in San Francisco which featured dance halls, concert saloons, bars, jazz clubs, variety shows, and brothels. Another popular source of entertainment in the Barbary Coast were female impersonators. Its nine block area was centered on a three block stretch of Pacific Street, now Pacific Avenue, between Montgomery and Stockton Streets. Pacific Street was the first street to cut through the hills of San Francisco, starting near Portsmouth Square and continuing east to the first shipping docks at Buena Vista Cove. The entertainment available in this district catered to single men and there was a substantial presence of homosexual prostitution, performances that featured cross-dressing and other forms of gender-trasngressive behavior.
The Barbary Coast was born during the California Gold Rush of 1849, when the population of San Francisco was growing at an exponential rate due to the rapid influx of tens of thousands of miners trying to find gold. The early decades of the Barbary Coast would be marred by persistent lawlessness, gambling, administrative graft, vigilante justice, and prostitution; however with the passage of time the city's government would gain strength and competence, and the Barbary Coast's maturing entertainment scene of dance halls and jazz clubs would influence American culture. The Barbary Coast's century-long evolution would pass through many substantial reincarnations due to the city's rapid cultural development during the transition to the 20th century. Its former location is now overlapped by Chinatown, North Beach, and Jackson Square.
San Francisco's Barbary Coast arose from the massive infusion of treasure hunters, called 49-ers, seeking their fortunes by panning for gold as they searched for a potential gold mine.
Before the Gold Rush of 1849 there were only a few hundred people living in tents and wooden shanties within San Francisco. However, after the gold rush the population of San Francisco would increase fifty-fold in just two years—from 492 in 1847 to over 25,000 in 1849. That quick and extreme growth combined with a lack of strong and robust government would create many opportunities for criminals, corrupt politicians, and brothel owners. For many decades murderers and robbers could commit their crimes without punishment, sometimes boldly in public view. As a result, the Barbary Coast became a wild area representative of the Old West, and had many problems with political corruption, gambling, crime, and violence.