This depends on who's providing the theory but the best answer would be 8-10 years old. Of course, children start walking alone often even earlier, especially in societies where the raising children is not taken seriously or the children have high autonomy over their actions.