When King Harold suddenly croaks, Shrek (Mike Myers) learns he will have to rule the land of Far, Far Away, unless he can find a suitable heir to the throne. The most-promising candidate is Princess Fiona's (Cameron Diaz) cousin Artie (Justin Timberlake), a teenage slacker in a medieval high-school. Shrek and his trusted companions, Donkey (Eddie Murphy) and Puss in Boots (Antonio Banderas), set out to bring Artie back but find their mission is a bigger challenge than they expected.