A leprechaun is a type of fairy in Irish folklore, usually taking the form of an old man, clad in a red or green coat, who enjoys partaking in mischief. Like other fairy creatures, leprechauns have been linked to the Tuatha Dé Danann of Irish mythology. The Leprechauns spend all their time busily making shoes, and store away all their coins in a hidden pot of gold at the end of the rainbow. If ever captured by a human, the Leprechaun has the magical power to grant three wishes in exchange for their release. Popular depiction shows the Leprechaun as being no taller than a small child, with a beard and hat.
The earliest known reference to the leprechaun appears in the medieval tale known as the Echtra Fergus mac Léti (English: Adventure of Fergus son of Léti). The text contains an episode in which Fergus mac Léti, King of Ulster, falls asleep on the beach and wakes to find himself being dragged into the sea by three lúchorpáin. He captures his abductors, who grant him three wishes in exchange for release.
The leprechaun is said to be a solitary creature, whose principal occupation is making and mending shoes, and who enjoys practical jokes.
The leprechaun originally had a different appearance depending on where in Ireland he was found. Prior to the 20th century, it was generally held that the leprechaun wore red, not green.
In a poem entitled The Lepracaun; or, Fairy Shoemaker, 18th century Irish poet William Allingham describes the appearance of the leprechaun as:
...A wrinkled, wizen'd, and bearded Elf, Spectacles stuck on his pointed nose, Silver buckles to his hose, Leather apron — shoe in his lap...
The modern image of the leprechaun sitting on a toadstool, red beard, green hat, etc., are clearly inventions or borrowed from European folklore.