Ben Stiller as Larry Daley Amy Adams as Amelia Earhart Owen Wilson as Jedediah Smith Hank Azaria as Kahmunrah / The Thinker / Abe Lincoln Robin Williams as Teddy Roosevelt Christopher Guest as Ivan the Terrible Alain Chabat as Napoleon Bonaparte Steve Coogan as Octavius Ricky Gervais as Dr. McPhee Bill Hader as General George Armstrong Custer Jon Bernthal as Al Capone Patrick Gallagher as Attila the Hun Jake Cherry as Nicky Daley Rami Malek as Ahkmenrah Mizuo Peck as Sacajawea