A rat king is a term for a number of rats whose tails are intertwined and bound together by one of several possible mechanisms, such as entangling material like hair or sticky substances like sap or gum. The number of rats joined together varies from a few to as many as 30. Historically, the phenomenon is particularly associated with Germany, which produced many reported instances. Rat kings occur so rarely that they have sometimes been thought to be cryptids, but there are several well-attested modern occurrences. A similar phenomenon happens with other small rodents such as forest mice and squirrels.
In folklore, rat kings are associated with various superstitions and were often seen as a bad omen, particularly associated with plagues.
The original German term, Rattenkönig, was calqued into English as rat king, and into French as roi des rats. The term was not originally used in reference to actual rats, but for persons who lived off others. Konrad Gesner in Historia animalium (1551–58) stated: "Some would have it that the rat waxes mighty in its old age and is fed by its young: this is called the rat king." Martin Luther stated: "finally, there is the Pope, the king of rats right at the top." Later, the term referred to a king sitting on a throne of knotted tails.
An alternative theory states that the name in French was rouet de rats (or a spinning wheel of rats, the knotted tails being wheel spokes), with the term transforming over time into roi de rats.
The earliest report of rat kings comes from 1564. The phenomenon may have diminished when the brown rat (Rattus norvegicus) displaced the black rat (R. rattus) in the 18th century. Most extant examples are formed from black rats.
The only find involving sawah rats (R. rattus brevicaudatus) occurred on March 23, 1918, in Bogor on Java, where a rat king of ten young field rats was found. Similar attachments have been reported in other species: in April 1929, a group of young forest mice (Apodemus sylvaticus) was reported in Holstein, Germany; and in June 2013 a "squirrel king" of six living squirrels stuck together with pine sap was found in Regina, Saskatchewan, and the animals were separated by veterinarians.