The present invention relates to a pharmaceutical composition comprising an NSAID or a pharmaceutically acceptable salt thereof, famotidine as a gastroprotective agent and a gel forming polymer as a pharmaceutically acceptable excipient. Preferably, the gel forming polymer is a high molecular weight polymer 10 providing immediate release of active ingredients in a single unit dosage form.La présente invention concerne une composition pharmaceutique comprenant un AINS ou un sel pharmaceutiquement acceptable de celui-ci, de la famotidine en tant qu'agent de gastroprotection et un polymère formant un gel en tant qu'excipient pharmaceutiquement acceptable. De préférence, le polymère formant un gel est un polymère de poids moléculaire élevé assurant une libération immédiate de principes actifs sous une forme posologique unitaire unique.