James Hogg (1770 – 21 November 1835) was a Scottish poet, novelist and essayist who wrote in both Scots and English. 

As a young man he worked as a shepherd and farmhand, and was largely self-educated through reading. He was a friend of many of the great writers of his day, including Sir Walter Scott, of whom he later wrote an unauthorised biography. He became widely known as the "Ettrick Shepherd", a nickname under which some of his works were published, and the character name he was given in the widely read series Noctes Ambrosianae, published in Blackwood's Magazine. He is best known today for his novel The Private Memoirs and Confessions of a Justified Sinner. His other works include the long poem The Queen's Wake (1813), his collection of songs Jacobite Relics (1819), and his two novels The Three Perils of Man (1822), and The Three Perils of Woman (1823).


Novels

The Brownie of Bodsbeck (1817) (novel)

The Surpassing Adventures of Allan Gordon (1818) (novella)

Winter Evening Tales (1820) (short stories, novellas)

The Three Perils of Man (1822) (novel)

The Three Perils of Woman (1823) (novel)

The Private Memoirs and Confessions of a Justified Sinner (1824) (novel)

The Brownie of the Black Haggs (1828) (short story/tale)

Altrive Tales (1832) (short stories)

Tales of the Wars of Montrose (1835) (short stories)

Tales and Sketches of the Ettrick Shepherd (1837)

Poetry

Scottish Pastorals (1801)

The Mountain Bard (1807)

The Forest Minstrel (1810)

The Queen's Wake (1813)

The Pilgrims of the Sun (1815)

Mador of the Moor (1816)

Queen Hynde (1824)

Winter Evening Tales (1820) - This book also contains short stories and novellas

A Queer Book (1832)

Non-fiction

The Shepherd's Guide (1807) (treatise on sheep)

The Spy (1810–11) (weekly periodical)

The Shepherd's Calendar (1829) (collected essays)

Familiar Anecdotes of Sir Walter Scott (1834) (memoir)

A Series of Lay Sermons (1834) (moral and religious discourses)

Songs

Jacobite Relics (1819) (collection of Jacobite protest songs)

Songs, by The Ettrick Shepherd (1831) (songs)