Two cases with a long-standing thoracolumbar kyphosis due to ankylosing spondylitis are presented with a symptomatic localized destructive kyphotic lesion of the spine. Clinical and radiographic findings demonstrated a progressive vertebral and discovertebral kyphotic pseudarthrosis, known as an Andersson lesion, at the L1 and L1-2 level, respectively. Surgical correction and stabilization was performed by an extending transpedicular wedge resection osteotomy to restore spinal stability, to facilitate fracture healing as well as to restore the sagittal balance of the ankylosed spine. To predict the effect of a surgical correction of the Andersson lesion on the sagittal balance, deformity planning was performed preoperatively. The indication for surgery, the surgical technique and the 2 years' clinical results are described. In addition, the difficulties experienced with preoperative deformity planning are evaluated.