The Maintain Your Brain (MYB) trial is one of the largest internet-delivered multidomain randomised controlled trial designed to target modifiable risk factors for dementia. It comprises four intervention modules: physical activity, nutrition, mental health and cognitive training. This paper explains the MYB Nutrition Module, which is a fully online intervention promoting the adoption of the ‘traditional’ Mediterranean Diet (MedDiet) pattern for those participants reporting dietary intake that does not indicate adherence to a Mediterranean-type cuisine or those who have chronic diseases/risk factors for dementia known to benefit from this type of diet. Participants who were eligible for the Nutrition Module were assigned to one of the three diet streams: Main, Malnutrition and Alcohol group, according to their medical history and adherence to the MedDiet at baseline. A short dietary questionnaire was administered weekly during the first 10 weeks and then monthly during the 3-year follow-up to monitor whether participants adopted or maintained the MedDiet pattern during the intervention. As the Nutrition Module is a fully online intervention, resources that promoted self-efficacy, self-management and process of change were important elements to be included in the module development. The Nutrition Module is unique in that it is able to individualise the dietary advice according to both the medical and dietary history of each participant; the results from this unique intervention will contribute substantively to the evidence that links the Mediterranean-type diet with cognitive function and the prevention of dementia and will increase our understanding of the benefits of a MedDiet in a Western country.