New York courts can make custody orders only until the child reaches the age of 18. Custody orders will last until that age unless the order is modified or the child becomes legally emancipated, which can be as early as 16 depending upon the situation.