The British actor, who has starred in movies such as Human Traffic, The Football Factory and Age of Heroes, said that he didn't blame actors Daniel Radcliffe, Rupert Grint and Emma Watson for his lack of interest in the Potter series.
Dyer told Digital Spy: "I watched the first one, I know the books are amazing and stuff... I just f**king fell asleep, I'll be honest with you. It's no disrespect to any of them kids because they're just doing what they're doing.
"It didn't do it for me, I wasn't really part of that generation. I never really go it."
Asked if he had a favourite moment from the fantasy movies, Dyer nominated the end credits as something that got him "very excited".
Harry Potter and the Deathly Hallows: Part 2, the final movie in JK Rowling's record-breaking movie saga, will open in cinemas this Friday.
More Harry Potter coverage:
> 'Harry Potter and the Deathly Hallows: Part 2' review
> Hollywood stars celebrate Harry Potter
> 'Harry Potter Deathly Hallows: Part 2' press conference in full
> Video: What is the secret to Harry Potter's success?
Watch Danny Dyer discuss Harry Potter below (contains strong language):
Additional reporting by Alex Fletcher