The duration of treatment varies depending on the severity of amblyopia and how well the child responds to therapy, often ranging from several weeks to months.