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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-03-04</periodOfReport>

    <issuer>
        <issuerCik>0001984060</issuerCik>
        <issuerName>Atlas Energy Solutions Inc.</issuerName>
        <issuerTradingSymbol>AESI</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001079492</rptOwnerCik>
            <rptOwnerName>BRIGHAM BEN M</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>5918 W. COURTYARD DRIVE</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 500</rptOwnerStreet2>
            <rptOwnerCity>AUSTIN</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>78730</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>true</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>Executive Chairman</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-03-04</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>277778</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>850175</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>10526880</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See footnote</value>
                    <footnoteId id="F2"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>1564346</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See footnote</value>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>2518721</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See footnote</value>
                    <footnoteId id="F4"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>54388</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See footnote</value>
                    <footnoteId id="F5"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Award of performance share units (&quot;PSUs&quot;) pursuant to the Atlas Energy Solutions Inc. Long Term Incentive Plan. The award vested on March 4, 2026, subject to certified performance and authorized settlement by the Compensation Committee of the Issuer with respect to PSUs originally granted on March 13, 2023, which vested based on the Issuer's absolute and relative shareholder return and Return on Capital Employed Performance over a three year period.</footnote>
        <footnote id="F2">Includes 10,526,880 shares of common stock held by Anne and Bud Oil &amp; Gas Vested, LLC (&quot;Anne and Bud Vested&quot;) of which Mr. Brigham may be deemed to share the right to direct the voting or disposition of the shares held thereby as the manager of Anne and Bud Vested. Mr. Brigham disclaims beneficial ownership of the shares held by Anne and Bud Vested except to the extent of his pecuniary interest therein, if any.</footnote>
        <footnote id="F3">Includes 1,564,346 shares of common stock held by Brigham Children's Family LP (&quot;Brigham Children's LP&quot;) of which Mr. Brigham may be deemed to share the right to direct the voting or disposition of the shares held thereby as the co-manager of BCFP GP, LLC, which is the general partner of Brigham Children's LP. Mr. Brigham disclaims beneficial ownership of the shares held by Brigham Children's LP except to the extent of his pecuniary interest therein, if any.</footnote>
        <footnote id="F4">Includes 2,518,721 shares of common stock held by Anne and Bud Oil &amp; Gas Unvested, LLC (&quot;Anne and Bud Unvested&quot;) of which Mr. Brigham may be deemed to share the right to direct the voting or disposition of the shares held thereby as the manager of Anne and Bud Unvested. Mr. Brigham disclaims beneficial ownership of the shares held by Anne and Bud Unvested except to the extent of his pecuniary interest therein, if any.</footnote>
        <footnote id="F5">Includes 54,388 shares of common stock held by Mr. Brigham's spouse as her sole and separate property. Mr. Brigham has no right title interest in, and disclaims all ownership interest in, these shares.</footnote>
    </footnotes>

    <remarks>Member of 10% owner group</remarks>

    <ownerSignature>
        <signatureName>/s/ Ben M. Brigham, by Dathan C. Voelter as Attorney-in-Fact</signatureName>
        <signatureDate>2026-03-06</signatureDate>
    </ownerSignature>
</ownershipDocument>
