Valerian root is known to have sedative effects, which is one reason it's used for insomnia. However, using valerian may lead to vivid dreams or even nightmares in some people.