This research investigates how sleep patterns influence mental health across various age groups. By analyzing survey data, the study identifies key factors such as sleep duration, electronic device usage, physical activity, and caffeine consumption, and their impact on mental well-being. The findings highlight the importance of prioritizing healthy sleep habits to enhance mental resilience and overall quality of life.