A method for preparing a beverage through a capsule inserted in a beverage machine; the capsule comprising an enclosure containing one or more beverage ingredients, wherein a brewing fluid is introduced in the enclosure to brew the said one or more beverage ingredients, wherein a brewed liquid is filtered by a filtering wall and delivered from the capsule, wherein the filtering wall extends from substantially the bottom of the enclosure and said filtering wall is associated to an overflow wall that forces the brewed liquid to traverse at least one overflow aperture. The method is particularly suitable for brewing a tea containing capsule.