The Captain of the Duloc Guards is first seen in a forest with other guards putting various fairy tale creatures in wagons and rewarding the villagers for turning them in. He awards five shillings to Geppetto for handing in Pinocchio to the guards, and he offers ten shillings to the Old Woman if she can prove Donkey can talk. When Donkey refuses to speak, the Captain believes the woman is lying and orders the guards to take her away. As she is dragged off she accidentally kicks a cage containing Tinkerbell. Tinkerbell's cage falls and breaks on Donkey, and her fairy dust allows him to fly and escape while shouting "I can fly". Upon learning he really can talk, the Captain and his men chase Donkey into the forest until he runs into Shrek. The Captain orders his men to arrest the both of them, but they are all scared off by Shrek.
Later, in the Duloc Castle, the Captain arrives and tells Lord Farquaad that they have found the Magic Mirror. When the Magic Mirror presents three "eligible bachelorettes" whom Farquaad can marry, the Captain suggests him to choose number two (Snow White). Farquaad ends up selecting Princess Fiona and orders the Captain to gather his "finest men" for a tournament to determine who he will send to rescue Fiona from the Dragon's Keep. The Captain is not seen again, leaving his fate unknown.
- Pinocchio: I'm not a puppet. I'm a real boy!
- Captain of the Guards: Five shillings for the possessed toy. Take it away.
- Donkey: Hey, I can fly!
- Peter Pan: He can fly!
- Pigs: He can fly!
- Captain of the Guards: He can talk!
- The Captain of the Guards is voiced by Jim Cummings.
- His real name is not known.
- On a Top Trumps trading card, the Captain of the Guard is referred to as "Tax Collector".