The duration for taking iron supplements varies depending on the severity of the deficiency and the child's response to treatment. It usually ranges from 3 to 6 months. Follow-up blood tests are essential to monitor progress and adjust dosages as necessary.