A Sub-Trope of Wretched Hive, an Outlaw Town is a town (or other settlement) run specifically for the benefit of criminals on the run. It gives them a place to lay low till the heat is off, and spend or store their ill-gotten gains.
Typically the people running the town will demand a portion of the criminal's loot in return for offering safe haven. Paradoxically, these settlements are often not lawless, as the people running the town will crack down hard on behaviour that might attract the attention of outside authorities.
An Outlaw Town differs from a normal city with high levels of corruption in that the Outlaw Town is entirely run by criminals and all of its inhabitants are criminals. Unlike a corrupt city, there will be no honest citizens sick of the corruption, no honest cops battling the system. Any inhabitants who are not on the run themselves will be knowingly providing services and shelter to wanted criminals (which makes them criminals themselves) and any 'law' that exists will be the personal enforcers of the town's boss. Also Outlaw Towns will often not 'officially' exist on any map; being located in remote locales and their existence known only to the underworld.
- An outlaw town named Hell featured in two of J. T. Edson's western novels: Hell in the Palo Duro and Go Back to Hell.
- A settlement dedicated to smuggling criminals and illicit goods in and out of the country features in the Doc Savage novel The Mountain Monster.
- Lagrimas Negras in the Young Bond novel Hurricane Gold.
- The Undertaker encounters an Outlaw Town in Canyon of Death, the third book of The Western series The Undertaker by George G. Gilman.
- A subversion in the Honor Harrington books: Erewhon is a planet founded by an alliance of Mafia families hoping to set up shop outside the reach of any existing law enforcement agency. Over the centuries, they evolved into a planet that was still run by those families, and still carried with it many of the old traditions, but which also had some of the strictest law enforcement in the galaxy.
- Dashiell Hammett liked this trope, using it in the short story "Nightmare Town" and later expanding it into Red Harvest.
- Jackson's Whole in the Vorkosigan Saga was initially a hijacker's base and along the way became "governed" by a loose connection of crime families specializing in specific crimes (sex slavery, arms dealing, etc.). It is ultra-capitalist and has no real laws to speak of- a handshake is as good as a contract, and you are as good as dead if you aren't under the protection of one of its crime families.
- Bab-el-Shaitan ("the Gate of the Devil") in the Robert E. Howard story "The Blood of Belshazzar".
- Several of Andre Norton's space adventures mentioned a Thieves' Guild base known as Waystar. Eventually, one book revealed it to be a Space Station dating from before humans had star travel—and with a tightly-packed cluster of derelict ships put in place as an outer wall or camouflage, separate from the station itself.
- Roy and Pat pose as outlaws to infiltrate an outlaw town in The Roy Rogers Show episode "Outlaw's Town.
- The Lone Ranger faces one in "Outlaw Town".
- Star Trek: The Original Series had a Planet of Hats that purposefully based their culture on the Prohibition Era Chicago Mob.
- The town of Twin Butte, in The Cisco Kid episode “Haven for Heavies”, was run by a sheriff that granted immunity to outlaws that settled there.
- Lawenilothehl in the roguelike Ancient Domains of Mystery is a town run by outlaws. Everyone in there is a bandit of some form.
- In Dragon Quest VIII the town of Pickem is run and mostly inhabited by thieves and bandits.
- Fable I has Twinblade's Camp. Fable II has Bloodstone. Fable III has the Mercenary Camp. (The camps may or may not count, depending—they play and operate just like the towns in the rest of the game, but no one ever refers to them as towns. Bloodstone is a straight example, however.)
- The Den in Fallout 2.
- The space station of Omega in Mass Effect 2.
- Pokémon Colosseum has Pyrite Town.
- Red Dead Redemption has Thieves' Landing, a bayou town with no law enforcement at all.
- Sly 3: Band of Thieves has Blood Bath Bay, a town inhabited by the most stereotypical, anachronistic pirates you could imagine...and they're also Petting Zoo People.
- StarCraft II features Deadman's Rock, an entire outlaw planet.
- Evolution Worlds: Pine Village, Carcano's hideout, is just a big town over the water fully inhabited by thieves.