Amniocentesis is a procedure that takes a sample of fetal water (amniotic fluid) from the uterus for diagnostic (water fetal analysis) or treatment purposes. Amniocentesis is usually done between the 16th and 20th week of pregnancy. Fetal water is a fluid that surrounds and protects the fetus during pregnancy. The procedure takes 30-45 minutes.