In corrections circles, it is well known that gay men and trans women are at extremely high risk of sexual victimization behind bars. This article draws on original research conducted in the Los Angeles County Jail’s K6g unit, where gay male and transgender prisoners are housed separately from the Jail’s general population for their own protection. It describes the mechanics of K6g’s operation, including the process by which gay men are identified for placement in the unit. Along the way, it addresses a number of objections to the unit, including the view that such segregation is “demoralizing and dangerous” and the charge, often raised by custody officers in the Jail, that K6gs “have it too good.” The racial history of the United States has meant that any program of state-sponsored segregation will be regarded with suspicion. This article argues that in the carceral context, identity-based segregation of the sort practiced in K6g is the lesser evil, and that prison administrators committed to keeping vulnerable prisoners safe should seriously consider adopting a program like K6g. This rough-and-ready classification system is not without dangers; most notably, it is woefully underinclusive. Ideally, all facilities would adopt the more finely-grained classification system recommended by the National Prison Rape Elimination Commission. But the realities of mass incarceration in the United States today mean that many prisons and jails will simply be too overcrowded and understaffed to fully comply with that approach. A segregationist approach like K6g’s is thus very much a policy for a non-ideal world, a second-best solution that aims merely to mitigate some of the most obvious abuses of a carceral system in which some prisoners, by virtue of their sexual orientation or gender self-presentation, routinely endure the worst forms of suffering and abuse.