<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="zeo-20251231.xsd" xlink:type="simple"/>
    <context id="cref_1600282311">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001865506</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="cref_1222299376">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001865506</identifier>
            <segment>
                <xbrldi:typedMember dimension="ecd:RestatementDateAxis">
                    <ecd:RestatementDateAxis.domain>2024-03-13</ecd:RestatementDateAxis.domain>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <dei:DocumentType contextRef="cref_1600282311" id="fc_1405747366">PRE 14A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="cref_1600282311" id="ixv-2567">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="cref_1600282311" id="ixv-2568">0001865506</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="cref_1600282311" id="ixv-2587">Zeo Energy Corp.</dei:EntityRegistrantName>
    <ecd:ErrCompAnalysisTextBlock contextRef="cref_1222299376" id="ixv-1524">&lt;p style="margin:0;padding:0;border-width:0;font-family:Times New Roman PS Std, serif;font-size:10pt;font-style:normal;font-variant:normal;font-weight:normal;margin-bottom:0;margin-left:0;margin-right:0;margin-top:8pt;orphans:2;page-break-after:auto;page-break-before:auto;text-align:justify;text-indent:0;widows:3;margin-top:8pt;"&gt;On March&#160;13, 2024, the Bord adopted a clawback policy which provides for the recovery of certain executive compensation in the event of an accounting restatement resulting from material non&lt;span&gt;-compliance&lt;/span&gt; with financial reporting requirements under the federal securities laws. Since the adoption of this policy, there have been no accounting restatements, nor is there any compensation to be recovered.&lt;/p&gt;</ecd:ErrCompAnalysisTextBlock>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="cref_1600282311" id="ixv-2588">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
</xbrl>
