Back Primary Insomnia Insomnia is defined as difficulty falling asleep and/or maintaining sleep. Explore medical conditions and experiences that can cause insomnia and what your doctor may recommend for a good night's sleep.