Theory-based interventions can enhance people's safe water consumption, but the sustainability of these interventions and the mechanisms of maintenance remain unclear. We investigated these questions based on an extended theory of planned behaviour. Seven hundred and ten (445 analysed) randomly selected households participated in two cluster-randomised controlled trials in Bangladesh. Study 1 promoted switching to neighbours' arsenic-safe wells, and Study 2 promoted switching to arsenic-safe deep wells. Both studies included two intervention phases. Structured interviews were conducted at baseline (T1), and at 1-month (T2), 2-month (T3) and 9-month (T4) follow-ups. In intervention phase 1 (between T1 and T2), commitment-based behaviour change techniques - reminders, implementation intentions and public commitment - were combined with information and compared to an information-only control group. In phase 2 (between T2 and T3), half of each phase 1 intervention group was randomly assigned to receive either commitment-based techniques once more or coping planning with reminders and information. Initial well-switching rates of up to 60% significantly declined by T4: 38.3% of T2 safe water users stopped consuming arsenic-safe water. The decline depended on the intervention. Perceived behavioural control, intentions, commitment strength and coping planning were associated with maintenance. In line with previous studies, the results indicate that commitment and reminders engender long-term behavioural change.