A medical device for detecting at least one analyte in a body fluid, the medical device comprising: • at least one analyte sensor having an insertable portion adapted for at least partially being inserted into a body tissue of a user, • at least one insertion cannula, wherein the analyte sensor at least partially is placed inside the insertion cannula; • at least one electronics unit, wherein the analyte sensor is operably connected to the electronics unit; • at least one housing, wherein the housing comprises at least one electronics compartment configured to at least partially receive the electronics unit and at least one sensor compartment configured to at least partially receive the analyte sensor, wherein the sensor compartment forms a sealed compartment receiving at least the insertable portion of the analyte sensor, wherein the sealed compartment comprises at least one detachable upper cap and at least one detachable lower cap, wherein the detachable lower cap is configured for detachment before insertion, thereby opening the insertable portion for insertion, wherein the insertion cannula is attached to the detachable upper cap, wherein the detachable upper cap is configured for detachment after insertion, thereby removing the insertion cannula, wherein the electronics compartment surrounds the sensor compartment; and • at least one insertion aid configured for enabling the user to drive the insertion cannula into the body tissue and to insert the insertable portion of the analyte sensor, wherein the insertion aid at least partially surrounds the housing, wherein the insertion aid comprises a detachable lower cover mechanically coupled to the detachable lower cap, wherein the detachable lower cover is configured such that a removal of the detachable lower cover removes the detachable lower cap, wherein the insertion aid comprises at least one frame displaceable on the skin of the user and which at least partially surrounds the housing and at least one upper cover movable against the frame, wherein the upper cover is directly or indirectly coupled to one or both of the insertion cannula or the detachable upper cap, such that a movement of the upper cover against the frame drives the insertion cannula. • at least one analyte sensor having an insertable portion adapted for at least partially being inserted into a body tissue of a user, • at least one insertion cannula, wherein the analyte sensor at least partially is placed inside the insertion cannula; • at least one electronics unit, wherein the analyte sensor is operably connected to the electronics unit; • at least one housing, wherein the housing comprises at least one electronics compartment configured to at least partially receive the electronics unit and at least one sensor compartment configured to at least partially receive the analyte sensor, wherein the sensor compartment forms a sealed compartment receiving at least the insertable portion of the analyte sensor, wherein the sealed compartment comprises at least one detachable upper cap and at least one detachable lower cap, wherein the detachable lower cap is configured for detachment before insertion, thereby opening the insertable portion for insertion, wherein the insertion cannula is attached to the detachable upper cap, wherein the detachable upper cap is configured for detachment after insertion, thereby removing the insertion cannula, wherein the electronics compartment surrounds the sensor compartment; and • at least one insertion aid configured for enabling the user to drive the insertion cannula into the body tissue and to insert the insertable portion of the analyte sensor, wherein the insertion aid at least partially surrounds the housing, wherein the insertion aid comprises a detachable lower cover mechanically coupled to the detachable lower cap, wherein the detachable lower cover is configured such that a removal of the detachable lower cover removes the detachable lower cap, wherein the insertion aid comprises at least one frame displaceable on the skin of the user and which at least partially surrounds the housing and at least one upper cover movable against the frame, wherein the upper cover is directly or indirectly coupled to one or both of the insertion cannula or the detachable upper cap, such that a movement of the upper cover against the frame drives the insertion cannula.