The invention relates to a device for detecting an object, comprising a coil for generating a magnetic field in the region of the coil, a first electrode for generating an electrical field in the region of the electrode and an evaluating device for detecting the object on the basis of an influence of the magnetic field or the electrical field. According to the invention, a separating device is provided for suppressing a current flow through the coil in order to use the coil as an electrode.