A sensor device for detecting at least one analyte in a fluid, in particular in a body fluid, is disclosed. The sensor device includes at least one closed detector chamber and at least one electrical sensor having at least one sensor electrode. The detector chamber can be connected to the fluid in such a way that the analyte can penetrate into the detector chamber. The detector chamber includes at least one detector substance. The detector substance is designed to influence at least one electrical property of the electrical sensor, in particular at least one electrical property of the sensor electrode, depending on a concentration of the analyte in the detector chamber.