The volumetric and hydrological responses of clayey soils subjected to drying-wetting (D-W) cycles are of paramount importance for the integrity of geoenvironmental infrastructures. The study aimed to investigate the cracking behavior of clayey soils under D-W cycles by using advanced 2D imaging and 3D scanning techniques to capture the initiation and propagation of desiccation cracks within a soil specimen. The temporal variation in the soil water content and the corresponding 2D digital photography and 3D morphology of cracks were simultaneously monitored, and the cracking characteristics were interpreted. It was found that the time-dependent evaporation process was independent of the D-W cycles. Both 2D and 3D characterization showed the cracking hysteresis phenomenon in the unsaturated soil, which indicates the dependency of the crack opening and closure on the degree of saturation. D-W cycles led to the formation of subcracks and the increase in the total crack length, reflecting the soil degradation. Additionally, it was demonstrated that the 3D characterization exhibited the advantage of capturing the volumetric change and the subtle change in the macroporosity of the cracked soil over the 2D visualization. The current study provides a perspective of combining 2D and 3D characterization for interpreting the volumetric change of cracked soils and enhancing the understanding of the hydromechanical responses and the soil-atmosphere interactions.