Thoracic surgery does take quite some time to recover from, and in general, patients may take as long as 6 to 8 weeks to recover if the chest has to be opened. Some pain and stiffness may continue for as long as 3 months more. The exact length of time it takes to recover will also depend on what procedure was done and your general state of health. Less invasive procedures can often mean quicker recovery times.