An oni is a horned ogre from Japanese folklore, one of a whole race of them, usually male, with tusks and an iron club. A hannya is one particular Noh theater mask: a woman turned demon by jealousy. A tengu is a red-faced spirit of the mountains with a long nose or a bird's beak, and it has no horns at all.

The quick way to tell them apart
Start with the middle of the face. Horns plus a fanged mouth means oni or hannya. A huge nose and no horns means tengu. Then look at the eyes: a hannya's brow is pulled up in grief, an oni's just glares.
- Oni: one, two or more horns, a broad flat nose, tusks, often red or blue skin. From folk tales and festivals.
- Hannya: two sharp horns, a mouth split ear to ear, a grieving brow, often loose strands of a woman's hair. From Noh theater.
- Tengu: no horns, a long nose or a crow's beak, a red face, sometimes a small black cap. From mountain lore.
What is an oni?
The character 鬼 (oni) covers the ogres of Japanese folklore: big, strong, often cruel, with horns, tusks and a loincloth of tiger skin. They carry a kanabō, a heavy club shod or studded with iron. One common explanation for the look ties it to the northeast, the direction called ushitora, ox and tiger, long held to be the way through which bad things enter, hence the ox horns and the tiger pelt.
Oni turn up all through the old stories. Shuten-dōji, the oni chief of Mount Ōe, was beheaded by the warrior Minamoto no Raikō and his band. Momotarō, the peach boy, sails to Onigashima, the island of oni, with a dog, a monkey and a pheasant. And every February at Setsubun, families throw roasted soybeans at someone wearing an oni mask, shouting "Oni wa soto, fuku wa uchi," out with the demons, in with good luck.
Oni masks are still made for Setsubun and for local festivals, so they tend to be broad, bold and readable from across a room. The Oni Jaw Mask covers only the lower half, nose to chin, in glossy red and black with two big gold tusks. The Night Oni Mask is the same idea in matte black, with dark red tusks over black mesh so the mouth looks open but stays dark.
What is the difference between an oni and a hannya?
Think of an oni as a kind of creature and a hannya as a role. The hannya mask belongs to Noh, the masked drama that took its classic form around 1400, and it is worn for women such as Lady Rokujō in Aoi no Ue, whose jealousy has turned them into demons. She has horns, so she gets called a female oni, but her face is built for sorrow as well as fury, which an oni's never is.
That double face is the giveaway. Tilt a hannya down and she seems to weep; tilt her up and the face brightens into a grin; seen straight on she is furious. The full story, from the plays to what the white, red and dark masks signify, is in what a hannya mask means. For a hannya where the shape does all the work, the Shadow Hannya Mask is matte black, with ridged horns, pointed ears and bared fangs.
What does a tengu mask mean?
The name 天狗 (tengu) is written with the characters for heavenly dog, borrowed from a Chinese omen creature, but the Japanese tengu has nothing of the dog about it. It lives in the mountains. The oldest pictures give it a crow's beak and wings, the karasu-tengu; the later, better known type has a red human face and a very long nose, and dresses like a yamabushi, one of the mountain ascetics, with a small black cap and a fan of feathers.

Tengu were troublemakers first. Medieval tales have them leading monks into pride and travelers off the path, and in the Edo period a child who vanished was said to be tengu-kakushi, hidden by a tengu. Over time they turned into mountain guardians. The great tengu Sōjōbō of Mount Kurama, north of Kyoto, appears in legend as the teacher who gave swordsmanship to the boy Ushiwakamaru, who grew up to be the general Minamoto no Yoshitsune.
The nose carries the meaning that stuck. In Japanese, to become a tengu, tengu ni naru, means to get full of yourself. The Mountain Tengu Mask makes the most of it: a long straight nose rounded at the tip, set in a red face with black brows sweeping up over gold eyes.
Questions people ask
Is a hannya an oni?
Not quite. Oni are a whole race of ogres from folklore, mostly male. The hannya is a single Noh mask for a woman who became a demon through jealousy. She has horns like an oni, and people often call her a female oni, but the stage treats her as her own character.
Are tengu good or evil?
Both, depending on the period and the story. Early tales cast them as troublemakers who tempted proud monks and led travelers astray. Later they became guardians of particular mountains, honored at temples and shrines there, and teachers of martial skill to the few they favored.
Why are oni red and blue?
Red and blue are simply the two most common colors in Japanese pictures of oni, and at Setsubun the pair turns up again and again. Other colors exist, including yellow, green and black, but a red oni and a blue oni are the classic set.
All three faces hang side by side in the Japanese demon masks, so the horns, the grieving brow and the long nose are easy to compare in one place.