It is an object of the present invention to provide a gelling agent having excellent gelling ability and also excellent in safety, and a hydrogel containing the gelling agent. The gelling agent according to the present invention is characterized by containing a peptide represented by the following formula (I) or a salt thereof. [In the formula, R1 represents a C1-4 alkyl group, R2 represents a benzyl group, R3 and R4 independently represent a C1-4 alkyl group, and R5 represents a 4-aminobutyl group. , R6 represents -OH, etc., p represents an integer of 2 or more and 4 or less, and q and r independently represent 0 or 1.]本発明は、優れたゲル化能を有する上に安全にも優れたゲル化剤と、当該ゲル化剤を含むハイドロゲルを提供することを目的とする。本発明に係るゲル化剤は、下記式(I)で表されるペプチドまたはその塩を含むことを特徴とする。[式中、R1はC1-4アルキル基を示し、R2はベンジル基などを示し、R3とR4は、独立して、C1-4アルキル基などを示し、R5は4-アミノブチル基などを示し、R6は-OHなどを示し、pは2以上4以下の整数を示し、qとrは、独立して、0または1を示す]