Introduction: Effective cancer pain management remains challenging, with nurses playing a key role in pain assessment and care. This study examined factors associated with nurses’ knowledge and attitudes toward cancer pain management in selected tertiary hospitals in Benin City, Nigeria. Methods: A descriptive cross-sectional study was conducted among 133 registered nurses providing direct care in oncology-related wards. Participants were recruited using convenience sampling. Data were collected through a structured self-administered questionnaire and analyzed using descriptive statistics and multiple logistic regression at a 5% significance level. Results: More than half of the nurses (54%) had good knowledge, 26% had moderate knowledge, and 20% had poor knowledge of cancer pain management. Overall, nurses demonstrated positive attitudes (mean = 3.6 ± 0.92). Knowledge was associated with professional experience, institutional support, access to information, and continuing education. Attitudes were influenced by beliefs, self-efficacy, knowledge, organizational culture, and clinical experience. Higher nursing education, including undergraduate (OR = 10.08; 95% CI = 1.65–61.58) and postgraduate education (OR = 7.54; 95% CI = 1.08–52.67), as well as ward manager status (OR = 2.44; 95% CI = 1.02–5.84), were significant predictors. Conclusions: Nurses generally had good knowledge and positive attitudes toward cancer pain management. Strengthening professional education, continuing training, institutional support, and nurses’ confidence may further improve cancer pain management practices.