Phycocyanin, a natural blue colorant, derived from Spirulina platensis, is now widely used in the food industry. However, its main drawbacks are loss of color and denature of structure in an acidic environment. In this study, carboxylated chitosan (0.1 %–1 % w/v) was chosen as an additive in acid-denatured phycocyanin for preserving phycocyanin's blue color and natural structure. Zeta-potential and particle size revealed that the carboxylated chitosan with high negative charge adsorbed on phycocyanin and provided stronger electrostatic repulsion to overcome the protein aggregation. Ultraviolet-visible absorption spectrum and fluorescence spectroscopy showed that the carboxylated chitosan recovered the microenvironment of tetrapyrrole chromophores and β-subunits, which led the secondary structure changed and the trimers depolymerized into the monomers changed by the acidic environment. Furthermore, Fourier transform infrared spectroscopy revealed highly negatively charged carboxylated chitosan with the groups (NH2, COOH and OH) could restored the microenvironment of tetrapyrrole chromophores and β-subunits of phycocyanin, and interact with phycocyanin through hydrogen bonding, NH bonding, ionic bonding and van der Waals, which led to a change in secondary structure and depolymerization of trimers into monomers. Our study demonstrated the carboxylated chitosan played a beneficial role in recovering the structure of acid-denatured phycocyanin and its blue color.