The invention relates to a method for producing an
electronic component. The method comprises: forming a first
semiconductor layer of a first material on a substrate of a second material, wherein the first material differs from the second material; forming a
dielectric structure on the first
semiconductor layer, wherein the
dielectric structure has a plurality of openings, and in the openings the first
semiconductor layer is exposed; epitaxially forming a second semiconductor layer on the first semiconductor layer, which in the openings is exposed, and at least in a region above the
dielectric structure, wherein the second semiconductor layer comprises or is formed from the first material; and forming a third semiconductor layer on or above the second semiconductor layer in a first region above the openings of the
dielectric structure and in a second region above the
dielectric structure. The method also comprises: forming a sacrificial structure on the second semiconductor layer; forming the third semiconductor layer on the sacrificial structure; and removing the sacrificial structure such that the third semiconductor layer is separated from the second semiconductor layer.