According to a study published in the Permanente Journal, CBD gummies may have a positive effect on sleep. However, the onset time of effects can vary based on several factors such as dosage, individual metabolism, and the method of ingestion. Some people may experience the effects within 20-30 minutes of consuming CBD gummies, while others may take longer to feel the effects. It is recommended to start with a low dosage and gradually increase as needed to find the optimal dose for better sleep. It is important to consult a healthcare professional before trying CBD gummies for sleep.