Purpose Heritage tourism is an increasingly popular form of tourism that allows individuals to connect with the past and immerse themselves in cultural and historical narratives. Hence, the purpose of this study is to explore the intricate relationships among vicarious nostalgia (VNOS), memorable tourism experiences (MTEXs) and their collective influence on tourists’ behavioral intentions (BINTs). Additionally, this study examines the moderating effect of social return (SN) in the context of heritage tourism. Design/methodology/approach Data were gathered using a self-administered questionnaire from 259 tourists visiting heritage sites in Jaipur. The proposed model was tested using structural equation modeling. Findings The results confirmed that VNOS had a significant positive impact on BINT in the context of heritage tourism. The causal relationship between VNOS and BINT was fully mediated by MTEX. The results further verified that the presence of SN strengthens the association between MTEXs and BINT. Practical implications This research will guide the firms associated with heritage tourism to target specific cohorts interested in heritage tourism. Policymakers may find it easier to create unique offerings and packages that appeal to visitors interested in historical sites and produce memorable travel experiences. One key implication is to create “social media friendly spaces” at different locations of the sites. To increase tourism, managers may use the findings from this research to create plans for the ethical promotion and protection of cultural and natural heritage sites. Originality/value Overall, this research advances the understanding of the role of VNOS in heritage tourism by elucidating its cognitive and emotional aspects and their subsequent influence on the memorability of tourist experiences and BINT s. Additionally, by considering the moderating effect of SN, this study provides a comprehensive view of how these factors collectively shape tourists’ decisions and actions in the context of heritage destinations. This research has been conducted in the heritage city of Jaipur (North-Western India), which, surprisingly – despite its popularity as a heritage tourism site – has not been sufficiently explored in the scholarly research.