James McAvoy was never scared of clowns until he started filming It!

The 40-year-old actor opened up about the nightmare he started having once he began working on the movie.

PHOTOS: Check out the latest pics of James McAvoy

“I started to have nightmares in preparation for the film. I never had that as a kid,” James said during an appearance on Good Morning America.

He continued, “I had the same nightmare twice. It was Bill [Skarsgard] as Pennywise, lying in bed beside me, stroking my neck, stroking my back, saying, ‘James it’s time to wake up.’ It was horrible.”

Hear all that James McAvoy had to say about filming It below…

Just Jared on Facebook