Has anything changed in terms of the family or anything else in his life recently that might be causing anxiety?

Have you tried taking a long walk, or a long play session before bedtime to tire him out?

How does he seem otherwise? Maybe a vet check is in order, just to make sure there's nothing going on medically that might make him restless ...

Have you tried keeping him in the house at night?