The origin of the name Termagant is unknown, and does not seem to derive from any actual aspect of Muslim belief or practice, however wildly distorted. W. W. Skeat in the 19th century, speculated that the name was originally "Trivagante", meaning 'thrice wandering', a reference to the moon, because of the Islamic use of crescent moon imagery.
In the Chanson de Roland, the Muslims, having lost the battle of Roncesvalles, desecrate their "pagan idols" (lines 2589 - 2590):
In the Sowdone of Babylone, the sultan makes a vow to Termagaunte rather than Mahound (Muhammad) (Lines 135-140):
In Geoffrey Chaucer's Canterbury Tales, the Tale of Sir Thopas (supposed to be told by Chaucer himself on the pilgrimage) is a parody of these chivalric romances. In the tale, a giant knight named "Sir Oliphaunt" is made to swear an oath by Termagant.
Termagant also became a stock character in a number of medieval mystery plays. On the stage, Termagant was usually depicted as a turbanned creature who wore a long, Eastern style gown. As a stage-villain, he would rant at and threaten the lesser villains who were his servants and worshippers.
Mainly because of Termagant's depiction in long gowns, given that female roles were routinely played by male actors in Shakespearean times, English audiences got the mistaken notion that the character was female, or at least that he resembled a mannish woman. As a result, the name termagant came increasingly applied to a woman with a quarrelsome, scolding quality, and thus the name applies today to a quarrelsome, scolding woman. Virago and shrew are also pejorative names for other types of unpleasant, aggressive woman. Nevertheless, the term is still sometimes used of men. The Australian politician Kim Beazley labelled a male opponent a termagant.