The objective of this study was to apply the Naïve Bayes classification algorithm to identify factors associated with user satisfaction in a healthcare unit. A database of 4,160 patients was used. The variables analyzed included perception of wait time, treatment received, fairness of care, cordiality, active listening, shift, and gender of the interviewed patient. The variable of interest was satisfaction with healthcare services. The model was trained by dividing the dataset into 80% for training and 20% for testing. To evaluate predictive performance, metrics such as accuracy, sensitivity, specificity, and area under the ROC curve (AUC) were calculated. The results indicate that 93% of patients reported satisfaction. Variables such as appropriate wait time, respectful treatment, and perception of fairness were strongly associated with satisfaction. The model achieved an accuracy of 93.63%, a specificity of 95.59%, and a sensitivity of 52.63%. The AUC value was 0.837, reflecting the model's high discriminatory capacity. These findings suggest that the application of predictive models can significantly contribute to improving the quality management of medical services.