The present disclosure relates to a suturing device with built-in needle-transfer of a double-ended needle, the suturing device comprising: a first jaw element comprising a first needle lock device for retaining and releasing a first end of the double-ended needle; a second jaw element comprising a second needle lock device for retaining and releasing a second end of the double-ended needle, wherein the first and second jaw elements are movable in relation to each other between an open position and a closed position; a needle-transferring mechanism for alternately transferring the double-ended needle from one of the jaw elements to the other when the first and second jaws are moved from the open position to the closed position, said needle transferring mechanism comprising: a first rotatable wheel connected to the first needle lock device; said first rotatable wheel comprising a first wheel inner portion rigidly connected to a first wheel outer portion and a second rotatable wheel connected to the second needle lock device, said second rotatable wheel comprising a second wheel inner portion rigidly connected to a second wheel outer portion, wherein a first force is propagated from the first jaw element to the second rotatable wheel and wherein a second force is propagated from the second jaw element to the first rotatable wheel when the first and second jaw elements are moved in relation to each other from the open position to the closed position, thereby causing the first and second rotatable wheels to rotate, wherein the first and second rotatable wheels are arranged such that a rotation of the first and second rotatable wheels causes one of the needle lock devices to lock the double-ended needle and the other needle lock device to release the double-ended needle.