An inductor assembly comprising: - at least one inductor coil, the inductor coil including - a bobbin made of electrically insulating material and - an inductor winding made of an electric conductor wound on the bobbin, - the inductor winding having an outer circumference and two end faces, and - an electric insulation covering the outer circumference of the inductor winding; - a metallic inductor housing at least partially enclosing the outer circumference of the inductor winding; and - a potting material both contacting the inductor coil and the metallic inductor housing and thermally coupling the inductor coil to the metallic inductor housing, characterized in that coil lids made of electrically insulating material at least partially cover the end faces of the inductor winding and adjacent areas of the electric insulation covering the outer circumference of the inductor winding and wherein the coil lids do not cover those areas of the electric insulation, which are thermally coupled to the metallic inductor housing via at least one heat transfer enhancing interface provided between the electric insulation and the metallic inductor housing, such that any creepage path starting from an end face of the inductor winding to the metallic inductor housing is directed along an overlap section between the coil lids and the adjacent areas of the electric insulation covering the outer circumference of the inductor winding and a distance of any point of the end faces of the inductor winding to the metallic inductor housing along any way not passing through the electrically insulating material of the coil lids or the bobbin is at least a required minimum creepage distance. - at least one inductor coil, the inductor coil including - a bobbin made of electrically insulating material and - an inductor winding made of an electric conductor wound on the bobbin, - the inductor winding having an outer circumference and two end faces, and - an electric insulation covering the outer circumference of the inductor winding; - a bobbin made of electrically insulating material and - an inductor winding made of an electric conductor wound on the bobbin, - the inductor winding having an outer circumference and two end faces, and - an electric insulation covering the outer circumference of the inductor winding; - a metallic inductor housing at least partially enclosing the outer circumference of the inductor winding; and - a potting material both contacting the inductor coil and the metallic inductor housing and thermally coupling the inductor coil to the metallic inductor housing, characterized in that coil lids made of electrically insulating material at least partially cover the end faces of the inductor winding and adjacent areas of the electric insulation covering the outer circumference of the inductor winding and wherein the coil lids do not cover those areas of the electric insulation, which are thermally coupled to the metallic inductor housing via at least one heat transfer enhancing interface provided between the electric insulation and the metallic inductor housing, such that any creepage path starting from an end face of the inductor winding to the metallic inductor housing is directed along an overlap section between the coil lids and the adjacent areas of the electric insulation covering the outer circumference of the inductor winding and a distance of any point of the end faces of the inductor winding to the metallic inductor housing along any way not passing through the electrically insulating material of the coil lids or the bobbin is at least a required minimum creepage distance.