At what age can a child leave home according to the law in Texas?

The age of majority in TX is 18, therefore that