A method for determining faults in a stator of a generator, in particular a synchronous generator of a wind energy installation, is therefore provided. The stator has a plurality of stator coils (S1-S5). A current source (300) for generating a current flow through the winding of the generator is connected. A magnetic field which is generated by stator coils (S1-S5) of the generator is captured by a means (400) for capturing a magnetic field. A position of a fault is determined by identifying those stator coils (S1-S5) which do not generate a magnetic field.