Handkerchief code
Summary
The handkerchief code, also known as the hanky code or flagging, is a color-coded system used primarily in gay male communities to indicate sexual preferences and interests. Wearing a colored handkerchief in a specific back pocket signals particular sexual roles or fetish interests to others familiar with the code.
Detailed Explanation
The handkerchief code is a visual communication system in which colored bandanas or handkerchiefs worn in specific locations on the body indicate the wearer's sexual preferences, fetish interests, and desired role (top or bottom). Traditionally, wearing a handkerchief in the left back pocket indicates a top or dominant preference, while the right back pocket indicates a bottom or submissive preference.
The code encompasses a wide range of colors, each corresponding to different sexual interests or activities. Some of the most widely recognized associations include dark blue for anal sex, red for fisting, black for heavy BDSM, gray for bondage, yellow for watersports, and light blue for oral sex. Additional colors cover a comprehensive range of interests from specific fetishes to relationship preferences.
The system served a critical practical purpose in eras when open discussion of sexual preferences was socially or legally dangerous. The handkerchief code allowed gay men to identify potential compatible partners quickly and discreetly in bars, clubs, and cruising areas without verbal communication that might expose them to hostility or legal consequences.
Beyond its functional role, the handkerchief code became an important cultural symbol within the LGBTQ+ community, representing subcultural identity, sexual liberation, and community solidarity. The code created a shared language that reinforced community bonds and affirmed the legitimacy of diverse sexual expressions.
In contemporary practice, the handkerchief code has declined in everyday usage as greater social acceptance and digital communication tools like dating apps have made verbal and written disclosure of preferences more feasible. However, the code persists in some leather and fetish communities, at leather events, and in cultural references. Some practitioners continue to use it as a nod to community history and tradition, and it occasionally experiences revivals among younger community members interested in LGBTQ+ heritage.
Origins & History
The handkerchief code is believed to have originated in San Francisco in the early 1970s, though similar signaling systems existed informally before that. One origin story attributes the code to a 1970 article in the Village Voice that jokingly suggested gay men use colored handkerchiefs instead of the traditional key placement to signal preferences. Whether or not this specific origin is accurate, the system rapidly spread through gay communities in major American cities.
The code flourished during the 1970s and 1980s as part of the broader leather and gay liberation cultures. It became particularly associated with the leather community, where it served as an integral part of the social and sexual landscape. Larry Townsend's 'The Leatherman's Handbook' and other publications helped codify and disseminate the system.
The AIDS crisis of the 1980s and subsequent changes in gay culture affected the code's usage, though it never entirely disappeared. Today, the handkerchief code is recognized as an important piece of LGBTQ+ cultural history and continues to hold symbolic significance within leather and fetish communities.
Content Advisory
This wiki contains educational content about human sexuality. All information is presented in a neutral, educational manner.