Brownings the Bakers, based in Kilmarnock, East Ayrshire, claimed the title after a panel of tasters sampled more than 500 pies in the annual competition.
Nearly 100 butchers and bakers entered in the hope of winning the coveted title presented by television personality Carol Smillie.
Judges in the Scottish Bakers-organised event - which has been running for 18 years - included former Celtic footballer Simon Donnelly and Partick Thistle general manager Ian Maxwell.
John Gall, of Brownings, said: "We won, I am almost speechless.
"To have been given the ultimate accolade today and to be able to call our pie the world champion as judged by a panel of experts is just excellent.
"This award is proof of what I have known for a long time - that the Brownings team is the best in the land.
"I am really looking forward to the year ahead and to selling more of our champion pies than ever."
Ms Smillie said: "I had a feeling John would be over the moon but even I couldn't have prepared myself for the sheer elation.
"He knows what this win will mean for his business and I really do congratulate him and everyone at Brownings for taking the title."
Alan Clarke, of Scottish Bakers, said: "Once again we have brought together the best pies and baked goods in the land, and today we can really celebrate the achievement of our hard-working butchers and bakers.
"My heartfelt congratulations go to our winner, and indeed everyone today taking away a prize, they are all winners in my book."