A current transformer including a bushing, a primary conductor extending inside the bushing, which is electrically insulated, and includes a hairpin portion arranged outside the bushing, a tube arranged around the primary conductor along the hairpin portion, an electrically insulating material arranged in the tube, which electrically insulating material is arranged around the primary conductor insulation in the hairpin portion, a core arranged around the tube, and a secondary winding wound around the core.