Under the laws of all states in this country, closeness in age as a legal defense to statutory rape is not recognized as a viable defense.If an adult (over the age of eighteen) has consensual sex with a person who is under the age of eighteen (a minor) there has been a violation of the statute for the reason that minors are deemed under the law to not be able to make an informed and knowing decision on the subject.