The invention relates to a capsule for use in a device for preparing beverages comprising a sealing element on a laterally protruding edge connected to the housing of the capsule. The invention also relates to an assembly of such a capsule and a device for preparing beverages. In addition, the invention relates to a perforation structure evidently intended for use in such a capsule according to the invention. The invention also relates to the use of such a capsule in a device for preparing beverages. The invention further relates to a sealing element for use in a capsule according to the invention.Linvention concerne : une capsule destinée à être utilisée pour la préparation de boissons, comprenant un élément détanchéité sur un bord faisant saillie latéralement, relié au boîtier de la capsule un ensemble comprenant une telle capsule et un dispositif servant à préparer des boissons une structure de perforation destinée à être utilisée dans une capsule selon linvention lutilisation dune telle capsule dans un dispositif de préparation de boissons ainsi quun élément détanchéité destiné à être utilisé dans une capsule selon linvention.