Background: Artificial intelligence (AI) is transforming healthcare delivery, particularly in psychiatric and addiction treatment. Enhancing nurses’ AI competence and perceptions is crucial for improving patient care and advancing AI-driven healthcare. Aim: This study assessed the efficacy of an educational program aimed at improving nurses’ understanding and perceptions of AI in mental health and addiction services. Methods: A quantitative quasi-experimental approach was employed, involving a purposive sample of nurses working in a psychiatric hospital in Jeddah, Saudi Arabia. The study included nurses from the psychiatric services department who met the inclusion criteria and agreed to participate. Data collection was conducted between February and April 2024 using three validated and reliable instruments: demographic, knowledge, and attitude questionnaires. Results: The findings demonstrated the effectiveness of the intervention. Participants exhibited significant knowledge improvement, with post-knowledge scores increasing from 115.22 to 131.71. Additionally, a positive shift in attitudes was observed, with post-attitude scores rising from 72.61 to 83.31. Conclusion: The intervention successfully enhanced nurses’ knowledge and attitudes, emphasizing the importance of continuous professional development to ensure high-quality care for patients with addiction and mental health issues. Recommendations: Implementing similar interventions in other healthcare settings could further improve nurses’ AI-related knowledge and attitudes, ultimately enhancing the quality of care for patients with addiction and mental health conditions.