conditioned insomnia

con·di·tioned in·som·ni·a

a form of insomnia resulting from conditioned behaviors that are incompatible with sleep, for example, each time a person walks into his bedroom, his first thought is that he is not going to be able to sleep.