Patients with major surgeries for gynecologic cancers need an appropriate protocol for control of acute postoperative pain. The aim of this study is to compare two techniques of intravenous patient control analgesia(PCA) and epidural PCA (PCEA) with a combined therapy in order to reach to an effective pain control with lower complications, earlier patient mobilization and lower admission time. 90 women with gynecologic malignancy who are candidate for surgery will be divided randomly in two groups . all patients will undergo to general anesthesia, group PCEA will receive epidural catheter from L3-L4 interspaces and only test dose will be administrated. After surgery, for group PCA analgesia medication will be infused, which contain 300 µg (6ml) fentanyl, 200mg((4ml) petidine and 8mg(2ml) ondansetron in Normal saline with the total volume of 100 ml. group 2 will receive Bupivacaine 0.5% 100 mg (24ml), fentanyl 150 µg (3ml) in Normal saline with total volume of 100 ml. rate of infusion in two groups will be 6-8 ml/h and blouse administration of 2 ml every 15 minute as needed. Severity of pain will control and record, at 2, 4. 6, 8, 12, 24, 36 and 48 hours postoperatively and during first patient mobilization. Additional analgesia with 0.1 mg / kg morphine will administrated if needed and will record. Any complication such as nausea, vomiting, respiratory depression, itching, sedation and in epidural group lower extremities parasthesia and any other complications evaluate and will record.