Statins can cause insomnia and vivid dreams in some people-especially simvastatin and lovastatin. Pravastatin is less likely to affect sleep. Learn how to tell if your statin is the cause and what to do next.