Zachary Gordon first appeared in the American sitcom television series ‘All of Us’ in 2006. He played the role of ‘Richie’ and remained on the show until 2007. He made his debut in the 2007 American romantic comedy film ‘Because I Said So’ directed by Michael Lehmann. The film received mostly negative reviews from critics. That same year, he also appeared in the American action-adventure film ‘National Treasure: Book of Secrets’ directed by Jon Turteltaub. The film received a mixed response from critics and was a major financial success. In 2008, he voiced ‘Baby Melman’ in the American computer-animated comedy film ‘Madagascar: Escape 2 Africa’ directed by Eric Darnell and Tom McGrath. The film opened to mostly positive reviews and did decent business at the box office. That same year, he also joined the voice cast of the 2D flash-animated children's television series ‘Ni Hao, Kai-Lan.’ He remained a part of the show until 2009.
In 2009, he starred as ‘Greg Heffley’ in the American comedy film ‘Diary of a Wimpy Kid’ directed by Thor Freudenthal. The film received a mixed response from critics and was a major commercial success, grossing over $75.7 million on a budget of $15 million. He reprised his role as ‘Greg Heffley’ in ‘Diary of a Wimpy Kid: Rodrick Rules’ (2011) and ‘Diary of a Wimpy Kid: Dog Days’ (2012) which were also a financial success. In 2013, he starred as ‘Will’ in the American comedy film ‘The Incredible Burt Wonderstone’ directed by Don Scardino. Despite opening to mixed reviews, the film tanked at the box office. He next appeared in films like ‘The Boxcar Children’ (2014), ‘Yellowbird’ (2014), ‘Huevos: Little Rooster's Egg-cellent Adventure’ (2015), ‘Kingsglaive: Final Fantasy XV’ (2016), and ‘Norm of the North’ (2016).
Apart from films, Gordon has also appeared in television series like ‘Batman: The Brave and the Bold’ (2008, 2010), ‘Childrens Hospital’ (2011), ‘Bubble Guppies’ (2011-2012), ‘Uncle Grandpa’ (2013), ‘Star Wars Rebels’ (2016-2018), ‘Good Trouble’ (2019-2020), and ‘The Resident’ (2020). He was last seen in the 2021 American drama film ‘Violet’ directed by Justine Bateman. The film saw its world premiere at South by Southwest and received positive reviews from critics.