Rebel Wilson has joined the cast of the Ben Stiller comedy Night at the Museum 3.

The Pitch Perfect star will play a night guard working at the British Museum, which will be the focus of the film, according to Deadline.

Shawn Levy is directing the third instalment of the comedy series, which will feature an all-star cast including Robin Williams, Ricky Gervais, Steve Coogan, Owen Wilson and Dan Stevens.

The original Night at the Museum was set in New York City's American Museum of Natural History, while the sequel, Battle of the Smithsonian, took place in the Smithsonian Institute in Washington DC.

Wilson most recently starred in Michael Bay's Pain & Gain is currently starring in ABC's Super Fun Night show.

Night at the Museum 3 will be released in Christmas 2014.