Method for producing a capsule for obtaining beverages from a film of thermoformable material comprising the following step: formation of the capsule by thermoforming a predefined portion of said film, wherein said thermoforming process comprises a step of heating said predefined portion and a step of shaping said predefined portion thus heated, said method further comprises the following step: pre-heating said predefined portion of said film, wherein said pre-heating is performed before said formation by thermoforming, so that said predefined portion is subjected to two heating steps; said step of formation of the capsule by thermoforming a predefined portion of said film comprises the following sub-steps: a first sub-step of partial thermoforming in a first partial thermoforming station for hot thermoforming so as to obtain an object having a shape and/or a dimension which is different from the shape and/or dimension, respectively, of said capsule; and a second sub-step of final formation in a second final thermoforming station so as to obtain said capsule from said object wherein said second sub-step is performed without supplying heat. formation of the capsule by thermoforming a predefined portion of said film, wherein said thermoforming process comprises a step of heating said predefined portion and a step of shaping said predefined portion thus heated, said method further comprises the following step: pre-heating said predefined portion of said film, wherein said pre-heating is performed before said formation by thermoforming, so that said predefined portion is subjected to two heating steps; said step of formation of the capsule by thermoforming a predefined portion of said film comprises the following sub-steps: a first sub-step of partial thermoforming in a first partial thermoforming station for hot thermoforming so as to obtain an object having a shape and/or a dimension which is different from the shape and/or dimension, respectively, of said capsule; and a second sub-step of final formation in a second final thermoforming station so as to obtain said capsule from said object wherein said second sub-step is performed without supplying heat. pre-heating said predefined portion of said film, wherein said pre-heating is performed before said formation by thermoforming, so that said predefined portion is subjected to two heating steps; said step of formation of the capsule by thermoforming a predefined portion of said film comprises the following sub-steps: a first sub-step of partial thermoforming in a first partial thermoforming station for hot thermoforming so as to obtain an object having a shape and/or a dimension which is different from the shape and/or dimension, respectively, of said capsule; and a second sub-step of final formation in a second final thermoforming station so as to obtain said capsule from said object wherein said second sub-step is performed without supplying heat. a first sub-step of partial thermoforming in a first partial thermoforming station for hot thermoforming so as to obtain an object having a shape and/or a dimension which is different from the shape and/or dimension, respectively, of said capsule; and a second sub-step of final formation in a second final thermoforming station so as to obtain said capsule from said object wherein said second sub-step is performed without supplying heat.