Although previous studies have shown that sleep quality may be related to life factors such as smoking and drinking in a specific potential environment, some evaluations of sleep quality are relatively subjective, and there are few studies on the influence of life factors on sleep efficiency. In this study, sleep quality was quantified by scoring multiple sleep-related variables, and stepwise regression was used to process the data of sleep quality score, sleep efficiency and life factors. Results showed that sleep efficiency was strongly correlated with exercise frequency, alcohol consumption, and smoking status, and sleep quality scores were strongly correlated with caffeine intake, smoking status, and alcohol consumption. Many life factors that may be closely related to sleep have not been focused on their combined effects in previous studies. This study provides suggestions for improving sleep quality and sleep efficiency by changing living habits, and proposes some new perspectives for further research.