Does CBD Treat Insomnia? Since CBD can alleviate ailments like chronic pain and anxiety, it may also be helpful for treating insomnia caused by these conditions.