Objective: To characterize pain management in hospitalized children. Method: This is an observational, cross-sectional, retrospective and descriptive study of quantitative approach, carried out in a secondary hospital in the city of São Paulo, through analysis of 1,251 medical records of children admitted to the pediatric department. Data were tabulated and analyzed through descriptive statistics. Results: A total of 88.8% of children were assessed for pain with standardized instruments and 86% had analgesia prescribed. Among the assessments, 37.8% of the children had pain; of these, 26% had severe pain, greater in orthopedic conditions; 18.3% were not medicated, even with the presence of pain and prescribed analgesia; 4.3% had no analgesics prescribed; only 0.4% received non-pharmacological measures, and 40.3% had a report of reassessment. Professionals provided greater analgesia to children with surgical and orthopedic conditions compared to clinical conditions (p < 0.05). Conclusion: Pain management in hospitalized children is ineffective, from initial assessments to reassessments after interventions, with prioritization of medication actions guided by professional judgment in the face of pain complaints.