Gut-brain communication, facilitated by the vagus nerve, is crucial for communication between the gastrointestinal endocrine system and the brain. However, whether intragastric glucose injection can change cortical activity is still not understood. Here, we offer a comprehensive protocol to observe changes in cortical activity after glucose injection into the duodenum.