Allorecognition in Hydractinia, a cnidarian, is governed by two different, highly polymorphic genes encoding transmembrane proteins. Using a fluorescent cell read-out system, a new study now shows that the basis for specificity involves homophilic interactions between extracellular domains.