Carboxymethyl chitosan sodium salt (CMCS)/sodium alginate (SA), a pH‐sensitive hydrogel composed of CMCS and SA crosslinked by 1‐ethyl‐3‐(3‐dimethyl aminopropyl) carbodiimide (EDC) and N‐hydroxysuccinimide, has been evaluated in vitro as a potential carrier for protein drug delivery of bovine serum albumin (BSA). The crosslinked structures, pore morphologies, and mechanical properties of the composite CMCS/SA hydrogel at different pH have been characterized by Fourier‐transform infrared (FTIR) spectroscopy, scanning electron microscopy (SEM), and dynamic mechanical analysis (DMA). The swelling behavior of the prepared hydrogel was assessed at different pH values, 1.2, 4.0, 6.86, 7.4, and 9.0. The in vitro slow release ability of the CMCS/SA hydrogel was assessed at 37°C and pH 1.2 or pH 7.4 to simulate gastrointestinal and mouth environments in vivo. The efficiency was found to be greater than 90% at pH 7.4. The composite CMCS/SA hydrogel showed no cytotoxic effect toward L‐929 cells according to the 3‐(4,5‐dimethylthiazol‐2‐yl)‐2,5‐diphenyltetrazolium bromide test. These findings demonstrate that the composite hydrogel has promising potential for drug delivery. © 2018 Wiley Periodicals, Inc. J. Appl. Polym. Sci. 2019, 136, 46911.