PurposeThis study aims to determine how the attitudes toward artificial intelligence (AI) of religious tourists affect their AI self-efficacy and their engagement in AI. This study specifically intends to investigate the mediating role of AI self-efficacy in the relationship between attitudes toward AI and the engagement in AI of religious tourists. This study also seeks to identify the role of AI assistant use as a moderator in the relationship between attitudes toward AI and AI self-efficacy.Design/methodology/approachThe data used in this study was gathered from a sample of 282 religious tourists who had just visited Karbala, central Iraq. Purposive sampling, which comprises a focused and systematic approach to data collection, was used after carefully assessing the distinctive characteristics and properties of the research population.FindingsThe results showed that attitudes to AI had a noticeable impact on AI self-efficacy, which, in turn, exerted a positive impact on engagement with AI. In addition, the use of AI assistants acted to positively moderate AI self-efficacy in terms of mediating the link between attitudes to AI and AI engagement.Originality/valueThe distinctive focus on religious tourists adds an original perspective to the existing literature, shedding light on how their attitudes towards AI impact not only their self-efficacy but also their engagement in dealing with AI. In addition, this study delves into the moderating role of AI assistant use, introducing a unique factor in understanding the complex interplay between attitudes, self-efficacy, and engagement in the context of religious tourism. The selection of Karbala, central Iraq, as this study site further adds originality, providing insights into a specific religious and cultural context.