Monitoring gastric motility in freely moving animals is constrained by invasiveness and the dependence on anesthesia. Here, we describe a refined protocol for fabricating and implanting silicone strain gauges to quantify gastric dynamics in conscious C57BL/6J mice. By combining optimized silicone encapsulation with a head-mounted connector fixation, this method minimizes tissue adhesion and prevents device damage. Validated over 15 days, the assay captures distinct motility patterns during anesthesia, postoperative recovery, and feeding-induced accommodation. This protocol offers a reliable platform for translational research on gastrointestinal function. The main features of our method are as follows:Fabrication of flexible, biocompatible silicone strain gauges to ensure signal stability.A head-mounted fixation strategy that enables long-term recording in active mice.Quantitative evaluation of gastric motility parameters under various physiological states.