To improve the comfort properties of nocturnal enuresis alarm system, a modular humidity sensor should be replaced with a textile sensor. During research, two-electrode textile moisture sensor has been developed to study its electrical properties. To define the optimal type of a sensor, several sensor samples have been made using different configurations of sensor electrodes, yarn type and distance between parallel seams. Samples of sensor have been tested in terms of signal detection speed.