A device for avoiding excessive loads on the human foot when walking comprises a shoe insole having at least one force sensor for generating a measurement signal indicating loads and/or partial loads on the foot; an analyzing unit electrically connected to the at least one force sensor for analyzing the measurement signal of the at least one force sensor; an electric power source to provide electric power to the analyzing unit; and a feedback control signal generator which generates a feedback control signal on the basis of the analysis of the analyzing unit for monitoring loads and/or partial loads on the foot, e.g., by means of an actuator, wherein the sensitive components are disposed in a housing to protect them, in particular from water and/or pressure loads. Furthermore, a method for operating the device is provided.