Background: Appropriate pain management promotes immediate mobilization and allows the parturient to adequately care for her neonate after cesarean section (CS). Objectives: This trial objective was to compare the type III and type II quadratus lumborum block (QLB) to transversus abdominis plane block (TAPB) regarding postoperative analgesic effect in CS. Methods: This randomized, controlled, single-blind trial involved 60 women presenting for CS under spinal anesthesia. The patients were assigned randomly to either the QLB type III, QLB type II, or lateral TAPB group. All blocks were performed using 20 mL of bupivacaine 0.25% bilaterally at the end of the operation with ultrasound guidance. Pain was assessed using the numerical rating scale (NRS) score at the post-anesthesia care unit (PACU) at 2, 4, 6, 8, 12, 18, and 24 hours. The level of patient satisfaction was graded on a 5-point Likert scale. Results: Numerical rating scale measurements at 6, 8, and 12 hours and total consumed meperidine in the 1st 24 hours after the operation were reduced significantly in QLB III than in QLB II and TAPB groups (P < 0.05) with an insignificant difference between the QLB II and TAPB groups (P > 0.05). The onset of the first request for analgesia was delayed significantly in QLB III, compared to QLB II and TAPB groups (P < 0.05), without a significant difference between the QLB II and TAPB groups (P > 0.05). Patient satisfaction and adverse events (e.g., postoperative nausea and vomiting, bradycardia, and hypotension) exhibited insignificant differences among the three groups (P > 0.05). Conclusions: The QLB type III ensured better analgesia as evidenced by significantly lower pain measurements and amount of meperidine in the first 24 hours after the operation with delayed time of the first rescue analgesia in comparison to QLB II and TAPB; however, QLB II and TAPB were similar.