Bedwetting may be caused by an infection or a neurologic disease. Children with neurologic diseases may also have daytime wetting.