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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2025-11-04</periodOfReport>

    <issuer>
        <issuerCik>0001880438</issuerCik>
        <issuerName>AN2 Therapeutics, Inc.</issuerName>
        <issuerTradingSymbol>ANTX</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002042268</rptOwnerCik>
            <rptOwnerName>Prior Stephen David</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O AN2 THERAPEUTICS, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>1300 EL CAMINO REAL, SUITE 100</rptOwnerStreet2>
            <rptOwnerCity>MENLO PARK</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94025</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>Chief Strategy Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2025-11-04</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>765</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>1.14</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>65548</value>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Represents shares sold pursuant to the terms of the grant to satisfy tax withholding obligations arising from the vesting of Restricted Stock Units (&quot;RSUs&quot;) on November 4, 2025.</footnote>
        <footnote id="F2">Includes, in accordance with the original terms, (a) 10,125 RSUs which shall vest as follows: 1/4th of the RSUs vest annually over four years from November 4, 2024 and (b) 12,031 RSUs which shall vest on January 1, 2026, in each case, subject to the Reporting Person continuing to provide services to the Company as an employee, consultant or director of the Company through each applicable vesting date.</footnote>
        <footnote id="F3">Reflects the adjusted total which includes the purchase of 5,000 shares under the Issuer's 2022 Employee Stock Purchase Plan on September 30, 2025.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Lucy Day, Attorney-in-Fact for Stephen David Prior</signatureName>
        <signatureDate>2025-11-06</signatureDate>
    </ownerSignature>
</ownershipDocument>
