A vestibular prosthesis includes micro-electric-mechanical (MEMS) sensors, gyroscopes in each sensitivity axis (X, Y, Z), accelerometers in each sensitivity axis (X, Y, Z) to detect an angular and linear movement providing displacement measurements, gyroscopes in each one of the spatial axes (X, Y, Z), a microprocessor connected to the MEMS sensors and producing an electric pulse pattern or a continuous galvanic current pattern, a conditioning unit that amplifies and conditions the microprocessor output to apply current to the stimulation electrodes, the microcontroller being configured to determine the displacement of the cupula and the otolithic mass, determine a membrane potential as a result of a displacement detected by the MEMS sensors by means of determining a transduction current, and determine an action potential discharge pattern for the primary afferent neuron, which synapses with the hair cell by means of a mathematical model of the informative process of the vestibular mechanoreceptor.