Abstract: The invention relates to a device for feeding coffee powder (a) into a brewing chamber of a coffee machine, comprising a brewing chamber container (1) having a filling opening (2) for receiving and brewing the coffee powder (a) and a feeding apparatus (3) for feeding the coffee powder (a) into the brewing chamber container (1) through the filling opening (2). By means of a shaking apparatus (4), which is coupled to the brewing chamber container (1), the brewing chamber container (1) is set vibrating during and/or after the filling with coffee powder. As a result, the coffee powder put into the brewing chamber container is compressed and evened out and, in particular, the coffee powder is prevented from piling up in the form of hills as the coffee powder is put into the brewing chamber container.