This study aims to investigate the impact of desired self-identity, green perceived value and altruistic values on brand loyalty towards green brands (i.e., electric and hybrid cars) and the mediating role of customer engagement behavior on these relationships. Further, this study proposes that greenwashing perception, which can be defined as consumers perceiving organizations to be dishonest about their environmental claims, moderates the indirect effect of desired self-identity, green perceived value and altruistic values on brand loyalty via customer engagement behavior. Data were collected from a nationwide online survey of 170 customers who have purchased and used electric and hybrid cars. Partial least squares structural equation modeling (PLS-SEM) using Smart-PLS and PROCESS were employed to test the hypotheses. This study’s findings indicate that desired self-identity, green perceived value and altruistic values positively influence consumer engagement behavior with the focal green car brands. Further, the mediating effect of customer engagement behavior on brand loyalty was generally found. Additionally, greenwashing perception was found to moderate the indirect effect of desired self-identity and altruistic values on brand loyalty via customer engagement behavior. The indirect effect of desired self-identity and altruistic values on brand loyalty via consumer engagement behavior was stronger at lower levels of greenwashing perception than at higher levels. This study offers key managerial implications on how green brands can promote customer engagement behavior and brand loyalty.