The cotton fabric consists of cellulose arranged in a complex structure with multiple levels of organization at different length scales. Understanding this structure and its interactions with water and oil is essential for developing efficient and environmentally friendly methods of cotton washing. In this study, the structure of raw cotton fabric cellulose and the effects of water and oil were examined across a broad range of length scales using spatially resolved synchrotron small-angle X-ray scattering (SAXS) and auxiliary techniques.Water was observed to penetrate the cotton fabric and interact across nearly all length scales. Although a certain amount of the material was not affected by water as seen by intact distance between microfibrils, fractal analysis of the scattering data indicated a loosening of the microfibril arrangement after contact with water. This process was hindered if the material had been pre-treated with oil and was not seen after subsequent washing with water or surfactant solution. Analyzing spatially resolved SAXS data using a bi-sinusoidal model and 2D maps of the oil-to-cotton ratio facilitates understanding the structure of the material and its interactions with oil on the molecular, nano and macrolevels.