Step pyramids are a form of pyramid . The earliest Egyptian pyramids were step pyramids . During the Third dynasty of Egypt , the architect Imhotep built Egypt 's first step pyramid , the Pyramid of Djoser , by building a series of six successively smaller mastabas ( an earlier form of tomb structure ) , one a top of another .