Bedwetting (medically known as enuresis) is the involuntary loss of urine. When it occurs during sleep at night it is referred to as nocturnal enuresis.