Chitin and chitosan are important structural macromolecules for most fungi and marine crustaceans. The functions and application areas of the two molecules are also adjacent beyond their similar molecular structure, such as tissue engineering and food safety where solution systems are involved. However, the elasticities of chitin and chitosan in solution lack comparison at the molecular level. In this study, the single-molecule elasticities of chitin and chitosan in different solutions are investigated via atomic force microscope (AFM) based single-molecule spectroscopy (SMFS). The results manifest that the two macromolecules share the similar inherent elasticity in DOSM due to their same chain backbone. However, obvious elastic deviations can be observed in aqueous conditions. Especially, a lower pH value (acid environment) is helpful to increase the elasticity of both chitin and chitosan. On the contrary, the tendency of elastic variation of chitin and chitosan in a larger pH value (alkaline environment) shows obvious diversity, which is mainly determined by the side groups. This basic study may produce enlightenment for the design of intelligent chitin and chitosan food packaging and biomedical materials.