"Tam o' Shanter" is a narrative poem written by the Scottish poet Robert Burns in 1790. First published in 1791, it is one of Burns's longer poems, and employs a mixture of Scots and English.
The poem describes the habits of Tam, a farmer who often gets drunk with his friends in a public house in the Scottish town of Ayr, and his thoughtless ways, specifically towards his wife, who is waiting at home for him, angry. After one such revel, late night after a market day, Tam rides home on his horse Meg while a storm is brewing.