A semigroup B in which every element is an idempotent can be embedded into such a semigroup B , where all the local submonoids are isomorphic, and in such a way that B and B satisfy the same equational identities. In view of the properties preserved under this embedding, a corresponding embedding theorem is obtained for regular semigroups whose idempotents form a subsemigroup.