A pectinaceous gelling agent obtained from vegetable matter which contains pectinaceous substances having a degree of esterification of greater than 50 %. The gelling agent contains 30 % to 55 % by weight of galacturonic acid and has a degree of esterification of 5 % to 20 %. The gelling agent may be prepared from waste vegetable matter by alkaline extraction.