It is aimed to provide a connector capable of ensuring lock reliability. A connector includes a detector allowed to move from a standby position to a detection position after both housings are connected. The detector includes a locking piece to be locked to a lock arm at the standby position before the housings are connected. The lock arm of the housing includes a releasing portion to be pressed at the time of separating the housings, a stopper contactable by the detector having reached the detection position at a position facing the releasing portion, two links linking the releasing portion and the stopper and facing each other, and an insertion hole formed inside the releasing portion, the stopper and the links, the locking piece being inserted into the insertion hole.