The present invention relates to a handheld electronic soap device (1), where pH neutral water is poured in the device through a water inlet (2) into an electrolytic cell (11). The pH neutral water is split into acidic ionized and alkaline ionized water by an electrolysis. The alkaline and acidic water can be used for cleaning and rinsing of skin or hair. More particularly, the alkaline water enables to clean skin or hair, whereas the acid water is important to maintain the acid environment on hairs and skin. According to the present invention a user can select between acidic or alkaline water to be poured out of the device through a water outlet (4).