For sex, it depends on the state you're in. In some states 17 is ok, some you have to be 18. As far as dating, there is no law. I think it just depends on the two people and if they get along and where they are in life.