The construction time for the pyramids of ancient Egypt varied depending on the specific pyramid and the resources allocated to its construction. The Great Pyramid of Giza, which is the most famous and largest of the pyramids, is estimated to have taken around 20 years to complete.
Most of the pyramids were built during the Old and Middle Kingdom periods, and the length of time for their construction could range from several years to several decades. Factors influencing the construction time included the size of the pyramid, the availability of labor, the technology used, and the logistical challenges of moving and placing massive stones.
For example, the smaller pyramids built during the Middle Kingdom might have taken just a few years, while others, like the Great Pyramid, were major undertakings that required extensive planning, labor, and resources.