Abstract Background Osteonecrosis of the femoral head (ONFH) can lead to pain and loss of function of the hip joint, which places a great burden on patients and society. Surgery is the main treatment for osteonecrosis of the femoral head, and quadratus femoris muscle pedicle bone grafting has a definite therapeutic effect as one method of surgery for the treatment of ONFH. However, the posterior superior retinacular artery is often injured during quadratus femoris muscle pedicle bone graft surgery. There is evidence that this artery is extremely important to the femoral head, as injury to this artery will seriously affect the blood supply of the femoral head. Therefore, this situation restricts the clinical application of quadratus femoris muscle pedicle bone grafts. We aimed to explore a new surgical method of quadratus femoris muscle pedicle bone grafting that can preserve the integrity of the posterior superior retinacular artery. Methods We modified the traditional quadratus femoris muscle pedicle bone graft and preserved the integrity of the posterior superior retinacular artery. To explore the safety and feasibility of the operation, we simulated the operation on 6 fresh frozen cadavers (12 hips) and measured the related data. We also tried this modified surgical method in the clinic and collected detailed data from the patients. Results By simulating the modified quadratus femoris muscle pedicle bone graft on the hip joints of fresh frozen cadavers, we found that the posterior superior retinacular artery existed in all cadaver specimens and that the sources may be different (MFCA or IGA). In the modified operation, the joint capsule did not need to be cut during the operation; therefore, the integrity of the posterior superior retinacular artery was preserved. The quadratus femoris muscle was exposed via the posterior approach of the hip joint, and then the quadratus femoris muscle pedicle bone flap was chiseled. After the pedicle of the quadratus femoris muscle was loosened properly, the migration distance of the quadratus femoris muscle pedicle bone flap reached 5.89 ± 0.45 (χ ± s) cm. The bone flap was trimmed properly and placed on one side. Next, we drilled a bone tunnel from the external intertrochanteric aspect of the capsule of the hip joint, and the bone tunnel broke through the sclerosing zone and proceeded straight to the necrotic area of the femoral head. Next, the necrotic bone was removed with a ring saw and arc bone knife, autogenous bone or allogeneic bone was filled into the bone groove according to the situation, and the cancellous bone in the bone groove was tamped by percussion. Then, the bone flap was inserted into the bone groove, and appropriate pressurization was performed. The depth of the bone groove was determined by the location of ONFH. We found that the furthest distance between the bone groove and the femoral head was 4.76 ± 0.07 (χ ± s) cm and that the length of the bone flap was (4.91 ± 0.23) (χ ± s) cm. This means that when the depth of the bone groove reached the area of ONFH, the quadratus femoris muscle pedicle bone flap had a sufficient length and migration distance to be embedded in the area of ONFH and firmly fixed, and the quadratus femoris did not have much tension. The closest distance between the posterior superior retinacular artery and the bone groove was (1.11 ± 0.96) (χ ± s) cm. When the bone groove was created in this area, the edge of the bone groove had a safe distance of at least 1 cm from the posterior superior retinacular artery of the femoral head. We attempted to implement this modified operation clinically. During the procedure, the quadratus femoris muscle pedicle bone flap was embedded into the drilled bone groove and fixed with a magnesium nail. There was no sliding of the bone flap after the operation, and the posterior superior retinacular artery was intact. We followed the patient for 3 months and found that the patient recovered well with no weight-bearing by the affected limb. The duration of the modified operation was shorter than that of the traditional quadratus femoris muscle pedicle bone graft, the amount of bleeding was significantly reduced, the postoperative pain was lessened, and no special discomfort was reported. Postoperative imaging examination showed that the collapse of the femoral head had been partially corrected and that the bone flap had gradually fused with the surrounding bone. Conclusions Through this experimental study, we confirmed the feasibility of the modified method for quadratus femoris muscle pedicle bone grafting with preservation of the posterior superior retinacular artery. This modified operation not only retains the integrity of the posterior superior retinacular artery of the femoral head but also reduces the difficulty of the operation and shortens the surgical time, which is of great clinical significance.