Sleep quality has been identified as an important variable related to the maintenance of health and reduction of expenses with health services. However, little is known about the relationship between sleep quality, metabolic changes and the effect of physical activity practice, as well as the impact of these factors on health costs within the Unified Health System (UHS). Objectives: To analyze the relationship between sleep quality and health expenditure of UHS patients, as well as their activities related to the practice of associated physical and physical activities. Methods: The test was performed by 168 adults of both sexes (52 men [31%] and 116 women [69%]) with mean age of 63.8 ± 8.6 years, attended by two basic health units city of Presidente Prudente/SP. A dependent variable analyzed was health spending. The measures of confidence were: i) indicators of body adiposity: fat percentile, waist circumference and body mass index; ii) hemodynamic variables: systemic and diastolic arterial hypertension, glycemia, total cholesterol, high and low density lipoproteins, and triglycerides; iii) quality of sleep and iv) a practice of physical activity. Additionally, adjustment variables were found: gender, age and economic matrix. The analyzes consist of Kruskal-Wallis, MannWhitney and Spearman tests. Results: changes in the patterns were positively correlated with drug expenditures r = 0.213 [95% CI = 0.052-0.363] and with the negative shift with exams r = -0.166 [95% CI = -0.313-0.012] (p = value = -0.152), even if adjusted for confounding factors. In addition, health expenditures were correlated to the physical activity score (p-value = 0.162), arterial measure (p-value = -0.164), and biochemical variables. Conclusion: Sleep quality correlates with health care expenditures in the Unified Health System, even with the change in the model of basic variables, with emphasis on drug and testing expenditures.