A method for manufacturing an
electric machine, made up of a housing, a
stator accommodated in the housing, which is formed from a
stator body and
stator windings, a rotor, which is supported in the housing so as to be rotatable about a rotor axis, and a bearing support fastened on the housing, the housing being manufactured in that a housing foam part is manufactured from at least three individual foam parts and a housing cast blank is manufactured using the housing foam part in accordance with a
lost foam casting method. For this purpose, individual foam parts are made up of a center disk, which has an essentially hollow-cylindrical design and forms an intermediate piece of a housing foam part, an annular disk, which has an essentially hollow-cylindrical design and forms another intermediate piece of the housing foam part, and a bearing support disk, which has an essentially cup-shaped design and forms an end of the housing foam part. The method allows for a flexible design of the housing of the
electric machine using as few tools as possible to manufacture the housing foam part.