A method for sterilizing an implantable sensor for sensing an analyte in a body tissue. The implantable sensor has a sensor part which can be introduced into the body tissue, at least one sensor electrode for sensing the analyte, and at least one electronics part. The electronics part has at least one electronic component and is connected to the sensor part. The method includes (a) introducing the implantable sensor into a package, the package sealing the implantable sensor from bacteria and accommodating a radiation shield, (b) irradiating the implantable sensor in the package with sterilizing radiation from at least one irradiating direction, in particular with electron radiation, the radiation shield shielding the electronic component of the electronics part from the sterilizing radiation, the radiation shield being arranged in such a way that the sensor part is sterilized by the sterilizing radiation.