In 2011, Bomer was cast as a 105-year-old man in Andrew Niccol's science fiction thriller film "In Time", starring alongside Justin Timberlake. On April 10, 2012, Bomer made a guest appearance in the third season of the television series "Glee", playing Blaine's older brother, Cooper Anderson, a Hollywood commercials actor who comes to Lima for a visit, and while in town gives an acting masterclass to New Directions. His performance on "Glee" received critical acclaim; critic Emily VanDerWerff of "The A.V. Club" described his performance as "absolutely fantastic." Crystal Bell of the "Huffington Post" called his appearance "perfectly cast" and Bomer as one of her favorite guest stars. For this performance on 'Glee', he won a Gold Derby in the category of Best Comedy Guest Actor.