<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/schedule13g" xmlns:com="http://www.sec.gov/edgar/common">
  <!-- Generated by Workiva -->
  <headerData>
    <submissionType>SCHEDULE 13G/A</submissionType>
    <previousAccessionNumber>0001032235-25-000004</previousAccessionNumber>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0001032235</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <coverPageHeader>
      <amendmentNo>26</amendmentNo>
      <securitiesClassTitle>Common Stock, $.01 par value per share</securitiesClassTitle>
      <eventDateRequiresFilingThisStatement>09/30/2025</eventDateRequiresFilingThisStatement>
      <issuerInfo>
        <issuerCik>0001013857</issuerCik>
        <issuerName>Pegasystems Inc.</issuerName>
        <issuerCusip>705573103</issuerCusip>
        <issuerPrincipalExecutiveOfficeAddress>
          <com:street1>225 Wyman Street</com:street1>
          <com:street2>Ste 300</com:street2>
          <com:city>Waltham</com:city>
          <com:stateOrCountry>MA</com:stateOrCountry>
          <com:zipCode>02451</com:zipCode>
        </issuerPrincipalExecutiveOfficeAddress>
      </issuerInfo>
    </coverPageHeader>
    <coverPageHeaderReportingPersonDetails>


      <reportingPersonName>ALAN TREFLER</reportingPersonName>
      <citizenshipOrOrganization>X1</citizenshipOrOrganization>
      <reportingPersonBeneficiallyOwnedNumberOfShares>
        <soleVotingPower>66165267.00</soleVotingPower>
        <sharedVotingPower>13032110.00</sharedVotingPower>
        <soleDispositivePower>66165267.00</soleDispositivePower>
        <sharedDispositivePower>13032110.00</sharedDispositivePower>
      </reportingPersonBeneficiallyOwnedNumberOfShares>
      <reportingPersonBeneficiallyOwnedAggregateNumberOfShares>79197377.00</reportingPersonBeneficiallyOwnedAggregateNumberOfShares>
      <aggregateAmountExcludesCertainSharesFlag>N</aggregateAmountExcludesCertainSharesFlag>
      <classPercent>46.0</classPercent>
      <typeOfReportingPerson>IN</typeOfReportingPerson>
      <comments>Sole voting and dispositive power consists of (1) 44,934,364 shares of Common Stock held by Mr. Trefler, individually; (2) 10,879,283 shares held by the Alan N. Trefler Grantor Retained Annuity Trust I of 2024, of which Mr. Trefler is the sole trustee; (3) 8,703,426 shares held by the Alan N. Trefler Grantor Retained Annuity Trust II of 2024, of which Mr. Trefler is the sole trustee; and (4) 1,648,194 shares that Mr. Trefler has the right to acquire within 60 days of September 30, 2025 through the vesting or exercise of equity compensation awards.

Shared voting and dispositive power consists of (1) 10,876,525 shares held by the Alan N. Trefler Irrevocable Non-GST Trust of 2022, of which Daniel Sherman and Pamela Trefler are the trustees and of which Mr. Trefler has ability to appoint and remove trustees; (2) 84,000 shares held by the Trefler Foundation, of which Mr. Trefler is a trustee and shares voting and dispositive power over these shares, but has no pecuniary interest in these shares; and (3) 2,071,585 shares held by The Trefler 2025 Trust, of which Goldman Sachs Trust Company of Delaware is the administrative trustee and of which Mr. Trefler has ability to appoint and remove trustees and distribution advisors.</comments>
    </coverPageHeaderReportingPersonDetails>
    <items>
      <item1>
        <issuerName>Pegasystems Inc.</issuerName>
        <issuerPrincipalExecutiveOfficeAddress>225 Wyman Street, Ste 300,  Waltham, MA, 02451</issuerPrincipalExecutiveOfficeAddress>
      </item1>
      <item2>
        <filingPersonName>Alan Trefler</filingPersonName>
        <principalBusinessOfficeOrResidenceAddress>c/o Pegasystems Inc., 225 Wyman Street, Ste 300, Waltham, MA 02451</principalBusinessOfficeOrResidenceAddress>
        <citizenship>United States</citizenship>
      </item2>
      <item3>
        <notApplicableFlag>Y</notApplicableFlag>
      </item3>
      <item4>
        <amountBeneficiallyOwned>79,197,377 shares</amountBeneficiallyOwned>
        <classPercent>46.0</classPercent>
        <numberOfSharesPersonHas>
          <solePowerOrDirectToVote>66,165,267 shares</solePowerOrDirectToVote>
          <sharedPowerOrDirectToVote>13,032,110 shares</sharedPowerOrDirectToVote>
          <solePowerOrDirectToDispose>66,165,267 shares</solePowerOrDirectToDispose>
          <sharedPowerOrDirectToDispose>13,032,110 shares</sharedPowerOrDirectToDispose>
        </numberOfSharesPersonHas>
      </item4>
      <item5>
        <notApplicableFlag>Y</notApplicableFlag>
        <classOwnership5PercentOrLess>N</classOwnership5PercentOrLess>
      </item5>
      <item6>
        <notApplicableFlag>Y</notApplicableFlag>
      </item6>
      <item7>
        <notApplicableFlag>Y</notApplicableFlag>
      </item7>
      <item8>
        <notApplicableFlag>Y</notApplicableFlag>
      </item8>
      <item9>
        <notApplicableFlag>Y</notApplicableFlag>
      </item9>
      <item10>
        <notApplicableFlag>Y</notApplicableFlag>
      </item10>
    </items>
    <signatureInformation>
      <reportingPersonName>ALAN TREFLER</reportingPersonName>
      <signatureDetails>
        <signature>/s/ Alan Trefler</signature>
        <title>Alan Trefler</title>
        <date>11/12/2025</date>
      </signatureDetails>
    </signatureInformation>
  </formData>
</edgarSubmission>
