The duration of pain relief from an iliohypogastric nerve block can vary depending on the type and amount of local anesthetic used. Typically, the effects can last several hours to a few days. In some cases, longer-acting anesthetics or adjunct medications may be used to prolong the duration of pain relief.