background:The aim of the study was to evaluate analysis criteria for the identification of the presence of rectal gas during volumetric modulated arc therapy (VMaT) for prostate cancer patients by using electronic portal imaging device (epID)-based in vivo dosimetry (IVD).Materials and methods: all measurements were performed by determining the cumulative epID images in an integrated acquisition mode and analyzed using perFracTION commercial software. systematic setup errors were simulated by moving the anthropomorphic phantom in each translational and rotational direction. The inhomogeneity regions were also simulated by the I'mrT phantom attached to the Quasar phantom. The presence of small and large air cavities (12 and 48 cm 3 ) was controlled by moving the Quasar phantom in several timings during VMaT. sixteen prostate cancer patients received epID-based IVD during VMaT.results: In the phantom study, no systematic setup error was detected in the range that can happen in clinical (< 5-mm and < 3 degree). The pass rate of 2% dose difference (DD2%) in small and large air cavities was 98.74% and 79.05%, respectively, in the appearance of the air cavity after irradiation three quarter times. In the clinical study, some fractions caused a sharp decline in the DD2% pass rate. The proportion for DD2% < 90% was 13.4% of all fractions. rectal gas was confirmed in 11.0% of fractions by acquiring kilo-voltage X-ray images after the treatment. conclusions: Our results suggest that analysis criteria of 2% dose difference in epID-based IVD was a suitable method for identification of rectal gas during VMaT for prostate cancer patients.