<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-03-05</periodOfReport>

    <issuer>
        <issuerCik>0000105634</issuerCik>
        <issuerName>EMCOR Group, Inc.</issuerName>
        <issuerTradingSymbol>EME</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001306045</rptOwnerCik>
            <rptOwnerName>Guzzi Anthony</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>301 MERRITT SEVEN</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>NORWALK</rptOwnerCity>
            <rptOwnerState>CT</rptOwnerState>
            <rptOwnerZipCode>06851</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Chairman, President and CEO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>1</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-03-05</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>36000</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>729.48</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>170299</value>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>5790</value>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By the Guzzi Family Irrevocable Trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">The sales reported in this Form 4 were effected pursuant to a Rule 10b5-1 trading plan dated as of December 2, 2025 and effective as of March 5, 2026.</footnote>
        <footnote id="F2">The price reported is the weighted average of all the shares sold on March 5, 2026. The shares were sold at an average price of $729.48, at varying prices in the range of $705.55 to $735.36. The Reporting person undertakes, upon request by the Staff of the Securities and Exchange Commission, the Issuer, or a security holder of the Issuer, to provide full information regarding the number of shares sold at each separate price.</footnote>
        <footnote id="F3">Includes shares issuable in respect of restricted stock units.</footnote>
        <footnote id="F4">These securities were transferred by the reporting person as a gift to the Guzzi Family Irrevocable Trust (the &quot;Trust&quot;) for the benefit of the reporting person's children. The reporting person's spouse is trustee of the Trust. Such transfer was reported on a previously filed Form 4. The reporting person disclaims beneficial ownership of such securities.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Maxine L. Mauricio, Attorney-in-Fact</signatureName>
        <signatureDate>2026-03-09</signatureDate>
    </ownerSignature>
</ownershipDocument>
