After removal of starch, cell wall polysaccharides of seeds of quinoa were studied. They were extracted successively with water and with aq. 10% KOH. The extracted polysaccharides were fractionated and purified by freeze–thaw treatment and by sequential ultrafiltration through membranes. The purified fractions (PQW, K2-30EM, K1-10RM and K1-30RM) were analyzed by sugar composition, HPSEC, methylation and 13 C NMR spectroscopy analysis. The results showed that PQW consisted of a linear arabinan with (1→5)-linked α-l-arabinofuranosyl units. Fractions K2-30EM, K1-10RM and K1-30RM were related to rhamnogalacturonan type I with a branched arabinan and galactan side-chains. This arabinan has (1→5)-linked α-l-arabinofuranosyl units substituted exclusively in O-3. The main differences between these fractions were their molecular mass and content of Rha and GalA, which probably arise from an increase in their rhamnogalacturonan backbone. A pool of these polysaccharides (arabinan and arabinan-rich pectic polysaccharides) showed gastroprotective activity on ethanol-induced acute gastric lesions in rats.