The present invention provides a gastric retentive gel composition comprising: (a) a hydrophobic or amphiphilic liquid gelled with an organogelator (b) an active agent and (c) a hard wax or wax-like additive, for controlled delivery of the active agent to or through the upper gastrointestinal tract, in particular to or through the stomach. The gel composition forms a stable, floating and coherent raft in the gastric environment, and is not directly expelled from the stomach as a result of gastric emptying. The active agent is released from the composition in a controlled manner for absorption or local action.