Due to the rise in rates of obesity and diabetes in recent years, the consumer demand for alternative sweetener is growing especially among people with diabetes or prediabetes. Given the need for alternative sweeteners, miracle fruit (Synsepalum dulcificum) may be a good candidate to fulfill the demand. Miracle fruit has been used as a sweet enhancer for thousands of years by the natives in Western Africa without any reports of adverse effects. The red, cranberry-sized miracle fruit is named for its unique ability to transform sour taste into sweet. In addition to the miracle fruit's taste modification function, miracle fruit has valuable antioxidant activities that can be applied for functional food and has also been studied to improve insulin resistance induced by fructose-rich chow in rats. With the potential health benefit of miracle fruit, miracle fruit has been considered as a healthy alternative sweetener that can meet diabetic patients' needs. However, for the practical applications of miracle fruit for diabetic diet, the acceptability of miracle fruit and its effect on energy intake need to be examined among diabetic patients. Fresh miracle fruits are highly perishable, and they cannot be cooked because the taste modifying effect found in the pulp of the miracle fruit is due to a protein, which is deactivated by heat. For these reasons, a freeze-dried pill form of miracle fruit needs to be applied on a tongue to coat taste buds before food is consumed. Therefore, in this study, the effects of oral application of miracle fruit pill are compared with placebo (sugar candy) on the likings of different sour food products (green apple, goat cheese, lemonade, cucumber pickle, and plain fat-free yogurt) and meals (breakfast, lunch, and dinner), and energy intakes from the meals in people with diabetes or prediabetes. A total of 50 patients aged 45 to 75 years who have been diagnosed with diabetes or prediabetes (25 men and 25 women) participate in this study. They should be nonsmokers; not have food allergies or food intolerances; not be diagnosed with taste disorders; not be pregnant; not breastfeed; and not use medications that could affect taste perception and food intake. This study is a randomized placebo-controlled crossover trial. As an intervention, a miracle fruit pill is orally administered prior to eating food samples. The same protocol is followed in the control group but with placebo (sugar candy). Participants are asked to participate in a total of six 1-hour sessions (1 session/day). Participants are randomly assigned to either of two applications (miracle fruit and placebo) in part 1 and one week after part 1 (1-week washout), their intervention assignment is switched from one application to another in part 2. Each part/intervention consists of 3 sessions and each session consists of two assessments (liking tests and meal intake assessment). In each part/intervention, each participant performs the liking tests for five sour foods in triplicate and consumes breakfast, lunch, and dinner meals once. The order of the experiments in each session is as follows: 1. preliking test; 2. miracle fruit pill/placebo administration; 3. postliking test; and 4. meal intake. At the liking tests, the pre- and postlikings of overall, flavor, texture, and aftertaste for all 5 sour food samples are assessed using a 9-point hedonic scale (1=dislike extremely, 9=like extremely). For the meal intake assessment, standardized breakfast, lunch, and dinner meals are provided to participants according to the experimental design. During the meal intake session, participants are allowed to consume any food, beverage, or condiments, including sweeteners that are provided at the session. All foods and beverages that are consumed by each participant at the meals are weighed, and the energy intakes from the meals are calculated using the food weight via online nutrient tracker.