The device for perforating a capsule containing an infusion product comprises a support of a filter holder for automatic or semi-automatic coffee machines in which the capsule and a perforating element of the capsule contained in the seat of the filter holder are housed, the perforating element has a surface having circular shape having on a face thereof a plurality of spikes having a maximum reciprocal distance that is smaller than the diameter of the collar of the capsule such as to realize, on the aluminum closing film of the same capsule, a plurality of holes communicating with the infusion product.