Stomatitis induced by radiation therapy or cancer chemotherapy is a factor in sleep disorders and/or eating disorders, markedly decreasing patient quality of life. In recent years, disintegrating oral films that are easy to handle have been developed; therefore, we focused on the formulation of these films. We prepared an adhesive film for the oral cavity using xyloglucan (Xylo), which is a water-soluble macromolecule. We used loperamide, which has been reported to relieve pain caused by stomatitis effectively, as a model drug in this study. Films were prepared from Xylo solutions (3% (w/w)) and hypromellose (HPMC) solutions (1% (w/w)). Xylo and HPMC solutions were mixed at ratios of 1 : 1, 2 : 1, or 3 : 1 for each film, and films 2×2 cm weighing 3 g were prepared and dried at 37°C for 24 h. Physicochemical properties such as strength, adhesiveness, disintegration behavior, and dissolution of loperamide from films were evaluated. Films prepared from Xylo solution alone had sufficient strength and mucosal adhesion. On the other hand, films prepared from a mixture of Xylo and HPMC were inferior to those made from Xylo, but showed sufficient strength and mucosal adhesion and were flexible and easy to handle. The films prepared in this study are useful as adhesion films in the oral cavity.