Understanding the role of root cell walls in the mechanism of plant tolerance to salinity requires elucidation of the changes caused by salinity in the interactions between the mechanical properties of the cell walls and root growth, and between the chemical composition of the cell walls and root growth. Here, we investigated cell wall composition and extensibility of roots by growing a halophyte ( Suaeda salsa ) and a glycophyte ( Spinacia oleracea ) species under an NaCl concentration gradient. Root growth was inhibited by increased salinity in both species. However, root growth was more strongly reduced in S. oleracea than in S. salsa . Salinity reduced cell wall extensibility in S. oleracea significantly, whereas treatment with up to 200 mM NaCl increased it in S. salsa . Meanwhile, S. salsa root cell walls exhibited relatively high cell wall stiffness under 300 mM NaCl treatment, which resist wall deformation under such stress conditions. There was no decrease in pectin content with salinity treatment in the cell walls of the elongation zone of S. salsa roots. Conversely, a decrease in pectin content was noted with increasing salinity in S. oleracea , which might be due to Na + accumulation. Cellulose content and uronic acid proportions in pectin increased with salinity in both species. Our results suggest that (1) cell wall pectin plays important roles in cell wall extension in both species under salinity, and that the salt tolerance of glycophyte S. oleracea is affected by the pectin; (2) cellulose limits root elongation under saline conditions in both species, but in halophytes, a high cell wall content and the proportion of cellulose in cell walls may be a salt tolerance mechanism that protects the stability of cell structure under salt stress; and (3) the role of the cell wall in root growth under salinity is more prominent in the glycophyte than in the halophyte.