Irreversible electroporation (IRE) is a novel image‐guided tumor ablation technique with the ability to generate a window for the establishment of systemic antitumor immunity. IRE transiently alters the tumor’s immunosuppressive microenvironment while simultaneously generating antigen release, thereby instigating an adaptive immune response. Combining IRE with immunotherapeutic drugs, i.e., electroimmunotherapy, has synergistic potential and might induce a durable antitumor response. The primary objective of this study is to assess the safety of the combination of IRE with IMO‐2125 (a toll‐like receptor 9 ligand) and/or nivolumab in patients with metastatic pancreatic ductal adenocarcinoma (mPDAC). In this randomized controlled phase I clinical trial, 18 patients with mPDAC pretreated with chemotherapy will be enrolled in one of three study arms: A (control): nivolumab monotherapy; B: percutaneous IRE of the primary tumor followed by nivolumab; or C: intratumoral injection of IMO‐2125 followed by percutaneous IRE of the primary tumor and nivolumab. Assessments include contrast enhanced computed tomography (ceCT),18F‐FDG and18F‐BMS‐986192 (PD‐L1) positron emission tomography (PET)‐CT, biopsies of the primary tumor and metastases, peripheral blood samples, and quality of life and pain questionnaires. There is no curative treatment option for patients with mPDAC, and palliative chemotherapy regimens only moderately improve survival. Consequently, there is an urgent need for innovative and radically different treatment approaches. Should electroimmunotherapy establish an effective and durable anti‐tumor response, it may ultimately improve PDAC’s dismal prognosis.