While a small number of bed-wetting cases are due to medical conditions, such as a kidney infection or other urological problems, bed-wetting is most often a developmental issue. Children who wet the bed simply don't "shut off" urine production at night. This ability normally happens around age 5, when bed-wetting will stop on its own for 90% of kids.