The Bible doesn't specify how long it took the Magi to reach Jesus. However, we can infer some things based on the text:
* The Star: They saw the star "in the east" (Matthew 2:2), which led them to believe the King of the Jews had been born. This suggests they began their journey some time after Jesus's birth.
* Herod's Decree: When the Magi arrived in Jerusalem, Herod asked them when the star had appeared (Matthew 2:7). Based on their answer, he ordered the killing of all male children two years old and under in Bethlehem (Matthew 2:16). This indicates that the Magi's visit may have occurred up to two years after Jesus's birth.
* The House: Matthew 2:11 states that the Magi found Jesus in a "house," not a manger. This suggests that Joseph and Mary had already moved from the stable to a more permanent residence.
Considering these points, it's generally believed that the Magi arrived sometime between a few months to two years after Jesus's birth. The traditional celebration of Epiphany on January 6th, which marks the visit of the Magi, is based on the assumption that they arrived fairly soon after Jesus's birth, but this is not explicitly stated in the Bible.