A DNA test on an unborn baby can be performed from as early as 7 weeks into the pregnancy. This type of DNA test is called a prenatal paternity test or is known as NIPP –non-invasive prenatal paternity (NIPP). This novel procedure is ideal if there is uncertainty surrounding the father of the baby.