He debuted in an episode of 7th Heaven and was cast as a main character for the ninth and final season of Scrubs. While many of his roles are in comedy films (like Greg in Superbad, Eric in 21 Jump Street, and Pete in Neighbors), he has also been seen in other genres, like the thriller Now You See Me and the historical drama If Beale Street Could Talk.
His older brothers, James and Tom, are also actors. He co-starred with the former in the 2017 film The Disaster Artist, playing Greg Sestero to his brother's Tommy Wiseau. He married Alison Brie in 2017.
- Superbad (2007): Greg
- After Sex (2007): Sam
- The Shortcut (2009): Mark
- Scrubs (2009-2010): Cole Anderson
- Charlie St Cloud (2010): Sully
- Fright Night (2011): Mark
- 21 Jump Street (2012): Eric Molsonnote
- Now You See Me (2013) and Now You See Me 2 (2016): Jack Wilder
- Neighbors and Neighbors 2: Sorority Rising (2016): Pete Ragazolli
- Nerve (2016): Ian
- The Disaster Artist (2017): Greg Sestero
- Six Balloons (2018): Seth
- If Beale Street Could Talk (2018): Levy