<?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>0001353196</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>EFSTATHIOS A KOUNINIS</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Officer</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>500</noOfUnitsSold>
            <aggregateMarketValue>24000.00</aggregateMarketValue>
            <noOfUnitsOutstanding>82961204</noOfUnitsOutstanding>
            <approxSaleDate>05/23/2023</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>09/03/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock Vested pursuant to S-8 Issuer Registered Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>57</amountOfSecuritiesAcquired>
            <paymentDate>09/03/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>06/06/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock Vested pursuant to S-8 Issuer Registered Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>43</amountOfSecuritiesAcquired>
            <paymentDate>06/06/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>09/05/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock Vested pursuant to S-8 Issuer Registered Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>96</amountOfSecuritiesAcquired>
            <paymentDate>09/05/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>12/03/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock Vested pursuant to S-8 Issuer Registered Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>58</amountOfSecuritiesAcquired>
            <paymentDate>12/03/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>12/05/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock Vested pursuant to S-8 Issuer Registered Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>93</amountOfSecuritiesAcquired>
            <paymentDate>12/05/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>09/06/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock Vested pursuant to S-8 Issuer Registered Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>73</amountOfSecuritiesAcquired>
            <paymentDate>09/06/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>12/02/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock Vested pursuant to S-8 Issuer Registered Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>40</amountOfSecuritiesAcquired>
            <paymentDate>12/02/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>09/02/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted Stock Vested pursuant to S-8Issuer Registered Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>40</amountOfSecuritiesAcquired>
            <paymentDate>09/02/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>Efstathios Kouninis</name>
                <address>
                    <ns2:street1>One Main Street</ns2:street1>
                    <ns2:city>Cambridge</ns2:city>
                    <ns2:stateOrCountry>MA</ns2:stateOrCountry>
                    <ns2:zipCode>02142</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>05/22/2023</saleDate>
            <amountOfSecuritiesSold>250</amountOfSecuritiesSold>
            <grossProceeds>11500.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>Efstathios Kouninis</name>
                <address>
                    <ns2:street1>One Main Street</ns2:street1>
                    <ns2:city>Cambridge</ns2:city>
                    <ns2:stateOrCountry>MA</ns2:stateOrCountry>
                    <ns2:zipCode>02142</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>05/18/2023</saleDate>
            <amountOfSecuritiesSold>250</amountOfSecuritiesSold>
            <grossProceeds>11250.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>Efstathios Kouninis</name>
                <address>
                    <ns2:street1>One Main Street</ns2:street1>
                    <ns2:city>Cambridge</ns2:city>
                    <ns2:stateOrCountry>MA</ns2:stateOrCountry>
                    <ns2:zipCode>02142</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>03/09/2023</saleDate>
            <amountOfSecuritiesSold>500</amountOfSecuritiesSold>
            <grossProceeds>23878.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>05/23/2023</noticeDate>
            <planAdoptionDates/>
            <signature>/s/ Efstathios Kouninis</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 9757}]
144
0001353196
XXXXXXXX
LIVE
0001013857
PEGASYSTEMS INC.
001-11859
One Main Street
Cambridge
MA
02142
(617) 374-9600
EFSTATHIOS A KOUNINIS
Officer
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
38th Floor
New York
NY
10004
500
24000.00
82961204
05/23/2023
NASDAQ
Common
09/03/2022
Restricted Stock Vested pursuant to S-8 Issuer Registered Plan
Issuer
N
57
09/03/2022
Not Applicable
Common
06/06/2022
Restricted Stock Vested pursuant to S-8 Issuer Registered Plan
Issuer
N
43
06/06/2022
Not Applicable
Common
09/05/2022
Restricted Stock Vested pursuant to S-8 Issuer Registered Plan
Issuer
N
96
09/05/2022
Not Applicable
Common
12/03/2022
Restricted Stock Vested pursuant to S-8 Issuer Registered Plan
Issuer
N
58
12/03/2022
Not Applicable
Common
12/05/2022
Restricted Stock Vested pursuant to S-8 Issuer Registered Plan
Issuer
N
93
12/05/2022
Not Applicable
Common
09/06/2022
Restricted Stock Vested pursuant to S-8 Issuer Registered Plan
Issuer
N
73
09/06/2022
Not Applicable
Common
12/02/2022
Restricted Stock Vested pursuant to S-8 Issuer Registered Plan
Issuer
N
40
12/02/2022
Not Applicable
Common
09/02/2022
Restricted Stock Vested pursuant to S-8Issuer Registered Plan
Issuer
N
40
09/02/2022
Not Applicable
N
Efstathios Kouninis
One Main Street
Cambridge
MA
02142
Common
05/22/2023
250
11500.00
Efstathios Kouninis
One Main Street
Cambridge
MA
02142
Common
05/18/2023
250
11250.00
Efstathios Kouninis
One Main Street
Cambridge
MA
02142
Common
03/09/2023
500
23878.00
05/23/2023
/s/ Efstathios Kouninis