Surgical abortion can be performed up to 24 weeks of pregnancy, though the specific timing and method used depend on the individual's health, the stage of the pregnancy, and the regulations of the region. Typically, vacuum aspiration is used up to 14-16 weeks of pregnancy, while D&E is employed for later stages.