An electromagnetic interference (EMI) filter includes a first magnetomotive element, a first wire, a second wire, and a second magnetomotive element. The second magnetomotive element forms a closed magnetic loop, which comprises a first portion penetrating a through hole of the first magnetomotive element. Thus, the first wire and the second wire in the Filter filter not only differential mode noise but also common mode noise.