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

    <schemaVersion>X0708</schemaVersion>

    <submissionType>D/A</submissionType>

    <testOrLive>LIVE</testOrLive>

    <primaryIssuer>
        <cik>0001905482</cik>
        <entityName>THOMA BRAVO DISCOVER FUND IV, L.P.</entityName>
        <issuerAddress>
            <street1>150 NORTH RIVERSIDE PLAZA</street1>
            <street2>SUITE 2800</street2>
            <city>CHICAGO</city>
            <stateOrCountry>IL</stateOrCountry>
            <stateOrCountryDescription>ILLINOIS</stateOrCountryDescription>
            <zipCode>60606</zipCode>
        </issuerAddress>
        <issuerPhoneNumber>(312) 254-3300</issuerPhoneNumber>
        <jurisdictionOfInc>DELAWARE</jurisdictionOfInc>
        <issuerPreviousNameList>
            <value>None</value>
        </issuerPreviousNameList>
        <edgarPreviousNameList>
            <value>None</value>
        </edgarPreviousNameList>
        <entityType>Limited Partnership</entityType>
        <yearOfInc>
            <withinFiveYears>true</withinFiveYears>
            <value>2022</value>
        </yearOfInc>
    </primaryIssuer>

    <relatedPersonsList>
        <relatedPersonInfo>
            <relatedPersonName>
                <firstName>CARL</firstName>
                <middleName>D.</middleName>
                <lastName>THOMA</lastName>
            </relatedPersonName>
            <relatedPersonAddress>
                <street1>C/O 150 NORTH RIVERSIDE PLAZA</street1>
                <street2>SUITE 2800</street2>
                <city>CHICAGO</city>
                <stateOrCountry>IL</stateOrCountry>
                <stateOrCountryDescription>ILLINOIS</stateOrCountryDescription>
                <zipCode>60606</zipCode>
            </relatedPersonAddress>
            <relatedPersonRelationshipList>
                <relationship>Executive Officer</relationship>
                <relationship>Promoter</relationship>
            </relatedPersonRelationshipList>
            <relationshipClarification></relationshipClarification>
        </relatedPersonInfo>
        <relatedPersonInfo>
            <relatedPersonName>
                <firstName>LEE</firstName>
                <middleName>M.</middleName>
                <lastName>MITCHELL</lastName>
            </relatedPersonName>
            <relatedPersonAddress>
                <street1>150 NORTH RIVERSIDE PLAZA</street1>
                <street2>SUITE 2800</street2>
                <city>CHICAGO</city>
                <stateOrCountry>IL</stateOrCountry>
                <stateOrCountryDescription>ILLINOIS</stateOrCountryDescription>
                <zipCode>60606</zipCode>
            </relatedPersonAddress>
            <relatedPersonRelationshipList>
                <relationship>Executive Officer</relationship>
                <relationship>Promoter</relationship>
            </relatedPersonRelationshipList>
            <relationshipClarification></relationshipClarification>
        </relatedPersonInfo>
        <relatedPersonInfo>
            <relatedPersonName>
                <firstName>ORLANDO</firstName>
                <lastName>BRAVO</lastName>
            </relatedPersonName>
            <relatedPersonAddress>
                <street1>360 NW 27TH STREET</street1>
                <street2>8TH FLOOR</street2>
                <city>MIAMI</city>
                <stateOrCountry>FL</stateOrCountry>
                <stateOrCountryDescription>FLORIDA</stateOrCountryDescription>
                <zipCode>33127</zipCode>
            </relatedPersonAddress>
            <relatedPersonRelationshipList>
                <relationship>Executive Officer</relationship>
                <relationship>Promoter</relationship>
            </relatedPersonRelationshipList>
            <relationshipClarification></relationshipClarification>
        </relatedPersonInfo>
        <relatedPersonInfo>
            <relatedPersonName>
                <firstName>SAMUEL</firstName>
                <middleName>SCOTT</middleName>
                <lastName>CRABILL</lastName>
            </relatedPersonName>
            <relatedPersonAddress>
                <street1>600 MONTGOMERY STREET</street1>
                <street2>20TH FLOOR</street2>
                <city>SAN FRANCISCO</city>
                <stateOrCountry>CA</stateOrCountry>
                <stateOrCountryDescription>CALIFORNIA</stateOrCountryDescription>
                <zipCode>94111</zipCode>
            </relatedPersonAddress>
            <relatedPersonRelationshipList>
                <relationship>Executive Officer</relationship>
                <relationship>Promoter</relationship>
            </relatedPersonRelationshipList>
            <relationshipClarification></relationshipClarification>
        </relatedPersonInfo>
        <relatedPersonInfo>
            <relatedPersonName>
                <firstName>SETH</firstName>
                <middleName>J.</middleName>
                <lastName>BORO</lastName>
            </relatedPersonName>
            <relatedPersonAddress>
                <street1>600 MONTGOMERY STREET</street1>
                <street2>20TH FLOOR</street2>
                <city>SAN FRANCISCO</city>
                <stateOrCountry>CA</stateOrCountry>
                <stateOrCountryDescription>CALIFORNIA</stateOrCountryDescription>
                <zipCode>94111</zipCode>
            </relatedPersonAddress>
            <relatedPersonRelationshipList>
                <relationship>Executive Officer</relationship>
                <relationship>Promoter</relationship>
            </relatedPersonRelationshipList>
            <relationshipClarification></relationshipClarification>
        </relatedPersonInfo>
        <relatedPersonInfo>
            <relatedPersonName>
                <firstName>P.</firstName>
                <middleName>HOLDEN</middleName>
                <lastName>SPAHT</lastName>
            </relatedPersonName>
            <relatedPersonAddress>
                <street1>600 MONTGOMERY STREET</street1>
                <street2>20TH FLOOR</street2>
                <city>SAN FRANCISCO</city>
                <stateOrCountry>CA</stateOrCountry>
                <stateOrCountryDescription>CALIFORNIA</stateOrCountryDescription>
                <zipCode>94111</zipCode>
            </relatedPersonAddress>
            <relatedPersonRelationshipList>
                <relationship>Executive Officer</relationship>
                <relationship>Promoter</relationship>
            </relatedPersonRelationshipList>
            <relationshipClarification></relationshipClarification>
        </relatedPersonInfo>
    </relatedPersonsList>

    <offeringData>
        <industryGroup>
            <industryGroupType>Pooled Investment Fund</industryGroupType>
            <investmentFundInfo>
                <investmentFundType>Private Equity Fund</investmentFundType>
                <is40Act>false</is40Act>
            </investmentFundInfo>
        </industryGroup>
        <issuerSize>
            <revenueRange>Decline to Disclose</revenueRange>
        </issuerSize>
        <federalExemptionsExclusions>
            <item>06b</item>
            <item>3C</item>
            <item>3C.7</item>
        </federalExemptionsExclusions>
        <typeOfFiling>
            <newOrAmendment>
                <isAmendment>true</isAmendment>
                <previousAccessionNumber>0001905482-22-000001</previousAccessionNumber>
            </newOrAmendment>
            <dateOfFirstSale>
                <value>2022-02-03</value>
            </dateOfFirstSale>
        </typeOfFiling>
        <durationOfOffering>
            <moreThanOneYear>false</moreThanOneYear>
        </durationOfOffering>
        <typesOfSecuritiesOffered>
            <isEquityType>true</isEquityType>
            <isPooledInvestmentFundType>true</isPooledInvestmentFundType>
        </typesOfSecuritiesOffered>
        <businessCombinationTransaction>
            <isBusinessCombinationTransaction>false</isBusinessCombinationTransaction>
            <clarificationOfResponse></clarificationOfResponse>
        </businessCombinationTransaction>
        <minimumInvestmentAccepted>0</minimumInvestmentAccepted>
        <salesCompensationList>
            <recipient>
                <recipientName>THOMA BRAVO CAPITAL MARKETS, LLC</recipientName>
                <recipientCRDNumber>311317</recipientCRDNumber>
                <associatedBDName>None</associatedBDName>
                <associatedBDCRDNumber>None</associatedBDCRDNumber>
                <recipientAddress>
                    <street1>150 NORTH RIVERSIDE PLAZA</street1>
                    <street2>SUITE 2800</street2>
                    <city>CHICAGO</city>
                    <stateOrCountry>IL</stateOrCountry>
                    <stateOrCountryDescription>ILLINOIS</stateOrCountryDescription>
                    <zipCode>60606</zipCode>
                </recipientAddress>
                <statesOfSolicitationList>
                    <value>All States</value>
                </statesOfSolicitationList>
                <foreignSolicitation>false</foreignSolicitation>
            </recipient>
            <recipient>
                <recipientName>ALPINE CAPITAL ADVISORS SPA</recipientName>
                <recipientCRDNumber>None</recipientCRDNumber>
                <associatedBDName>None</associatedBDName>
                <associatedBDCRDNumber>None</associatedBDCRDNumber>
                <recipientAddress>
                    <street1>AV. APOQUINDO 2930, OF. 801, LAS CONDES</street1>
                    <city>SANTIAGO</city>
                    <stateOrCountry>F3</stateOrCountry>
                    <stateOrCountryDescription>CHILE</stateOrCountryDescription>
                    <zipCode>00000</zipCode>
                </recipientAddress>
                <statesOfSolicitationList></statesOfSolicitationList>
                <foreignSolicitation>true</foreignSolicitation>
            </recipient>
        </salesCompensationList>
        <offeringSalesAmounts>
            <totalOfferingAmount>Indefinite</totalOfferingAmount>
            <totalAmountSold>4497514750</totalAmountSold>
            <totalRemaining>Indefinite</totalRemaining>
            <clarificationOfResponse>Total Amount Sold is aggregated together for the Issuer and its parallel funds.</clarificationOfResponse>
        </offeringSalesAmounts>
        <investors>
            <hasNonAccreditedInvestors>false</hasNonAccreditedInvestors>
            <totalNumberAlreadyInvested>122</totalNumberAlreadyInvested>
        </investors>
        <salesCommissionsFindersFees>
            <salesCommissions>
                <dollarAmount>0</dollarAmount>
                <isEstimate>true</isEstimate>
            </salesCommissions>
            <findersFees>
                <dollarAmount>0</dollarAmount>
                <isEstimate>true</isEstimate>
            </findersFees>
            <clarificationOfResponse>No sales compensation will be payable to Thoma Bravo Capital Markets, LLC (&quot;TBCM&quot;) or its personnel; however, TBCM will receive certain expense reimbursements from the Issuer's investment adviser.</clarificationOfResponse>
        </salesCommissionsFindersFees>
        <useOfProceeds>
            <grossProceedsUsed>
                <dollarAmount>0</dollarAmount>
                <isEstimate>true</isEstimate>
            </grossProceedsUsed>
            <clarificationOfResponse>The general partner is entitled to a carried interest. An affiliate of the general partner is entitled to a management fee. The carried interest and management fee are fully disclosed in the Issuer's confidential offering materials.</clarificationOfResponse>
        </useOfProceeds>
        <signatureBlock>
            <authorizedRepresentative>false</authorizedRepresentative>
            <signature>
                <issuerName>THOMA BRAVO DISCOVER FUND IV, L.P.</issuerName>
                <signatureName>/S/ LEE M. MITCHELL</signatureName>
                <nameOfSigner>LEE M. MITCHELL</nameOfSigner>
                <signatureTitle>MNG PARTNER OF THE MNG MBR OF THE GP OF THE GP OF THE ISSUER</signatureTitle>
                <signatureDate>2022-05-10</signatureDate>
            </signature>
        </signatureBlock>
    </offeringData>
</edgarSubmission>
