A capsule for holding an extractable product for dispensing a beverage is disclosed. The capsule comprising a circumferential wall, a bottom, a lid, and an entrance opening portion and an exit opening portion for letting fluid in the capsule and draining prepared beverage from the capsule, respectively, of which at least one opening portion is closed to prevent fluid from passing. The circumferential wall, the bottom and the lid of the capsule enclose an inner space that comprises an extractable product, and the capsule further comprises at least one moveable portion of the capsule that extends at a distance from a respective opening portion, and that is arranged to open the respective opening portion by being moved with respect to the respective opening portion.