Author Will Ferguson has scored a humour-writing hat trick, earning his third Stephen Leacock Medal for Humour.

The Calgary-based writer won the annual literary prize Thrusday for his book Beyond Belfast: A 560-Mile Walk Across Northern Ireland on Sore Feet, which details his exploration of the land of his ancestors and hike along Ulster Way, a 900-kilometre path in Northern Ireland.

Ferguson previously won the Leacock in 2002 for his book Generica and again in 2005 for Beauty Tips from Moose Jaw.

He will receive the award at the annual Leacock dinner in Orillia on June 12.

First awarded in 1947, the Stephen Leacock Medal was established in memory of the Sunshine Sketches of a Little Town author and to celebrate humour writing in Canada. It carries a cash prize of $15,000, which is awarded at a celebration in Orillia, Leacock's hometown.

Ferguson is the fourth writer to win three Leacock Medals, after Eric Nicol, Stuart McLean and Arthur Black. Other past Leacock winners have included Pierre Berton, Mordecai Richler, Paul Quarrington and Gary Lautens.

This year's remaining finalists — The Curse of the Labrador Duck by Glen Chilton, Snow Job by William Deverell, Corked by Kathryn  Borel and The Rock in the Water by Bill Conall — will each receive $1,500.