diff --git a/lib/modules/manager/pip-compile/common.spec.ts b/lib/modules/manager/pip-compile/common.spec.ts
index 71fbf05bc31552138cff92ec50ebc855a2a18a82..ffc8c58a37c9cb574027c7c5cdd7327cdf4a160b 100644
--- a/lib/modules/manager/pip-compile/common.spec.ts
+++ b/lib/modules/manager/pip-compile/common.spec.ts
@@ -23,6 +23,7 @@ describe('modules/manager/pip-compile/common', () => {
   describe('extractHeaderCommand()', () => {
     it.each([
       '-v',
+      '--all-extras',
       '--generate-hashes',
       '--resolver=backtracking',
       '--resolver=legacy',
diff --git a/lib/modules/manager/pip-compile/common.ts b/lib/modules/manager/pip-compile/common.ts
index b2771c9547ed9b352537b06190312d6fe066ff3f..c1dd0534c2a01f0ed677c122be6c35dcefb19ac0 100644
--- a/lib/modules/manager/pip-compile/common.ts
+++ b/lib/modules/manager/pip-compile/common.ts
@@ -84,6 +84,7 @@ export const optionsWithArguments = [
 ];
 export const allowedPipOptions = [
   '-v',
+  '--all-extras',
   '--allow-unsafe',
   '--generate-hashes',
   '--no-emit-index-url',
@@ -171,6 +172,10 @@ export function extractHeaderCommand(
       result.emitIndexUrl = true;
       continue;
     }
+    if (arg === '--all-extras') {
+      result.allExtras = true;
+      continue;
+    }
 
     logger.warn(`pip-compile: option ${arg} not handled`);
   }
diff --git a/lib/modules/manager/pip-compile/types.ts b/lib/modules/manager/pip-compile/types.ts
index 4d7ad9ad242ebdd3457c0be96d145ad7d2e12b75..c496e01c886a7db3f5035a2da58b99e1d235dbf5 100644
--- a/lib/modules/manager/pip-compile/types.ts
+++ b/lib/modules/manager/pip-compile/types.ts
@@ -1,4 +1,4 @@
-// managers supported by pip-tools Python package
+// managers supported by pip-tools mapped to Renovate's internal names
 export type SupportedManagers =
   | 'pip_requirements'
   | 'pip_setup'
@@ -11,6 +11,7 @@ export interface PipCompileArgs {
   isCustomCommand: boolean;
   constraintsFiles?: string[];
   extra?: string[];
+  allExtras?: boolean;
   extraIndexUrl?: string[];
   indexUrl?: string;
   noEmitIndexUrl?: boolean;