Dan was born in Brooklyn, New York, the second child of Shari, an English teacher, and Richard Fogler, a surgeon. Before he attended the School of Theatre at Boston University, he went to Poly Prep Country Day School and graduated in 1994.
He established himself in his Broadway debut as William Barfée in the Broadway musical hit The 25th Annual Putnam County Spelling Bee. His performance won him a Tony Award for Best Featured Actor.
His first television appearance was in 2002 on FOX's 30 Seconds to Fame as a contestant impersonating Al Pacino.
- Balls of Fury
- Horton Hears a Who!
- Take Me Home Tonight
- Mars Needs Moms
- Fantastic Beasts and Where to Find Them
- Fantastic Beasts: The Crimes of Grindelwald
- Fantastic Beasts: The Secrets of Dumbledore
- The Goldbergs
- He is one of the main characters in the Fantastic Beasts franchise, where he worked alongside fellow actress Samantha Morton, who portrays Dee in the show. Though they did not share scenes together.