<?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>0001312622</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0001439222</issuerCik>
            <issuerName>AGIOS PHARMACEUTICALS, INC.</issuerName>
            <secFileNumber>001-36014</secFileNumber>
            <issuerAddress>
                <ns2:street1>88 Sidney St.</ns2:street1>
                <ns2:city>Cambridge</ns2:city>
                <ns2:stateOrCountry>MA</ns2:stateOrCountry>
                <ns2:zipCode>021139</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>617-649-8600</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>KAYE FOSTER</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>8th Floor</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>4415</noOfUnitsSold>
            <aggregateMarketValue>141247.33</aggregateMarketValue>
            <noOfUnitsOutstanding>56194847</noOfUnitsOutstanding>
            <approxSaleDate>03/06/2024</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>06/21/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>4415</amountOfSecuritiesAcquired>
            <paymentDate>06/21/2023</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>KAYE FOSTER</name>
                <address>
                    <ns2:street1>38 Sidney St.</ns2:street1>
                    <ns2:city>Cambridge</ns2:city>
                    <ns2:stateOrCountry>MA</ns2:stateOrCountry>
                    <ns2:zipCode>021139</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>03/05/2024</saleDate>
            <amountOfSecuritiesSold>300</amountOfSecuritiesSold>
            <grossProceeds>9663.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>KAYE FOSTER</name>
                <address>
                    <ns2:street1>38 Sidney St.</ns2:street1>
                    <ns2:city>Cambridge</ns2:city>
                    <ns2:stateOrCountry>MA</ns2:stateOrCountry>
                    <ns2:zipCode>021139</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>03/05/2024</saleDate>
            <amountOfSecuritiesSold>4000</amountOfSecuritiesSold>
            <grossProceeds>126280.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>03/06/2024</noticeDate>
            <planAdoptionDates/>
            <signature>/s/ Kaye Foster</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4573}]
144
0001312622
XXXXXXXX
LIVE
0001439222
AGIOS PHARMACEUTICALS, INC.
001-36014
88 Sidney St.
Cambridge
MA
021139
617-649-8600
KAYE FOSTER
Director
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
8th Floor
New York
NY
10004
4415
141247.33
56194847
03/06/2024
NASDAQ
Common
06/21/2023
Restricted Stock
Issuer
N
4415
06/21/2023
Not Applicable
N
KAYE FOSTER
38 Sidney St.
Cambridge
MA
021139
Common
03/05/2024
300
9663.00
KAYE FOSTER
38 Sidney St.
Cambridge
MA
021139
Common
03/05/2024
4000
126280.00
03/06/2024
/s/ Kaye Foster