It will initially be free, but if you are found to be the father then you will need to pay for the DNA test.
The information provided in this answer does not create an attorney-client relationship and is not considered to be legal advice.
Someone has to pay the laboratory for their professional services. If a paternity case is commenced, the court will order that DNA testing occur. Sometimes a person who is alleged to be the father will pay up front, but if he is found not to be the father, the mother will have to repay him.
Sign up to receive a 3-part series of useful information and advice about child custody law.