This paper presents a new model to detect and explain customer defection in a grocery retail context. This new model analyzes the evolution of each customer basket content. It therefore provides actionable knowledge for the retailer at an individual scale. In addition, this model is able to identify customers that are likely to defect in the future months. CCS Concepts •Information systems → Data mining; Keywords Data mining; Attrition modeling; Grocery retail