The present invention relates to a method of obtaining a novel gelling agent. Said method comprises adding ethylcellulose, to a mixture of propyleneglycol laurate and propyleneglycol isostearate at a temperature of between 90°C and 110°C. The method according to the invention provides a simpler, less energy consuming, cheaper and easier way of obtaining a substantially gelling agent which can be used for manufacturing an oleogel and/or a bigel, for cosmetic and/or pharmaceutical use.