Farmer Giles of Ham is a comic Medieval fable written by J. R. R. Tolkien in 1937 and published in 1949. The story describes the encounters between Farmer Giles and a wily dragon named Chrysophylax, and how Giles manages to use these to rise from humble beginnings to rival the king of the land. It is set in Britain in an imaginary period of the Dark Ages, and features mythical creatures, medieval knights, and primitive firearms. It is only tangentially connected with the author's Middle-earth legendarium: both were originally intended as essays in "English mythology".
The book was originally illustrated by Pauline Baynes. The story has appeared with other works by Tolkien in omnibus editions, including The Tolkien Reader and Tales from the Perilous Realm.