PurposeMany restaurants offer high-quality service to their customers, hoping to provide memorable experiences that influence their loyalty and electronic word of mouth (eWOM). However, consumers' memorable experiences do not always imply positive eWOM. This study aims to (1) verify the direct impacts of the perceived quality by consumers of casual dining restaurants on positive emotions, negative emotions and memorable experiences; (2) investigate the impacts of memorable experiences on the propensity to loyalty and eWOM; (3) test the moderating effect of consumer behavioural engagement on social networking sites (CBE-SNS) on the relationship between memorable experiences and eWOM.Design/methodology/approachThis survey included 475 university students in Brazil. Participants answered an electronic form about their experiences in casual dining restaurants. Structural equation modelling tested the hypothetical model based on the stimulus-organism-response (S-O-R) theory (Mehrabian and Russell, 1974).FindingsThe quality perceived by restaurant consumers (stimulus) positively impacts their memorable experiences and positive emotions and negatively affects their negative emotions (organism). Memorable experiences positively impact the propensity to loyalty (response). The CBE-SNS moderates the intensity of the relationship between memorable experiences (organism) and eWOM (response).Originality/valueThis study is the first that demonstrates the relationships between perceived quality, positive and negative emotions, memorable experiences, the propensity to loyalty and CBE-SNS and e-WOM in restaurants. Casual dining restaurants must offer their customers services with high perceived quality, positively impacting their emotions and their memorable experiences. Finally, restaurants must create strategies and actions to increase the CBE-SNS to encourage them to share their memorable experiences through eWOM.