Since the outbreak of the pandemic started, an increase in the number of sleep disorders, including insomnia and poor sleep quality, has been seen. The pattern will probably continue. This study focuses on the preparation and clinical testing of Poria cocos extract in treating suboptimal sleep quality. The optimal extraction method utilized a 75% ethanol concentration, and the clinical investigation involved subjects with defined poor sleep taking 800 mg of the extract nightly, assessed using the Sleep Questionnaire and polysomnography. The non-parametric Wilcoxon signed-rank test was used for statistical analysis due to the non-normal distribution of the collected data. The study involved 21 insomnia sufferers with a mean age of 55 who were administered Poria cocos extracts. The findings of the study indicate a statistically significant rise in the overall duration of sleep (from 327.395 ± 43.2 min to 356.516 ± 63.21 min, p = 0.014). Additionally, there was a notable decrease in the level of arousal during sleep (from 76.316 ± 44.78 min to 47.989 ± 42.38 min, p = 0.009), and an improvement in the sleep severity index of the sleep questionnaire test. Poria cocos as a natural substance could improve quality of sleep, based on the findings. The study investigates Pachymic acid, a substance found in Poria cocos, as a potential indicator for the development of sleeping aids.