The condition of urinating when you cough during pregnancy usually occurs in late pregnancy, when the capacity of the bladder decreases due to the significant enlargement of the uterus, which presses on the bladder. In addition, because of the pressure on the pelvis caused by the enlarged uterus, it can affect the external urethral sphincter and cause relaxation of the urethral sphincter, so it can cause relative difficulty in controlling urination, also known as stress urinary incontinence. Usually, urine spontaneously overflows when the abdominal pressure increases, such as coughing, sneezing, walking fast and other situations that cause increased abdominal pressure, which may cause the urine to pass on its own and cannot be controlled, and can generally be restored after certain postpartum exercises.