The invention describes a method and an apparatus for producing shock waves in a fluid for medical applications. In a work volume filled with fluid, the pressure is increased mechanically by pulses. The pressure pulse produced in the work volume is transferred to the fluid volume by means of a partition, in order to produce shock waves in the fluid volume.