The present invention generally relates to an automatic lancing device for withdrawing a blood sample, comprising a pushing member positioned at a back end of a body and a rotatable cap combined with a front end of the body for regulating the combination length of the body and the ejection length of a lancet, thereby obtaining a blood sample exactly at a desired position without misoperation and adjusting the penetration length of lancet according to depth of the skin.