Abstract: A connector is provided with a highly reliable noise removing function. The connector includes a magnetic element (30) at a rear end portion of a housing (10), and tabs (14) are inserted through a rectangular hole (31) which is a through hole formed in the magnetic element (30). The housing (10) is provided with a magnetic element receptacle (24) having a rectangular tubular shape for enclosing the outer circumferential surface of the magnetic element (30). One end surface of the magnetic element (30) is exposed to the outside from the rear end surface of the magnetic element receptacle (24). Since the magnetic element (30) has its outer circumferential surface enclosed by the magnetic element receptacle 24, it can be protected from contact with other parts and prevented from being cracked.