Ignition device for ammunition, in particular medium-caliber ammunition, with at least one battery and with at least one electronic or electric ignition chain component, wherein the battery has a battery housing, wherein an electrolyte and at least two electrodes are arranged in the battery housing, wherein by means of the electronic ignition chain component an active charge of the ammunition can be made to explode, wherein the energy required for triggering the electronic or electric ignition chain component can be provided by means of the battery, characterised in that the battery housing has a cup-shaped recess, wherein the at least one electronic or electric ignition chain component is arranged at least partially in the cup-shaped recess.