The fire at the Palethorpes food factory in Market Drayton was reported at 6.30pm on Wednesday, with flames billowing from a commercial oven.
Fire crews were sent from Market Drayton and from Loggerheads in Staffordshire.
A statement from the Market Drayton firefighters said: "On arrival at the scene the crew were met with smoke and flames issuing from a commercial oven inside a large factory.
"Four firefighters wearing breathing apparatus were committed into the building to extinguish the fire, using an extended hose reel jet and one covering jet.
"The main seat of fire was extinguished within approximately 20 minutes, with crews remaining at the scene for approximately another hour and a half, damping down and removing burnt product.
"We are pleased to report that there were no injuries at this incident. Damage from the fire was confined to the burnt product and oven."
Palethorpes, owned by the Addo Food Group, produces chilled pastries including pork pies and sausage rolls for supermarkets.
A spokesperson for Addo Food Group said: “We can confirm that Shropshire Fire and Rescue Service attended an oven fire that broke out in our Palethorpes bakery yesterday evening.
"The full factory was evacuated quickly and safely. This fire resulted in no lasting damage to our facility or equipment.”
INCIDENT📟 Mobilised at 18:32 on Wednesday with pump from #Loggerheads @StaffsFire and an operations officer 🚒 To commercial property fire in #MarketDrayton 🔥 Fire involving commercial oven in factory, 4 BA 👩🏻🚒👨🏻🚒 1 extended HRJ💦 1 covering jet💦 Thankfully no injuries 👍🏻 pic.twitter.com/98Co7krOFn— Market Drayton (@SFRS_MDrayton) July 16, 2020