An in vivo amperometric sensor is provided for measuring the concentration of an analyte in a body fluid. The sensor comprises a counter electrode and a working electrode, and the working electrode comprises a sensing layer which is generally water permeable and arranged on a support member adjacent to a contact pad. The sensing layer comprises an immobilized enzyme capable of acting catalytically in the presence of the analyte to cause an electrical signal. The sensing layer has an upper surface facing the body fluid and a lower surface facing away from the body fluid, and the immobilized enzyme is distributed within the sensing layer in such a way that the enzyme concentration in the middle between the upper and lower surfaces is at least as high as on the upper surface of the sensing layer.