| Year,Title,Role,Notes | |
| 2007,St Trinian's,Flash Harry,- | |
| 2008,Penelope,Sam,- | |
| 2008,Forgetting Sarah Marshall,Aldous Snow,- | |
| 2008,Bedtime Stories,Mickey,- | |
| 2010,Get Him to the Greek,Aldous Snow,- | |
| 2010,Despicable Me,Dr. Nefario,Voice | |
| 2010,The Tempest,Trinculo,- | |
| 2011,Hop,"E.B./""Hoff Knows Talent"" Production Assistant",Voice/Live-action | |
| 2011,Arthur,Arthur Bach,- | |
| 2012,Rock of Ages,Lonny Barnett,- | |
| 2012,Katy Perry: Part of Me,Himself,Cameo Uncredited | |
| 2013,Despicable Me 2,Dr. Nefario,Voice | |
| 2013,Paradise,William,- | |
| 2014,A Royal Hangover,Himself,- | |
| 2015,The Emperor's New Clothes,Himself,- | |
| 2016,Army of One,God,- | |
| 2016,Trolls,Creek,Voice | |
| TBA,Four Kids and It,Tristan,- | |