In April 2012, Macchio was cast in the film "Hitchcock", based on the non-fiction book "Alfred Hitchcock and the Making of Psycho", co-starring Anthony Hopkins, Helen Mirren, Scarlett Johansson, Jessica Biel and Toni Collette, and directed by Sacha Gervasi. Macchio portrays "Psycho" screenwriter Joseph Stefano. In 2013, he appeared in "How I Met Your Mother". The main character, Barney Stinson, asserts that Macchio's character, Daniel LaRusso, in "The Karate Kid" is not the real karate kid; instead, it's Johnny Lawrence, Daniel's nemesis in the film. In the 8th-season episode "The Bro Mitzvah", Macchio is invited to Barney's bachelor party, although Barney is disappointed in the surprise, expecting actor William Zabka, the "real Karate Kid". For the duration of the episode, the characters note the similarities between Barney and Macchio, to Barney's disgust. At the end of the night, the clown hired for the party's entertainment reveals himself to be Zabka. From February to March 2016, Macchio co-starred with Mario Cantone in the Off-Broadway production "A Room of My Own", after having read the play in 2010 and 2014.