are friends of Shrek and the others. In the original book and in the film, they are among the many fairytale creatures to be banished into Shrek's swamp by Lord Farquaad. One of the pigs stated that Lord Farquaad "huffed and puffed and signed an eviction notice." They all have German accents. They appear in all the Shrek films.
By Shrek 2, the pigs have become best friends with Shrek. At the start of the film, they help look after Shrek's and Fiona's house while they visit Far Far Away. Later, they see Shrek, Donkey and Puss in Boots arrested by local police officers in Far Far Away, and free them, heading to the castle to stop Prince Charming. They thwart the Fairy Godmother's scheme and then celebrate. They sing a song with Big Bad Wolf in Far Far Away Idol.
The pigs are less prominent in the third film. They appear at the start of the film, where Prince Charming has a new job as an actor in a dinner theatre. Along with the rest of the crowd, they jeer him, causing Charming to leave the stage. They later appear in the castle pretending to have tea with the others while Shrek, Donkey and Puss in Boots are finding Artie, the apparent heir to the throne, and Fiona, Queen Meriam and the princesses escape via a secret passage. Prince Charming storms in and demands Shrek's location. Under pressure when Pinocchio starts talking around in circles, one of the pigs reveals Shrek's plan and ends up locked up somewhere secret. The pigs are later freed and head to the castle to stop Prince Charming from killing Shrek in his show.
The Three Little Pigs play a small part in Shrek Forever After, when they appear at the ogre triplet's birthday party. Later, in the alternate universe, they appear as attendants to Fifi in Rumpelstiltskin's castle.
In Scared Shrekless, they appear after Gingy's story, running quickly and yelling "weeweeweewee...", upon which the Wolf comments "They're gonna do that all the way home."
In Shrek the Halls it was reveled that the pigs names are Julius, Kaní, and Zak. In Shrek 4-D the pigs are called Ham, Sausage, and Bacon, but in other versions their names are Hay, Sticks, and Bricks. In the end credits for The Pig Who Cried Werewolf, their names are Heimlich, Dieter, and Horst. In this film, they are voiced by Sean Bishop, not Cody Cameron, who voices "Horst". Aron Warner still voices Wolf.
In Shrek The Musical, they have had enough of Lord Farquaad and his discrimination towards fairy tale creatures and join the rest of the fairy tale rebels in this story mainly appearing in "Story of my Life," "Freak Flag," "I'm a Believer," "This is Our Story," and any other numbers with the fairy tale creatures.