The present invention proposes a capsule (10) for containing beverage ingredients, the capsule being designed for insertion in a beverage production device,the capsule comprising a body portion (1) having at least a circumferential sidewall (9) for enclosing an ingredients compartment (5) of the capsule, and a sealing member (8), wherein the sealing member comprises a first flange-like rim portion (8a) and a second portion (8b) which is at least partially overlapping with an inner surface (9b) of the sidewall (9) of the body portion (1).