In porous media, the nonwetting phase is trapped on water saturation due to capillary forces acting in a heterogeneous porous structure. Within the capillary fringe, the gas phase is trapped and released along with the fluctuation of the water table, creating a highly active zone for biological transformations and mass transport. We conducted column experiments to observe and quantify the magnitude and structure of the trapped gas phase at the pore scale using computed microtomography. Different grain size distributions of glass beads were used to study the effect of the pore structure on trapping at various capillary numbers. Viscous forces were found to have negligible impact on phase trapping compared with capillary and buoyancy forces. Residual gas saturations ranged from 0.5 to 10%, while residual saturation increased with decreasing grain size. The gas phase was trapped by snap-off in single pores but also in pore clusters, while this single-pore trapping was dominant for grains larger than 1 mm in diameter. Gas surface area was found to increase linearly with increasing gas volume and with decreasing grain size.