Disclosed is an intramedullary nail and a method for embedding and extracting the same through which the problem of having difficulty to correctly determine the position of the intramedullary nail is solved, and the present invention has the following advantages: a correct and rapid determination of the position of the extracting incision, a small incision, a small hurt, a low infection rate, and a quick healing. The intramedullary nail comprises a nail main body; an end cover connected with a tip of the nail main body; a mark body; and a thread connecting the end cover with the mark body. The method for embedding intramedullary nail comprises embedding the thread and the mark body in subcutaneous soft tissues after the nail main body and the end cover are fixed in a tubular bone. And the method for extracting the intramedullary nail comprises determining a position of the mark body, and incising an extracting incision according to the position of the mark body. The position of the mark body is determined by a touch examination, an X-ray examination, or an ultrasonic examination. A surgeon can find the mark body and the thread connected to the mark body after the extracting incision is incised, and incise a path leading to the nail main body along the thread in soft tissues.