A safety syringe includes a barrel, a plunger, a socket, a connector and a needle. The plunger is inserted in the barrel. The connector is inserted in the socket. The needle is connected to the connector. The socket includes a conical internal face in contact with a conical external face of the connector, an annular internal rib inserted in an annular external groove of the connector, and an annular internal groove for receiving an anchoring ring of the connector, thus retaining the connector in the socket. The plunger is movable backward to draw medicine into the barrel via the needle. The plunger is movable forward to extrude the medicine from the barrel via the needle. As the plunger is in contact with the anchoring ring, a larger force can be used to push the connector and the needle further forward from the socket to detach the needle from the socket.