PurposeThis paper aims to explore the moderating impact of four moderators, namely, retailer brand strength, customer’s perceived purchase regularity, gender and purchase channel (online and offline) on the relationship between relationship marketing investments (RMIs) and customer gratitude, and customer gratitude and customer loyalty. The context of research is the purchase of a high-involvement product by Indian customers.Design/methodology/approachThis study adapts Huang RMIs-Gratitude-Loyalty model and empirically validates the associated hypotheses using structural equation modeling. Data is collected through the survey method.FindingsThe study (N = 385) results suggest a significant impact of preferential treatment and interpersonal communication investments on customer’s feeling of gratitude toward the retailer and, consequently, on loyalty. Purchase channel, gender and, to a lesser extent, customer perceived regularity each moderates the relationships between marketing investment and gratitude, and that between gratitude and loyalty; surprisingly, retailer brand is not a significant moderator.Research limitations/implicationsFuture research can factor in the impact of loyalty program on the proposed relationships.Practical implicationsThis research offers helpful guidelines for retailers, especially for those who currently have a multichannel presence and invest or plan to invest in relationship marketing to obtain benefits from customer loyalty.Originality/valueThis investigation explores not only the relevance of RMIs–gratitude–loyalty model in the Indian retail context but also the influence of moderating variables on the retailers’ efforts of gaining consumer loyalty.