In addition, there is a connection between anxiety disorders and sleep patterns. Studies suggest that anxiety and rumination before bed may impair rapid eye movement (REM) sleep, which is associated with the most vivid dreams.