<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:ns2="http://www.sec.gov/edgar/common">
    <headerData>
        <submissionType>144</submissionType>
        <filerInfo>
            <filer>
                <filerCredentials>
                    <cik>0001387732</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0001389170</issuerCik>
            <issuerName>TARGA RESOURCES CORP.</issuerName>
            <secFileNumber>001-34991</secFileNumber>
            <issuerAddress>
                <ns2:street1>TARGA RESOURCES PARTNERS LP</ns2:street1>
                <ns2:street2>1000 LOUISIANA STREET, SUITE 4300</ns2:street2>
                <ns2:city>HOUSTON</ns2:city>
                <ns2:stateOrCountry>TX</ns2:stateOrCountry>
                <ns2:zipCode>77002</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>713-584-1000</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>PBHTWO LP</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Director</relationshipToIssuer>
            </relationshipsToIssuer>
        </issuerInfo>
        <securitiesInformation>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <brokerOrMarketmakerDetails>
                <name>Morgan Stanley Smith Barney LLC Executive Financial Services</name>
                <address>
                    <ns2:street1>1 New York Plaza</ns2:street1>
                    <ns2:street2>38th Floor</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>31320</noOfUnitsSold>
            <aggregateMarketValue>3058282.12</aggregateMarketValue>
            <noOfUnitsOutstanding>223155363</noOfUnitsOutstanding>
            <approxSaleDate>02/22/2024</approxSaleDate>
            <securitiesExchangeName>NYSE</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>01/20/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2698</amountOfSecuritiesAcquired>
            <paymentDate>01/20/2023</paymentDate>
            <natureOfPayment>Services Rendered</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>01/19/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>28622</amountOfSecuritiesAcquired>
            <paymentDate>01/19/2023</paymentDate>
            <natureOfPayment>Services Rendered</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>02/22/2024</noticeDate>
            <planAdoptionDates/>
            <signature>/s/ Joe Bob Perkins</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3951}]
144
0001387732
XXXXXXXX
LIVE
0001389170
TARGA RESOURCES CORP.
001-34991
TARGA RESOURCES PARTNERS LP
1000 LOUISIANA STREET, SUITE 4300
HOUSTON
TX
77002
713-584-1000
PBHTWO LP
Director
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
38th Floor
New York
NY
10004
31320
3058282.12
223155363
02/22/2024
NYSE
Common
01/20/2023
Restricted stock vesting under a registered plan
Issuer
N
2698
01/20/2023
Services Rendered
Common
01/19/2023
Restricted stock vesting under a registered plan
Issuer
N
28622
01/19/2023
Services Rendered
Y
02/22/2024
/s/ Joe Bob Perkins