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



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0001013857</issuerCik>
            <issuerName>PEGASYSTEMS INC.</issuerName>
            <secFileNumber>001-11859</secFileNumber>
            <issuerAddress>
                <ns2:street1>One Main Street</ns2:street1>
                <ns2:city>Cambridge</ns2:city>
                <ns2:stateOrCountry>MA</ns2:stateOrCountry>
                <ns2:zipCode>02142</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>(617) 374-9600</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>LAWRENCE WEBER</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>1900</noOfUnitsSold>
            <aggregateMarketValue>166877.00</aggregateMarketValue>
            <noOfUnitsOutstanding>85753808</noOfUnitsOutstanding>
            <approxSaleDate>11/11/2024</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>12/21/2017</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>522</amountOfSecuritiesAcquired>
            <paymentDate>12/21/2017</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>12/28/2018</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>380</amountOfSecuritiesAcquired>
            <paymentDate>12/28/2018</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>08/16/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>317</amountOfSecuritiesAcquired>
            <paymentDate>08/16/2021</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <acquiredDate>03/10/2017</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>ISSUER</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>681</amountOfSecuritiesAcquired>
            <paymentDate>03/10/2017</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <remarks>Sales that were executed on November 11, 2024 are being reported on this Form 144 filed on November 12, 2024 given the EDGAR system was not accepting filings on November 11, 2024 in observance of the federal holiday.</remarks>
        <noticeSignature>
            <noticeDate>11/11/2024</noticeDate>
            <planAdoptionDates/>
            <signature>/s/ Lawrence Weber</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5336}]
144
0001330532
XXXXXXXX
LIVE
0001013857
PEGASYSTEMS INC.
001-11859
One Main Street
Cambridge
MA
02142
(617) 374-9600
LAWRENCE WEBER
Director
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
8th Floor
New York
NY
10004
1900
166877.00
85753808
11/11/2024
NASDAQ
COMMON
12/21/2017
Restricted stock vesting under a registered plan
ISSUER
N
522
12/21/2017
Not Applicable
COMMON
12/28/2018
Restricted stock vesting under a registered plan
ISSUER
N
380
12/28/2018
Not Applicable
COMMON
08/16/2021
Restricted stock vesting under a registered plan
ISSUER
N
317
08/16/2021
Not Applicable
COMMON
03/10/2017
Restricted stock vesting under a registered plan
ISSUER
N
681
03/10/2017
Not Applicable
Y
Sales that were executed on November 11, 2024 are being reported on this Form 144 filed on November 12, 2024 given the EDGAR system was not accepting filings on November 11, 2024 in observance of the federal holiday.
11/11/2024
/s/ Lawrence Weber