A medical connector of the present invention is characterized in that: when a male connector portion is inserted into a female connector portion, a first locking portion is engaged with the female connector portion to achieve a first locked state as well as a second locked state; when the second locked state is released by operation of a second unlock operating portion and the female connector portion is moved in a disengagement direction with respect to the male connector portion, the locking member is moved in the disengagement direction together with the female connector portion while keeping the first locked state; and when the female connector portion is rotated with respect to the male connector portion, the first locked state is released.