The structure and rheology behaviour of gels produced by water dispersions of a vitamin C-derived surfactant (ascorbyl-6-O-dodecanoate) were investigated by means of SAXS and rheology experiments for the first time. The gel state is formed upon heating and is due to an anisotropic expansion of the tightly compact lamellar structure. The phase transition involves primarily the melting of the alkyl chains and a significant increment in the interlamellar water layer. In particular, our results show that in the gel the hydrophobic chains are in a liquid-like state, as in the core of a micelle, while the head groups release their acidic proton, become negatively charged and determine the onset of strong electrostatic interactions between facing lamellae. The full hydration of the anionic head groups and the uptake of a significant amount of water increase the interlamellar thickness and stabilise the gel structure. Rheology and SAXS measurements together provide an updated picture for the gel state. Moreover, for the first time we show the presence of a concentration threshold, above which the self-assembled aggregates interact more strongly and deplete some of the water that is retained in the interlamellar region.