A procedure in which an anesthetic agent is injected directly near a nerve to block pain. A nerve block is a form of regional anesthesia.