Allan Loeb is an American screenwriter and film and television producer. He wrote the 2007 film Things We Lost in the Fire and created the 2008 television series New Amsterdam. He wrote the film drama 21, which also was released in 2008. Among his other credits, he wrote and produced The Switch. He also co-wrote Wall Street: Money Never Sleeps, and wrote The Dilemma, and Just Go with It. He performed a rewrite for the musical Rock of Ages, and the mixed martial arts comedy Here Comes the Boom.