Thermosensitive gels are commonly used as drug carriers in medical fields, mainly due to their convenient processing and easy functionalization. However, their overall performance has been severely affected by their unsatisfying biocompatibility and biodegradability. To this end, we synthesized poly(l-alanine) (PLAla)-based thermosensitive hydrogels with different degrees of polymerization by ring-opening polymerization. The obtained mPEG45−PLAla copolymers showed distinct transition temperatures and degradation abilities. It was found that slight changes in the length of hydrophobic side groups had a decisive effect on the gelation behavior of the polypeptide hydrogel. Longer hydrophobic ends led to a lower gelation temperature of gel at the same concentration, which implied better gelation capability. The hydrogels showed rapid gelling, enhanced biocompatibility, and better degradability. Therefore, this thermosensitive hydrogel is a promising material for biomedical application.