{
 "version": "2.2",
 "instance": {
  "esoa-20251231x11k.htm": {
   "nsprefix": "esoa",
   "nsuri": "http://www.energyservicesofamerica.com/20251231",
   "dts": {
    "schema": {
     "local": [
      "esoa-20251231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/esma-arcrole-2018-11-21.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/2023/calculation-1.1.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2024-01-31/types.xsd",
      "https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd",
      "https://xbrl.fasb.org/srt/2026/elts/srt-roles-2026.xsd",
      "https://xbrl.fasb.org/srt/2026/elts/srt-types-2026.xsd",
      "https://xbrl.fasb.org/us-gaap/2026/ebp/elts/us-gaap-ebp-2026.xsd",
      "https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd",
      "https://xbrl.fasb.org/us-gaap/2026/elts/us-roles-2026.xsd",
      "https://xbrl.fasb.org/us-gaap/2026/elts/us-types-2026.xsd",
      "https://xbrl.sec.gov/country/2026/country-2026.xsd",
      "https://xbrl.sec.gov/dei/2026/dei-2026.xsd",
      "https://xbrl.sec.gov/stpr/2026/stpr-2026.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "esoa-20251231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "esoa-20251231_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "esoa-20251231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "esoa-20251231_pre.xml"
     ]
    },
    "inline": {
     "local": [
      "esoa-20251231x11k.htm"
     ]
    }
   },
   "keyStandard": 69,
   "keyCustom": 18,
   "axisStandard": 7,
   "axisCustom": 1,
   "memberStandard": 9,
   "memberCustom": 11,
   "hidden": {
    "total": 103,
    "http://fasb.org/us-gaap-ebp/2026": 94,
    "http://xbrl.sec.gov/dei/2026": 5,
    "http://www.energyservicesofamerica.com/20251231": 4
   },
   "contextCount": 103,
   "entityCount": 1,
   "segmentCount": 20,
   "elementCount": 165,
   "unitCount": 4,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap-ebp/2026": 233,
    "http://xbrl.sec.gov/dei/2026": 8
   },
   "report": {
    "R1": {
     "role": "http://www.energyservicesofamerica.com/role/DocumentDocumentAndEntityInformation",
     "longName": "00090 - Document - Document and Entity Information",
     "shortName": "Document and Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_eaLr3wquO0S8bImq_ol4Jw",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_eaLr3wquO0S8bImq_ol4Jw",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits",
     "longName": "00100 - Statement - STATEMENTS OF NET ASSETS AVAILABLE FOR BENEFITS",
     "shortName": "STATEMENTS OF NET ASSETS AVAILABLE FOR BENEFITS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "us-gaap-ebp:EmployeeBenefitPlanNoteReceivableFromParticipant",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits",
     "longName": "00200 - Statement - STATEMENT OF CHANGES IN NET ASSETS AVAILABLE FOR BENEFITS",
     "shortName": "STATEMENT OF CHANGES IN NET ASSETS AVAILABLE FOR BENEFITS",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R4": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlan",
     "longName": "10101 - Disclosure - DESCRIPTION OF PLAN",
     "shortName": "DESCRIPTION OF PLAN",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "4",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPolicies",
     "longName": "10201 - Disclosure - SIGNIFICANT ACCOUNTING POLICIES",
     "shortName": "SIGNIFICANT ACCOUNTING POLICIES",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "5",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurements",
     "longName": "10301 - Disclosure - FAIR VALUE MEASUREMENTS",
     "shortName": "FAIR VALUE MEASUREMENTS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "6",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureTaxStatus",
     "longName": "10401 - Disclosure - TAX STATUS",
     "shortName": "TAX STATUS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "7",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactions",
     "longName": "10501 - Disclosure - RELATED-PARTY AND PARTY-IN-INTEREST TRANSACTIONS",
     "shortName": "RELATED-PARTY AND PARTY-IN-INTEREST TRANSACTIONS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "8",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosurePlanTermination",
     "longName": "10601 - Disclosure - PLAN TERMINATION",
     "shortName": "PLAN TERMINATION",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanPlanTerminationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanPlanTerminationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertainties",
     "longName": "10701 - Disclosure - RISKS AND UNCERTAINTIES",
     "shortName": "RISKS AND UNCERTAINTIES",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributions",
     "longName": "10801 - Disclosure - DELINQUENT PARTICIPANT CONTRIBUTIONS",
     "shortName": "DELINQUENT PARTICIPANT CONTRIBUTIONS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanDelinquentParticipantContributionTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanDelinquentParticipantContributionTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipants",
     "longName": "10901 - Disclosure - TERMINATED PARTICIPANTS",
     "shortName": "TERMINATED PARTICIPANTS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanTerminatedParticipantsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanTerminatedParticipantsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureSubsequentEvents",
     "longName": "11001 - Disclosure - SUBSEQUENT EVENTS",
     "shortName": "SUBSEQUENT EVENTS",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanSubsequentEventTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanSubsequentEventTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributions",
     "longName": "11101 - Disclosure - Schedule H, Line 4a - Schedule of Delinquent Participant Contributions",
     "shortName": "Schedule H, Line 4a - Schedule of Delinquent Participant Contributions",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYear",
     "longName": "11201 - Disclosure - Schedule H, Line 4i - Schedule of Assets(Held at End of Year)",
     "shortName": "Schedule H, Line 4i - Schedule of Assets(Held at End of Year)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies",
     "longName": "20202 - Disclosure - SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "shortName": "SIGNIFICANT ACCOUNTING POLICIES (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "16",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsTables",
     "longName": "30303 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)",
     "shortName": "FAIR VALUE MEASUREMENTS (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "17",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanGeneralDetails",
     "longName": "40101 - Disclosure - DESCRIPTION OF PLAN - General (Details)",
     "shortName": "DESCRIPTION OF PLAN - General (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "18",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanPartTimeEmployeeMaximumScheduledHours",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanPartTimeEmployeeMaximumScheduledHours",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails",
     "longName": "40102 - Disclosure - DESCRIPTION OF PLAN - CONTRIBUTIONS (Details)",
     "shortName": "DESCRIPTION OF PLAN - CONTRIBUTIONS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "19",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanEmployerContributionMaximumAnnualCompensationToTotalCompensationPercentage",
      "unitRef": "Unit_Standard_pure_NcmCMRCFyUGfU4q6OhxiXQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanEmployerContributionMaximumAnnualCompensationToTotalCompensationPercentage",
      "unitRef": "Unit_Standard_pure_NcmCMRCFyUGfU4q6OhxiXQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails",
     "longName": "40103 - Disclosure - DESCRIPTION OF PLAN - VESTING (Details)",
     "shortName": "DESCRIPTION OF PLAN - VESTING (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "20",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanEmployeeContributionVestingPercentage",
      "unitRef": "Unit_Standard_pure_NcmCMRCFyUGfU4q6OhxiXQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanEmployeeContributionVestingPercentage",
      "unitRef": "Unit_Standard_pure_NcmCMRCFyUGfU4q6OhxiXQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails",
     "longName": "40104 - Disclosure - DESCRIPTION OF PLAN - NOTES RECEIVABLE FROM PARTICIPANTS (Details)",
     "shortName": "DESCRIPTION OF PLAN - NOTES RECEIVABLE FROM PARTICIPANTS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "21",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "us-gaap-ebp:EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "us-gaap-ebp:EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanPaymentOfBenefitsDetails",
     "longName": "40105 - Disclosure - DESCRIPTION OF PLAN - PAYMENT OF BENEFITS (Details)",
     "shortName": "DESCRIPTION OF PLAN - PAYMENT OF BENEFITS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "22",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "esoa:EmployerBenefitPlanVestedBalanceAutomaticLumpsumCashPaymentThreshold",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "esoa:EmployerBenefitPlanVestedBalanceAutomaticLumpsumCashPaymentThreshold",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanForfeitedAccountsDetails",
     "longName": "40106 - Disclosure - DESCRIPTION OF PLAN - FORFEITED ACCOUNTS (Details)",
     "shortName": "DESCRIPTION OF PLAN - FORFEITED ACCOUNTS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "23",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "us-gaap-ebp:EmployeeBenefitPlanForfeitedNonvestedAccount",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "us-gaap-ebp:EmployeeBenefitPlanForfeitedNonvestedAccount",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails",
     "longName": "40301 - Disclosure - FAIR VALUE MEASUREMENTS (Details)",
     "shortName": "FAIR VALUE MEASUREMENTS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "24",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_us-gaap_InvestmentTypeAxis_esoa_EmployeeBenefitPlanCommonCollectiveTrustCapitalPreservationFundMember_QEtDBf4ZvE-Fgbpxe4SwEw",
      "name": "us-gaap-ebp:EbpFairValueInvestmentNavRedemptionNoticePeriod",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_us-gaap_InvestmentTypeAxis_esoa_EmployeeBenefitPlanCommonCollectiveTrustCapitalPreservationFundMember_QEtDBf4ZvE-Fgbpxe4SwEw",
      "name": "us-gaap-ebp:EbpFairValueInvestmentNavRedemptionNoticePeriod",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
     "longName": "40302 - Disclosure - FAIR VALUE MEASUREMENTS - Plan's assets at fair value (Details)",
     "shortName": "FAIR VALUE MEASUREMENTS - Plan's assets at fair value (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "25",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel12And3Member_ISGvxIZ_skWyj-91SZg_2w",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
     "longName": "40303 - Disclosure - FAIR VALUE MEASUREMENTS - investments measured using the NAV per share practical expedient (Details)",
     "shortName": "FAIR VALUE MEASUREMENTS - investments measured using the NAV per share practical expedient (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "26",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_us-gaap_InvestmentTypeAxis_us-gaap_DefinedBenefitPlanCommonCollectiveTrustMember_x0FoeoMOr0ajBrwZ8LNilw",
      "name": "us-gaap-ebp:EbpFairValueInvestmentNavRedemptionNoticePeriod",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap-ebp:EbpFairValueInvestmentNavRedemptionNoticePeriod",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "unique": true
     }
    },
    "R27": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureTaxStatusDetails",
     "longName": "40401 - Disclosure - TAX STATUS (Details)",
     "shortName": "TAX STATUS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "27",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxDeterminationLetterObtained",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxDeterminationLetterObtained",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails",
     "longName": "40501 - Disclosure - RELATED-PARTY AND PARTY-IN-INTEREST TRANSACTIONS (Details)",
     "shortName": "RELATED-PARTY AND PARTY-IN-INTEREST TRANSACTIONS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "28",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_us-gaap_InvestmentTypeAxis_us-gaap-ebp_EmployeeBenefitPlanEmployerCommonStockFundMember_us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis_esoa_EmployeeBenefitPlanEmployerMember_VLjauHBe8kGNoouR-2pQrw",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentNumberOfShares",
      "unitRef": "Unit_Standard_shares_oS70EsPyz0-qE5HfjMafCA",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "unique": true
     }
    },
    "R29": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosurePlanTerminationDetails",
     "longName": "40601 - Disclosure - PLAN TERMINATION (Details)",
     "shortName": "PLAN TERMINATION (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "29",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanVestingPercentageInEventOfTermination",
      "unitRef": "Unit_Standard_pure_NcmCMRCFyUGfU4q6OhxiXQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanPlanTerminationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "esoa:EmployeeBenefitPlanVestingPercentageInEventOfTermination",
      "unitRef": "Unit_Standard_pure_NcmCMRCFyUGfU4q6OhxiXQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanPlanTerminationTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertaintiesDetails",
     "longName": "40701 - Disclosure - RISKS AND UNCERTAINTIES (Details)",
     "shortName": "RISKS AND UNCERTAINTIES (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "30",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_us-gaap_InvestmentTypeAxis_us-gaap-ebp_EmployeeBenefitPlanEmployerCommonStockFundMember_-rYp2smDYUyQVUMI-FVBPg",
      "name": "us-gaap-ebp:EbpRiskAndUncertaintyConcentrationOfInvestmentAtFairValueToTotalInvestmentsAmount",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_us-gaap_InvestmentTypeAxis_us-gaap-ebp_EmployeeBenefitPlanEmployerCommonStockFundMember_-rYp2smDYUyQVUMI-FVBPg",
      "name": "us-gaap-ebp:EbpRiskAndUncertaintyConcentrationOfInvestmentAtFairValueToTotalInvestmentsAmount",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributionsDetails",
     "longName": "40801 - Disclosure - DELINQUENT PARTICIPANT CONTRIBUTIONS (Details)",
     "shortName": "DELINQUENT PARTICIPANT CONTRIBUTIONS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "31",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTransferredLateToPlan",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionCorrectedOutsideVfcp",
       "p",
       "esoa:EmployeeBenefitPlanDelinquentParticipantContributionTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTransferredLateToPlan",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionCorrectedOutsideVfcp",
       "p",
       "esoa:EmployeeBenefitPlanDelinquentParticipantContributionTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipantsDetails",
     "longName": "40901 - Disclosure - TERMINATED PARTICIPANTS (Details)",
     "shortName": "TERMINATED PARTICIPANTS (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "32",
     "firstAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "esoa:EmployerBenefitPlanTerminatedParticipantsVestedAccountBalanceThresholdRequiredToMaintainInvestmentsGreaterThan",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "esoa:EmployeeBenefitPlanTerminatedParticipantsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "esoa:EmployerBenefitPlanTerminatedParticipantsVestedAccountBalanceThresholdRequiredToMaintainInvestmentsGreaterThan",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "esoa:EmployeeBenefitPlanTerminatedParticipantsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributionsDetails",
     "longName": "41101 - Disclosure - Schedule H, Line 4a - Schedule of Delinquent Participant Contributions (Details)",
     "shortName": "Schedule H, Line 4a - Schedule of Delinquent Participant Contributions (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "33",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "dei:EntityTaxIdentificationNumber",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionLateRepaymentIncluded",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "unique": true
     }
    },
    "R34": {
     "role": "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails",
     "longName": "41201 - Disclosure - Schedule H, Line 4i - Schedule of Assets(Held at End of Year) (Details)",
     "shortName": "Schedule H, Line 4i - Schedule of Assets(Held at End of Year) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "34",
     "firstAnchor": {
      "contextRef": "Duration_1_1_2025_To_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_riQJ8iIwe0u7u8Kl0xVxkg",
      "name": "dei:EntityTaxIdentificationNumber",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "As_Of_12_31_2025_dei_LegalEntityAxis_esoa_EBP002Member_UdKFVsE1P0WssG7a4RRKjw",
      "name": "us-gaap-ebp:EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution",
      "unitRef": "Unit_Standard_USD_fx59JFoBIkaCq3Eyv3QUgQ",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "p",
       "td",
       "tr",
       "table",
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "esoa-20251231x11k.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Document and Entity Information [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DefinedBenefitPlanCommonCollectiveTrustMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "DefinedBenefitPlanCommonCollectiveTrustMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Collective Trust [Member]",
        "terseLabel": "Collective investment trusts",
        "verboseLabel": "Collective Investment Trusts"
       }
      }
     },
     "auth_ref": [
      "r112",
      "r121",
      "r124",
      "r131"
     ]
    },
    "dei_DocumentInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "DocumentInformationLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "DocumentInformationTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Table]",
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "DocumentType",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EBP002Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EBP002Member",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributions",
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlan",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanForfeitedAccountsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanGeneralDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanPaymentOfBenefitsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurements",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsTables",
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTermination",
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTerminationDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactions",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertainties",
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertaintiesDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributions",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYear",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPolicies",
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies",
      "http://www.energyservicesofamerica.com/role/DisclosureSubsequentEvents",
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatus",
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatusDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipants",
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DocumentDocumentAndEntityInformation",
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits",
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the Retirement Plan Number 002.",
        "label": "E B P 002 [Member]",
        "terseLabel": "401K RETIREMENT SAVINGS PLAN"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EbpFairValueInvestmentNavRedemptionNoticePeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EbpFairValueInvestmentNavRedemptionNoticePeriod",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Fair Value, Investment, NAV, Redemption, Notice Period",
        "terseLabel": "Redemption Notice Period",
        "verboseLabel": "Redemption notice period",
        "documentation": "Period for redemption notice required for investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), that is measured at net asset value (NAV) per share as practical expedient for estimate of fair value, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days."
       }
      }
     },
     "auth_ref": [
      "r109",
      "r121"
     ]
    },
    "us-gaap-ebp_EbpRiskAndUncertaintyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EbpRiskAndUncertaintyAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "RISKS AND UNCERTAINTIES"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EbpRiskAndUncertaintyConcentrationOfInvestmentAtFairValueToTotalInvestmentsAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EbpRiskAndUncertaintyConcentrationOfInvestmentAtFairValueToTotalInvestmentsAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertaintiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Risk and Uncertainty, Concentration of Investment at Fair Value to Total Investments, Amount",
        "terseLabel": "Concentration risk, investment amount",
        "documentation": "Fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) as portion of total investments representing concentration risk at or above applicable threshold."
       }
      }
     },
     "auth_ref": [
      "r168"
     ]
    },
    "us-gaap-ebp_EbpRiskAndUncertaintyLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EbpRiskAndUncertaintyLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertainties",
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertaintiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Risk and Uncertainty [Line Items]",
        "terseLabel": "RISKS AND UNCERTAINTIES",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r168"
     ]
    },
    "us-gaap-ebp_EbpRiskAndUncertaintyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EbpRiskAndUncertaintyTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertainties",
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertaintiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Risk and Uncertainty [Table]",
        "documentation": "Disclosure of information about risk and uncertainty of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, concentration risk."
       }
      }
     },
     "auth_ref": [
      "r168"
     ]
    },
    "us-gaap-ebp_EbpSubsequentEventAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EbpSubsequentEventAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "SUBSEQUENT EVENTS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EbpSubsequentEventLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EbpSubsequentEventLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSubsequentEvents"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Subsequent Event [Line Items]",
        "terseLabel": "SUBSEQUENT EVENTS",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r52",
      "r136"
     ]
    },
    "us-gaap-ebp_EbpSubsequentEventTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EbpSubsequentEventTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSubsequentEvents"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Subsequent Event [Table]",
        "documentation": "Disclosure of information about subsequent event for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r52",
      "r136"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAccountingPolicyAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "SIGNIFICANT ACCOUNTING POLICIES"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAccountingPolicyLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPolicies",
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Accounting Policy [Line Items]",
        "terseLabel": "SIGNIFICANT ACCOUNTING POLICIES",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r173",
      "r182"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAccountingPolicyTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPolicies",
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Accounting Policy [Table]",
        "documentation": "Disclosure of information about accounting policy for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r173",
      "r182"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset",
        "totalLabel": "Total assets",
        "documentation": "Amount of asset held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r54",
      "r61",
      "r91",
      "r132",
      "r191"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAssetAbstract",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment",
        "totalLabel": "Total Investments and Loans",
        "documentation": "Amount of total assets in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, current value of investment, participant loan, and plan interest in master trust."
       }
      }
     },
     "auth_ref": [
      "r141",
      "r179"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value",
        "verboseLabel": "Current Value",
        "documentation": "Current value of investment, excluding plan interest in master trust, in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, derivative, investment measured at net asset value per share as practical expedient, and insurance contract."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r146"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration]",
        "documentation": "Indicates status of participation by participant for investment, excluding plan interest in master trust, in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r146"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Participant Loan, after Deemed Distribution",
        "verboseLabel": "Notes receivable from participants",
        "documentation": "Amount, after deemed distribution, of participant loan in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r146"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPartyInInterest": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentPartyInInterest",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Party-in-Interest [true false]",
        "documentation": "Indicates (true false) whether asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) was transacted with party-in-interest."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r143"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Basis of Accounting [Policy Text Block]",
        "terseLabel": "BASIS OF ACCOUNTING",
        "documentation": "Disclosure of accounting policy for basis of accounting used to prepare financial statements of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r173",
      "r182"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanCash",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanAsset",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Noninterest-Bearing Cash",
        "terseLabel": "Non-interest bearing cash",
        "documentation": "Amount of noninterest-bearing cash held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r73"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease",
     "crdr": "credit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
       "weight": -1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease",
        "totalLabel": "Total deductions",
        "documentation": "Amount of decrease in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r132",
      "r181"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease [Abstract]",
        "terseLabel": "Deductions:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense",
     "crdr": "credit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease from Administrative Expense",
        "terseLabel": "Fees and expenses",
        "documentation": "Amount of decrease in net asset available for benefit from administrative expense incurred by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r92",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant",
     "crdr": "credit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease from Payment to Participant",
        "terseLabel": "Distributions to participants or beneficiaries",
        "documentation": "Amount of decrease in net asset available for benefit from payment of benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, withdrawal."
       }
      }
     },
     "auth_ref": [
      "r58",
      "r87",
      "r92",
      "r100",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase",
        "totalLabel": "Total additions",
        "documentation": "Amount of increase in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r132",
      "r181"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase [Abstract]",
        "terseLabel": "Additions:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease)",
        "totalLabel": "Net increase in net assets available for benefits during the year",
        "documentation": "Amount of increase (decrease) in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r92",
      "r132",
      "r185"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Gain (Loss) on Investment",
        "terseLabel": "Net depreciation in fair value of investments",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from realized and unrealized gain (loss) on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r15",
      "r56",
      "r102",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Income (Loss) on Investment",
        "totalLabel": "Net investment (loss)",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from income (loss) on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Income (Loss) on Investment [Abstract]",
        "terseLabel": "Investment income (loss):"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Contribution",
        "totalLabel": "Total contributions",
        "documentation": "Amount of increase in net asset available for benefit from contribution to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r132",
      "r181"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Contribution [Abstract]",
        "terseLabel": "Contributions:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Employer Contribution, Cash and Noncash",
        "terseLabel": "Employer contributions",
        "documentation": "Amount of increase in net asset available for benefit from cash and noncash contributions from employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r85",
      "r86",
      "r92",
      "r170",
      "r187"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContributionNoncash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContributionNoncash",
     "crdr": "debit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Employer Contribution, Noncash",
        "terseLabel": "Discretionary profit-sharing contributions",
        "documentation": "Amount of increase in net asset available for benefit from noncash contribution from employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Interest and Dividend Income on Investment",
        "terseLabel": "Interest and dividends",
        "documentation": "Amount of increase in net asset available for benefit from interest and dividend income on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r103"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestIncomeOnNoteReceivableFromParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestIncomeOnNoteReceivableFromParticipant",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Interest Income on Note Receivable from Participant",
        "terseLabel": "Interest income on notes receivable from participants",
        "documentation": "Amount of increase in net asset available for benefit from interest income on note receivable from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r132",
      "r181"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Excluding Rollover",
        "terseLabel": "Employee contributions",
        "documentation": "Amount, excluding rollover, of increase in net asset available for benefit from contribution by participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r132",
      "r137",
      "r138",
      "r139",
      "r177",
      "r178"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Rollover",
        "terseLabel": "Rollovers",
        "documentation": "Amount of increase in net asset available for benefit from contribution transferred from another qualified plan or from individual retirement account of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Excludes contribution for participant transmitted by employer of participant in EBP."
       }
      }
     },
     "auth_ref": [
      "r132",
      "r137",
      "r138",
      "r139",
      "r177",
      "r178"
     ]
    },
    "esoa_EmployeeBenefitPlanCommonCollectiveTrustCapitalPreservationFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanCommonCollectiveTrustCapitalPreservationFundMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to collective investment trust - capital preservation fund.",
        "label": "Employee Benefit Plan, Common Collective Trust, Capital Preservation Fund [Member]",
        "terseLabel": "Collective investment trust - capital preservation fund"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanCommonCollectiveTrustGovernmentObligationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanCommonCollectiveTrustGovernmentObligationMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to collective investment trust - government obligation.",
        "label": "Employee Benefit Plan, Common Collective Trust, Government Obligation [Member]",
        "terseLabel": "Collective investment trust - government obligation"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanDelinquentParticipantContributionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanDelinquentParticipantContributionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "DELINQUENT PARTICIPANT CONTRIBUTIONS"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanDelinquentParticipantContributionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanDelinquentParticipantContributionTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for delinquent participant contribution for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Delinquent Participant Contribution [Text Block]",
        "terseLabel": "DELINQUENT PARTICIPANT CONTRIBUTIONS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "DESCRIPTION OF PLAN"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlan",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanForfeitedAccountsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanGeneralDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanPaymentOfBenefitsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails",
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTermination",
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTerminationDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipants",
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipantsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan [Line Items]",
        "terseLabel": "DESCRIPTION OF PLAN",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r171"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlan",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanForfeitedAccountsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanGeneralDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanPaymentOfBenefitsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails",
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTermination",
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTerminationDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipants",
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipantsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan [Table]",
        "documentation": "Disclosure of information about description of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r171"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlan"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan [Text Block]",
        "terseLabel": "DESCRIPTION OF PLAN",
        "documentation": "The entire disclosure for description of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, vesting and allocation provisions and disposition of forfeiture."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r3",
      "r4",
      "r60",
      "r132"
     ]
    },
    "esoa_EmployeeBenefitPlanEmployeeContributionVestingPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanEmployeeContributionVestingPercentage",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the vesting percentage of employee contribution  in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Employee Contribution, Vesting Percentage",
        "terseLabel": "Employee contribution, vesting percentage"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerCommonStockFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanEmployerCommonStockFundMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertaintiesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Employer, Common Stock Fund [Member]",
        "terseLabel": "Unitized Stock Fund",
        "verboseLabel": "Unitized stock fund",
        "documentation": "Fund with common stock issued by employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r116",
      "r168",
      "r174",
      "r175",
      "r186",
      "r189",
      "r190"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerContributionMatchingPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanEmployerContributionMatchingPercentage",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Employer Contribution, Matching Percentage",
        "terseLabel": "Employer matching contribution",
        "documentation": "Percentage of employer matching contribution on eligible participant contribution to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "esoa_EmployeeBenefitPlanEmployerContributionMaximumAnnualCompensationToTotalCompensationPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanEmployerContributionMaximumAnnualCompensationToTotalCompensationPercentage",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of maximum pretax annual compensation that employer in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), to contribute to total pretax annual compensation.",
        "label": "Employee Benefit Plan, Employer Contribution Maximum Annual Compensation To Total Compensation Percentage",
        "terseLabel": "Maximum employer contribution (in percentage)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Employer Contribution, Participant Compensation Matched, Percentage",
        "terseLabel": "Employer contribution on participant compensation, percentage",
        "documentation": "Percentage of participant compensation eligible for employer matching contribution for participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "esoa_EmployeeBenefitPlanEmployerContributionVestingPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanEmployerContributionVestingPercentage",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the vesting percentage of employer matching contribution  in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Employer Contribution, Vesting Percentage",
        "terseLabel": "Employer contribution, vesting percentage"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanEmployerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanEmployerMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Employer [Member]",
        "terseLabel": "Energy Services of America"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanExpensePolicyTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Expense [Policy Text Block]",
        "terseLabel": "ADMINISTRATIVE EXPENSES",
        "documentation": "Disclosure of accounting policy for expense incurred by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanForfeitedNonvestedAccount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanForfeitedNonvestedAccount",
     "crdr": "debit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanForfeitedAccountsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Forfeited Nonvested Account",
        "terseLabel": "Forfeited non-vested accounts",
        "documentation": "Amount of plan asset, in forfeited nonvested account, no longer allocated to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r132"
     ]
    },
    "esoa_EmployeeBenefitPlanForfeitedNonvestedAccountDecreaseForAdministrativeExpenseAndEmployerContribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanForfeitedNonvestedAccountDecreaseForAdministrativeExpenseAndEmployerContribution",
     "crdr": "credit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanForfeitedAccountsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of decrease in forfeited nonvested account of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) from administrative expense and employer contribution.",
        "label": "Employee Benefit Plan Forfeited Nonvested Account Decrease For Administrative Expense And Employer Contribution",
        "terseLabel": "Forfeitures to pay administrative expenses and offset employer contributions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentAcquiredExcludingPlanInterestInMasterTrustCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentAcquiredExcludingPlanInterestInMasterTrustCost",
     "crdr": "debit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment Acquired, Excluding Plan Interest in Master Trust, Cost",
        "terseLabel": "Investments, shares purchase value",
        "documentation": "Cost of investment, excluding plan interest in master trust, acquired by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r152",
      "r159",
      "r165"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanAsset",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails",
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Excluding Plan Interest in Master Trust, Fair Value",
        "terseLabel": "Investments, at fair value",
        "verboseLabel": "Fair Value",
        "documentation": "Fair value of investment, excluding plan interest in master trust, held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, derivative, investment measured at net asset value per share as practical expedient, and insurance contract not meeting fully-benefit responsive investment criteria."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r16",
      "r17",
      "r24",
      "r25",
      "r27",
      "r28",
      "r34",
      "r35",
      "r37",
      "r95",
      "r110",
      "r111",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "FAIR VALUE MEASUREMENTS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurements",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Line Items]",
        "terseLabel": "FAIR VALUE MEASUREMENTS",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r64",
      "r83",
      "r110",
      "r111",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurements",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Table]",
        "documentation": "Disclosure of information about fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r64",
      "r83",
      "r98",
      "r110",
      "r111",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Table Text Block]",
        "terseLabel": "Schedule of plan's assets at fair value within the fair value hierarchy and investments measured using the NAV per share practical expedient",
        "documentation": "Tabular disclosure of fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r33",
      "r35",
      "r36",
      "r44",
      "r132",
      "r183",
      "r184",
      "r188"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Text Block]",
        "terseLabel": "FAIR VALUE MEASUREMENTS",
        "documentation": "The entire disclosure for fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r29",
      "r31",
      "r32",
      "r34",
      "r35",
      "r37",
      "r40",
      "r41",
      "r42",
      "r43",
      "r64",
      "r83",
      "r84",
      "r95",
      "r96",
      "r132",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Issuer Name [Extensible Enumeration]",
        "documentation": "Indicates name of issuer of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r143",
      "r148",
      "r155"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentNumberOfShares",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Number of Shares",
        "terseLabel": "Investments, number of shares held",
        "documentation": "Number of shares or units of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r65",
      "r90",
      "r144",
      "r149",
      "r152",
      "r153",
      "r156"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentNumberOfSharesPurchased",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Purchased, Number of Shares",
        "terseLabel": "Investments, number of shares purchased",
        "documentation": "Number of shares or units of investment purchased by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r176"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesSold": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentNumberOfSharesSold",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Sold, Number of Shares",
        "terseLabel": "Investments, number of shares sold",
        "documentation": "Number of shares or units of investment sold by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r176"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentPolicyTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment [Policy Text Block]",
        "terseLabel": "INVESTMENT VALUATION AND INCOME (LOSS) RECOGNITION",
        "documentation": "Disclosure of accounting policy for investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r94",
      "r98",
      "r99",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentSoldExcludingPlanInterestInMasterTrustSellingPrice": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentSoldExcludingPlanInterestInMasterTrustSellingPrice",
     "crdr": "credit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment Sold, Excluding Plan Interest in Master Trust, Selling Price",
        "terseLabel": "Investments, proceeds from shares sold",
        "documentation": "Amount of selling price for investment, excluding plan interest in master trust, sold by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r151",
      "r152",
      "r157",
      "r166"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Current Value, Type [Extensible Enumeration]",
        "documentation": "Indicates type of investment at current value held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r143",
      "r148"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNetAssetAvailableForBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits",
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Net Asset Available for Benefit",
        "periodEndLabel": "Net assets available for benefits, end of year",
        "periodStartLabel": "Net assets available for benefits, beginning of year",
        "totalLabel": "Net assets available for benefits",
        "documentation": "Amount of asset less liability available to pay benefit of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, aggregation of participants' individual account balances."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r55",
      "r78",
      "r88",
      "r89",
      "r97",
      "r106",
      "r132",
      "r133",
      "r180"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipant",
     "crdr": "debit",
     "calculation": {
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanAsset",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant",
        "terseLabel": "Notes receivable from participants",
        "documentation": "Amount of unpaid principal plus accrued but unpaid interest for loan from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r93",
      "r132",
      "r180"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant, Account, Maximum Borrowing, Amount",
        "terseLabel": "Maximum amount that participant may borrow",
        "documentation": "Amount of maximum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "esoa_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingNumberOfLoans": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingNumberOfLoans",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of notes outstanding a participant may borrow at any time in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan Note Receivable From Participant Account Maximum Borrowing Number Of Loans",
        "terseLabel": "Number of outstanding loans"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingToTotalAccountPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingToTotalAccountPercentage",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant, Account, Maximum Borrowing, to Total Account, Percentage",
        "terseLabel": "Percentage of maximum amount that participant may borrow",
        "documentation": "Percentage of maximum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow to total participant account balance."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant, Account, Minimum Borrowing, Amount",
        "terseLabel": "Minimum amount that participant may borrow",
        "documentation": "Amount of minimum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "esoa_EmployeeBenefitPlanNoteReceivableFromParticipantBasisSpreadOnPrimeRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantBasisSpreadOnPrimeRate",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the percentage points added to the prime rate to compute the interest rate on participant loans.",
        "label": "Employee Benefit Plan, Note Receivable From Participant, Basis Spread on Prime Rate",
        "terseLabel": "Basis spread on Wall Street Prime rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant [Policy Text Block]",
        "terseLabel": "NOTES RECEIVABLE FROM PARTICIPANTS",
        "documentation": "Disclosure of accounting policy for note receivable from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "esoa_EmployeeBenefitPlanPartTimeEmployeeMaximumScheduledHours": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanPartTimeEmployeeMaximumScheduledHours",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanGeneralDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents part time employee maximum scheduled hours.",
        "label": "Employee Benefit Plan, Part Time Employee, Maximum Scheduled Hours",
        "terseLabel": "Part time employee maximum scheduled hours"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanParticipantEligibilityMinimumServicePeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantEligibilityMinimumServicePeriod",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanGeneralDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum service period that participant should serve for attain eligibility in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Participant Eligibility, Minimum Service Period",
        "terseLabel": "Minimum service period for eligible for participants in plan"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanParticipantEligibilityThresholdAge": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantEligibilityThresholdAge",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanGeneralDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Threshold age that participant must attain for eligibility  in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Participant Eligibility, Threshold age",
        "terseLabel": "Minimum age for eligible for participants in plan"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanParticipantLoanInterestRate",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Participant Loan, Interest Rate",
        "terseLabel": "Interest rate",
        "verboseLabel": "Interest rates of notes receivable from participants",
        "documentation": "Interest rate on participant loan in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r146"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Payment to Participant [Policy Text Block]",
        "terseLabel": "BENEFIT PAYMENTS",
        "documentation": "Disclosure of accounting policy for payment of benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanPlanNumber": {
     "xbrltype": "threeDigitItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanPlanNumber",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Plan Number",
        "terseLabel": "Plan number",
        "documentation": "Plan number of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), in three-digit numeric format."
       }
      }
     },
     "auth_ref": [
      "r141",
      "r147",
      "r152",
      "r153",
      "r154",
      "r162",
      "r179",
      "r180",
      "r181"
     ]
    },
    "esoa_EmployeeBenefitPlanPlanTerminationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanPlanTerminationAbstract",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "PLAN TERMINATION"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanPlanTerminationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanPlanTerminationTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTermination"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Plan Termination [Text Block]",
        "terseLabel": "PLAN TERMINATION",
        "documentation": "The entire disclosure for terminating employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, plan under which participant no longer accrues benefit but remains in existence to pay already accrued benefit."
       }
      }
     },
     "auth_ref": [
      "r107",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest [Axis]",
        "documentation": "Information by related party and party-in-interest to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r74",
      "r75",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest [Domain]",
        "documentation": "Related party and party-in-interest to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r74",
      "r75",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "RELATED-PARTY AND PARTY-IN-INTEREST TRANSACTIONS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactions",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Line Items]",
        "terseLabel": "RELATED-PARTY AND PARTY-IN-INTEREST TRANSACTIONS",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r173",
      "r182"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactions",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Table]",
        "documentation": "Disclosure of information about related party and party-in-interest transactions with employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r173",
      "r182"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Text Block]",
        "terseLabel": "RELATED-PARTY AND PARTY-IN-INTEREST TRANSACTIONS",
        "documentation": "The entire disclosure for related party and party-in-interest transactions with employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r47",
      "r48",
      "r49",
      "r50",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertainties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Risk and Uncertainty [Text Block]",
        "terseLabel": "RISKS AND UNCERTAINTIES",
        "documentation": "The entire disclosure for risk and uncertainty of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, concentration risk."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r11",
      "r13",
      "r45",
      "r46",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule H, Line 4i - Schedule of Assets(Held at End of Year)"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYear",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Line Items]",
        "terseLabel": "Schedule H, Line 4i - Schedule of Assets(Held at End of Year)",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r143",
      "r144",
      "r145",
      "r146"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYear",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Table]",
        "documentation": "Disclosure of information about schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r90",
      "r143",
      "r144",
      "r145",
      "r146"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYear"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Text Block]",
        "terseLabel": "Schedule H, Line 4i - Schedule of Assets(Held at End of Year)",
        "documentation": "The entire disclosure for schedule of asset held for investment for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r179"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule H, Line 4a - Schedule of Delinquent Participant Contributions"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionCorrectedOutsideVfcp": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionCorrectedOutsideVfcp",
     "crdr": "debit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution, Corrected Outside VFCP",
        "terseLabel": "Contributions Corrected Outside VFCP",
        "documentation": "Amount of delinquent participant contribution corrected outside Voluntary Fiduciary Correction Program (VFCP) for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionLateRepaymentIncluded": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionLateRepaymentIncluded",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution, Late Repayment Included [true false]",
        "terseLabel": "Late Participant Loan Repayments are included",
        "documentation": "Indicates (true false) whether late participant loan repayment was included in delinquent participant contribution for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributions",
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributions",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution [Line Items]",
        "terseLabel": "Schedule H, Line 4a - Schedule of Delinquent Participant Contributions",
        "verboseLabel": "DELINQUENT PARTICIPANT CONTRIBUTIONS",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributions",
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributions",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution [Table]",
        "documentation": "Disclosure of information about delinquent participant contribution for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution [Text Block]",
        "terseLabel": "Schedule H, Line 4a - Schedule of Delinquent Participant Contributions",
        "documentation": "The entire disclosure for schedule of delinquent participant contribution for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTransferredLateToPlan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTransferredLateToPlan",
     "crdr": "debit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution, Transferred Late to Plan",
        "terseLabel": "Participant contributions transferred late to the plan",
        "documentation": "Amount of delinquent participant contribution transferred late to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "STATEMENT OF CHANGES IN NET ASSETS AVAILABLE FOR BENEFITS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Line Items]",
        "terseLabel": "STATEMENT OF CHANGES IN NET ASSETS AVAILABLE FOR BENEFITS",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r80",
      "r81",
      "r82",
      "r97"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Table]",
        "documentation": "Presentation of information about change in net asset available for benefit for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r80",
      "r81",
      "r82",
      "r97"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "STATEMENTS OF NET ASSETS AVAILABLE FOR BENEFITS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Line Items]",
        "terseLabel": "STATEMENTS OF NET ASSETS AVAILABLE FOR BENEFITS",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r67",
      "r68",
      "r69",
      "r70",
      "r71",
      "r72",
      "r74",
      "r75",
      "r76",
      "r77",
      "r95",
      "r97",
      "r110",
      "r111",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Table]",
        "documentation": "Presentation of information about net asset available for benefit for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r67",
      "r68",
      "r69",
      "r70",
      "r71",
      "r72",
      "r74",
      "r75",
      "r76",
      "r77",
      "r95",
      "r97",
      "r110",
      "r111",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanSubsequentEventTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanSubsequentEventTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSubsequentEvents"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Subsequent Event [Text Block]",
        "terseLabel": "SUBSEQUENT EVENTS",
        "documentation": "The entire disclosure for subsequent event in financial statement of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r51",
      "r53",
      "r173",
      "r182"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Summary of Accounting Policy [Text Block]",
        "terseLabel": "SIGNIFICANT ACCOUNTING POLICIES",
        "documentation": "The entire disclosure for summary of accounting policy used to prepare financial statement of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r3",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxDeterminationLetterDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanTaxDeterminationLetterDate",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatusDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Determination Letter, Date",
        "terseLabel": "Determination letter date",
        "documentation": "Date of tax determination letter for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxDeterminationLetterObtained": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanTaxDeterminationLetterObtained",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatusDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Determination Letter, Obtained [true false]",
        "terseLabel": "Determination letter obtained",
        "documentation": "Indicates (true false) whether tax determination letter was obtained by employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r62",
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxQualificationStatusExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanTaxQualificationStatusExtensibleEnumeration",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatusDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Qualification Status [Extensible Enumeration]",
        "terseLabel": "Tax qualification status",
        "documentation": "Indicates tax qualification status of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r66",
      "r132",
      "r172"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanTaxStatusAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "TAX STATUS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanTaxStatusLineItems",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatus",
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatusDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Line Items]",
        "terseLabel": "TAX STATUS",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r172"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanTaxStatusTable",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatus",
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatusDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Table]",
        "documentation": "Disclosure of information about tax status of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, information concerning whether tax ruling or determination letter was obtained and principal assumption on which plan relied in not making provision for federal income tax."
       }
      }
     },
     "auth_ref": [
      "r172"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanTaxStatusTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatus"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Text Block]",
        "terseLabel": "TAX STATUS",
        "documentation": "The entire disclosure for tax status of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, information concerning whether tax ruling or determination letter was obtained and principal assumption on which plan relied in not making provision for federal income tax."
       }
      }
     },
     "auth_ref": [
      "r62",
      "r66",
      "r132"
     ]
    },
    "esoa_EmployeeBenefitPlanTerminatedParticipantsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanTerminatedParticipantsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "TERMINATED PARTICIPANTS"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanTerminatedParticipantsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanTerminatedParticipantsTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipants"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for terminated participants of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, plan under which participant no longer accrues benefit but remains in existence to pay already accrued benefit.",
        "label": "Employee Benefit Plan, Terminated Participants [Text Block]",
        "terseLabel": "TERMINATED PARTICIPANTS"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanUnallocatedEmployeeDeferrals": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanUnallocatedEmployeeDeferrals",
     "crdr": "debit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of unallocated employee deferrals in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Unallocated, Employee Deferrals",
        "terseLabel": "Unallocated employee deferrals"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanUnallocatedEmployerMatchContributions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanUnallocatedEmployerMatchContributions",
     "crdr": "debit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of unallocated employer match contributions in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Unallocated, Employer Match Contributions",
        "terseLabel": "Unallocated employer match"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanUnallocatedLoanPrincipalPayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanUnallocatedLoanPrincipalPayments",
     "crdr": "credit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the amount of unallocated loan principal payments in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Unallocated, Loan Principal Payments",
        "terseLabel": "Unallocated loan principal payments"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanUseOfEstimatePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2026",
     "localname": "EmployeeBenefitPlanUseOfEstimatePolicyTextBlock",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Use of Estimate [Policy Text Block]",
        "terseLabel": "USE OF ESTIMATES",
        "documentation": "Disclosure of accounting policy for use of estimate in preparation of financial statement of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r6",
      "r8",
      "r9",
      "r10",
      "r12",
      "r132"
     ]
    },
    "esoa_EmployeeBenefitPlanVestingAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanVestingAxis",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by years of vesting service in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Vesting [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanVestingDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanVestingDomain",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Years of vesting service in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Vesting [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanVestingPercentageInEventOfTermination": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanVestingPercentageInEventOfTermination",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTerminationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the percentage of vesting of participant accounts in the event of termination.",
        "label": "Employee Benefit Plan, Vesting Percentage In Event Of Termination",
        "terseLabel": "Vesting percentage, termination"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanYearsOfVestingServiceFourYearsOrMoreMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanYearsOfVestingServiceFourYearsOrMoreMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to four years or more of service in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Years of Vesting Service, Four Years Or More [Member]",
        "terseLabel": "Four or more years of service"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanYearsOfVestingServiceLessThanOneYearMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanYearsOfVestingServiceLessThanOneYearMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to less than one year of service in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Years of Vesting Service, Less Than One Year [Member]",
        "terseLabel": "Less than one year of service"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanYearsOfVestingServiceOneYearMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanYearsOfVestingServiceOneYearMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to one year of service in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Years of Vesting Service, One Year [Member]",
        "terseLabel": "One year of service"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanYearsOfVestingServiceThreeYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanYearsOfVestingServiceThreeYearsMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to three years of service in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Years of Vesting Service, Three Years [Member]",
        "terseLabel": "Three years of service"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployeeBenefitPlanYearsOfVestingServiceTwoYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployeeBenefitPlanYearsOfVestingServiceTwoYearsMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to two years of service in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employee Benefit Plan, Years of Vesting Service, Two Years [Member]",
        "terseLabel": "Two years of service"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployerBenefitPlanTerminatedParticipantsInvestedAccountsBalance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployerBenefitPlanTerminatedParticipantsInvestedAccountsBalance",
     "crdr": "credit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipantsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the terminated participant's  invested accounts balance that remained invested  within an employee stock purchase, saving, or similar (employee benefit plan (EBP)).",
        "label": "Employer Benefit Plan, Terminated Participants, Invested Accounts Balance",
        "terseLabel": "Terminated participants invested accounts balance"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployerBenefitPlanTerminatedParticipantsVestedAccountBalanceThresholdRequiredToMaintainInvestmentsGreaterThan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployerBenefitPlanTerminatedParticipantsVestedAccountBalanceThresholdRequiredToMaintainInvestmentsGreaterThan",
     "crdr": "credit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipantsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the terminated participant's vested account balance must be greater than the specified value to maintain investments within an employee stock purchase, saving, or similar (employee benefit plan (EBP)).",
        "label": "Employer Benefit Plan, Terminated Participants, Vested Account Balance Threshold Required to Maintain Investments, Greater Than",
        "terseLabel": "Terminated participants, vested balance threshold greater than to maintain investments in the plan"
       }
      }
     },
     "auth_ref": []
    },
    "esoa_EmployerBenefitPlanVestedBalanceAutomaticLumpsumCashPaymentThreshold": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "EmployerBenefitPlanVestedBalanceAutomaticLumpsumCashPaymentThreshold",
     "crdr": "debit",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanPaymentOfBenefitsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the vested balance automatic lumpsum cash payment threshold in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).",
        "label": "Employer Benefit Plan Vested Balance Automatic Lumpsum Cash Payment Threshold",
        "terseLabel": "Automatic lump-sum cash payment threshold"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r134"
     ]
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "EntityDomain",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributions",
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlan",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanForfeitedAccountsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanGeneralDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanPaymentOfBenefitsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurements",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsTables",
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTermination",
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTerminationDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactions",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertainties",
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertaintiesDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributions",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYear",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPolicies",
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies",
      "http://www.energyservicesofamerica.com/role/DisclosureSubsequentEvents",
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatus",
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatusDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipants",
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DocumentDocumentAndEntityInformation",
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits",
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity [Domain]",
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r134"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity tax identification number",
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS."
       }
      }
     },
     "auth_ref": [
      "r134"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r96",
      "r132"
     ]
    },
    "us-gaap_FairValueInputsLevel12And3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueInputsLevel12And3Member",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 1, Level 2, and Level 3 [Member]",
        "terseLabel": "Investments in the fair value hierarchy"
       }
      }
     },
     "auth_ref": [
      "r169",
      "r184",
      "r186"
     ]
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r34",
      "r120",
      "r132"
     ]
    },
    "us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueMeasuredAtNetAssetValuePerShareMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measured at Net Asset Value Per Share [Member]",
        "terseLabel": "Investments measured at NAV"
       }
      }
     },
     "auth_ref": [
      "r37",
      "r120"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r96",
      "r132"
     ]
    },
    "esoa_First3OfParticipantContributionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "First3OfParticipantContributionMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertains to first 3% of participant contribution",
        "label": "First 3% of Participant Contribution [Member]",
        "terseLabel": "First 3%"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIdentifierAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "InvestmentIdentifierAxis",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Identifier [Axis]"
       }
      }
     },
     "auth_ref": [
      "r90",
      "r143",
      "r144",
      "r145",
      "r146",
      "r148",
      "r149",
      "r150",
      "r151",
      "r152",
      "r153",
      "r155",
      "r156",
      "r157",
      "r158",
      "r159",
      "r160",
      "r161",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167"
     ]
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertaintiesDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Type [Axis]"
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r16",
      "r17",
      "r18",
      "r19",
      "r20",
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r64",
      "r67",
      "r68",
      "r69",
      "r70",
      "r71",
      "r72",
      "r79",
      "r80",
      "r81",
      "r82",
      "r83",
      "r90",
      "r95",
      "r101",
      "r104",
      "r105",
      "r108",
      "r110",
      "r111",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r132",
      "r133",
      "r146",
      "r168",
      "r180"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertaintiesDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Domain]"
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r16",
      "r17",
      "r18",
      "r19",
      "r20",
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r64",
      "r67",
      "r68",
      "r69",
      "r70",
      "r71",
      "r72",
      "r79",
      "r80",
      "r81",
      "r82",
      "r83",
      "r90",
      "r95",
      "r101",
      "r104",
      "r105",
      "r108",
      "r110",
      "r111",
      "r112",
      "r113",
      "r114",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128",
      "r129",
      "r130",
      "r132",
      "r133",
      "r146",
      "r168",
      "r180"
     ]
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2026",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributions",
      "http://www.energyservicesofamerica.com/role/DisclosureDelinquentParticipantContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlan",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanForfeitedAccountsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanGeneralDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanPaymentOfBenefitsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanVestingDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurements",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsInvestmentsMeasuredUsingNavPerSharePracticalExpedientDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsTables",
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTermination",
      "http://www.energyservicesofamerica.com/role/DisclosurePlanTerminationDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactions",
      "http://www.energyservicesofamerica.com/role/DisclosureRelatedPartyAndPartyInInterestTransactionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertainties",
      "http://www.energyservicesofamerica.com/role/DisclosureRisksAndUncertaintiesDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributions",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4aScheduleOfDelinquentParticipantContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYear",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPolicies",
      "http://www.energyservicesofamerica.com/role/DisclosureSignificantAccountingPoliciesPolicies",
      "http://www.energyservicesofamerica.com/role/DisclosureSubsequentEvents",
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatus",
      "http://www.energyservicesofamerica.com/role/DisclosureTaxStatusDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipants",
      "http://www.energyservicesofamerica.com/role/DisclosureTerminatedParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DocumentDocumentAndEntityInformation",
      "http://www.energyservicesofamerica.com/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits",
      "http://www.energyservicesofamerica.com/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal Entity [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2026",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r132",
      "r146",
      "r179"
     ]
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2026",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r132",
      "r146",
      "r179"
     ]
    },
    "us-gaap_MutualFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2026",
     "localname": "MutualFundMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureFairValueMeasurementsPlanSAssetsAtFairValueDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mutual Fund [Member]",
        "terseLabel": "Mutual funds",
        "verboseLabel": "Mutual Funds"
       }
      }
     },
     "auth_ref": [
      "r110",
      "r121",
      "r122",
      "r131",
      "r132",
      "r133"
     ]
    },
    "esoa_Next3OfParticipantContributionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.energyservicesofamerica.com/20251231",
     "localname": "Next3OfParticipantContributionMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertains to next 3% of participant contribution",
        "label": "Next 3% of Participant Contribution [Member]",
        "terseLabel": "Next 3%"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2026",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r132",
      "r146",
      "r179"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2026",
     "localname": "RangeMember",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanNotesReceivableFromParticipantsDetails",
      "http://www.energyservicesofamerica.com/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r132",
      "r146",
      "r179"
     ]
    },
    "srt_ScenarioUnspecifiedDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2026",
     "localname": "ScenarioUnspecifiedDomain",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "auth_ref": [
      "r2",
      "r136"
     ]
    },
    "srt_StatementScenarioAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2026",
     "localname": "StatementScenarioAxis",
     "presentation": [
      "http://www.energyservicesofamerica.com/role/DisclosureDescriptionOfPlanContributionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "auth_ref": [
      "r2",
      "r136"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-5"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SAB Topic 11.M)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-6"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-11"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-11"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-12"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-2A"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-4"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-6"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-7A"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-8"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-20"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-2"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-2"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-3"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-2"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-2"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r61": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r62": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r63": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r64": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r65": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r66": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r67": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r68": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r69": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r70": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r71": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r72": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r73": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(5))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r74": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r75": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r76": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r77": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r78": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r79": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(1)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r80": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r81": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r82": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r83": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r84": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r85": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r86": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r87": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(5)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r88": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r89": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r90": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r91": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule II))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r92": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r93": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478642/962-310-45-2"
  },
  "r94": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478844/962-325-35-1B"
  },
  "r95": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r96": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r97": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-8"
  },
  "r98": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r99": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2A"
  },
  "r100": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r101": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r102": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r103": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r104": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r105": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r106": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479750/962-40-25-1"
  },
  "r107": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479684/962-40-50-1"
  },
  "r108": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4L",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4L"
  },
  "r109": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r110": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r111": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r112": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r113": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r114": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r115": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r116": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r117": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r118": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r119": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r120": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r121": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r122": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r123": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r124": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r125": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r126": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r127": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r128": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r129": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r130": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r131": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r132": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478873/962-325-55-17"
  },
  "r133": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478873/962-325-55-18"
  },
  "r134": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r135": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-23"
  },
  "r136": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-3"
  },
  "r137": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r138": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r139": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r140": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "a",
   "Publisher": "DOL-EBSA"
  },
  "r141": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "DOL-EBSA"
  },
  "r142": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r143": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(A)",
   "Publisher": "DOL-EBSA"
  },
  "r144": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(B)",
   "Publisher": "DOL-EBSA"
  },
  "r145": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(C)",
   "Publisher": "DOL-EBSA"
  },
  "r146": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(D)",
   "Publisher": "DOL-EBSA"
  },
  "r147": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)",
   "Publisher": "DOL-EBSA"
  },
  "r148": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(A)",
   "Publisher": "DOL-EBSA"
  },
  "r149": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(B)",
   "Publisher": "DOL-EBSA"
  },
  "r150": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(C)",
   "Publisher": "DOL-EBSA"
  },
  "r151": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(D)",
   "Publisher": "DOL-EBSA"
  },
  "r152": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(3)",
   "Publisher": "DOL-EBSA"
  },
  "r153": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(4)",
   "Publisher": "DOL-EBSA"
  },
  "r154": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)",
   "Publisher": "DOL-EBSA"
  },
  "r155": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r156": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(ii)",
   "Publisher": "DOL-EBSA"
  },
  "r157": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(iii)",
   "Publisher": "DOL-EBSA"
  },
  "r158": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(iv)",
   "Publisher": "DOL-EBSA"
  },
  "r159": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(v)",
   "Publisher": "DOL-EBSA"
  },
  "r160": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(vi)",
   "Publisher": "DOL-EBSA"
  },
  "r161": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(vii)",
   "Publisher": "DOL-EBSA"
  },
  "r162": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)",
   "Publisher": "DOL-EBSA"
  },
  "r163": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r164": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(ii)",
   "Publisher": "DOL-EBSA"
  },
  "r165": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(iii)",
   "Publisher": "DOL-EBSA"
  },
  "r166": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(iv)",
   "Publisher": "DOL-EBSA"
  },
  "r167": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(v)",
   "Publisher": "DOL-EBSA"
  },
  "r168": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r169": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r170": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r171": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r172": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r173": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r174": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r175": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r176": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r177": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r178": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r179": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r180": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule II))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r181": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r182": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479143/962-235-S50-1"
  },
  "r183": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r184": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r185": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-8"
  },
  "r186": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r187": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r188": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r189": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r190": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r191": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8C"
  }
 }
}
