A controlled switching module (40, 42), for a multielectrode lead for an active implantable medical device, which connects a detection/stimulation electrode (28, 30) to one or the other conductor (36, 38) of a two-wire line. Two volatile controlled switches (52, 54), for example, complementary MOS associated with at least one non-volatile programmable memory component (68, 70), for example, a suspended nanotube cell or a magnetic tunnel junction cell, supply two previously programmed stable open or closed states. A generator maximum-minimum circuit (58) is coupled to the conductors at the input, and to the controlled switches at the output for selectively controlling them via the corresponding non-volatile memory component (68, 70).