<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>303</ContextCount>
  <ElementCount>292</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>57</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952155 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952156 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYParenthetical</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952157 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - BASIS OF PRESENTATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/BASISOFPRESENTATION</Role>
      <ShortName>BASIS OF PRESENTATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - NEW ACCOUNTING PRONOUNCEMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/NEWACCOUNTINGPRONOUNCEMENTS</Role>
      <ShortName>NEW ACCOUNTING PRONOUNCEMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - MARKETABLE SECURITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/MARKETABLESECURITIES</Role>
      <ShortName>MARKETABLE SECURITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RECEIVABLESCONTRACTASSETSANDDEFERREDREVENUE</Role>
      <ShortName>RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - DEFERRED COMMISSIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEFERREDCOMMISSIONS</Role>
      <ShortName>DEFERRED COMMISSIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - GOODWILL</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/GOODWILL</Role>
      <ShortName>GOODWILL</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - OTHER ASSETS AND LIABILITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/OTHERASSETSANDLIABILITIES</Role>
      <ShortName>OTHER ASSETS AND LIABILITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - SEGMENT INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/SEGMENTINFORMATION</Role>
      <ShortName>SEGMENT INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEBT</Role>
      <ShortName>DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - RESTRUCTURING</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RESTRUCTURING</Role>
      <ShortName>RESTRUCTURING</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/FAIRVALUEMEASUREMENTS</Role>
      <ShortName>FAIR VALUE MEASUREMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - REVENUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/REVENUE</Role>
      <ShortName>REVENUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/STOCKHOLDERSEQUITY</Role>
      <ShortName>STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - EARNINGS PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/EARNINGSPERSHARE</Role>
      <ShortName>EARNINGS PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/COMMITMENTSANDCONTINGENCIES</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - NEW ACCOUNTING PRONOUNCEMENTS (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/NEWACCOUNTINGPRONOUNCEMENTSPolicies</Role>
      <ShortName>NEW ACCOUNTING PRONOUNCEMENTS (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - MARKETABLE SECURITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/MARKETABLESECURITIESTables</Role>
      <ShortName>MARKETABLE SECURITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/MARKETABLESECURITIES</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RECEIVABLESCONTRACTASSETSANDDEFERREDREVENUETables</Role>
      <ShortName>RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/RECEIVABLESCONTRACTASSETSANDDEFERREDREVENUE</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - DEFERRED COMMISSIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEFERREDCOMMISSIONSTables</Role>
      <ShortName>DEFERRED COMMISSIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/DEFERREDCOMMISSIONS</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - GOODWILL (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/GOODWILLTables</Role>
      <ShortName>GOODWILL (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/GOODWILL</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - OTHER ASSETS AND LIABILITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/OTHERASSETSANDLIABILITIESTables</Role>
      <ShortName>OTHER ASSETS AND LIABILITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/OTHERASSETSANDLIABILITIES</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - SEGMENT INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/SEGMENTINFORMATIONTables</Role>
      <ShortName>SEGMENT INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/SEGMENTINFORMATION</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - RESTRUCTURING (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RESTRUCTURINGTables</Role>
      <ShortName>RESTRUCTURING (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/RESTRUCTURING</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/FAIRVALUEMEASUREMENTSTables</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/FAIRVALUEMEASUREMENTS</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - REVENUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/REVENUETables</Role>
      <ShortName>REVENUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/REVENUE</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - STOCKHOLDERS' EQUITY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/STOCKHOLDERSEQUITYTables</Role>
      <ShortName>STOCKHOLDERS' EQUITY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/STOCKHOLDERSEQUITY</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/INCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/INCOMETAXES</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - EARNINGS PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/EARNINGSPERSHARETables</Role>
      <ShortName>EARNINGS PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/EARNINGSPERSHARE</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - MARKETABLE SECURITIES - Schedule of Marketable Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/MARKETABLESECURITIESScheduleofMarketableSecuritiesDetails</Role>
      <ShortName>MARKETABLE SECURITIES - Schedule of Marketable Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - MARKETABLE SECURITIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/MARKETABLESECURITIESNarrativeDetails</Role>
      <ShortName>MARKETABLE SECURITIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE - Schedule of Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RECEIVABLESCONTRACTASSETSANDDEFERREDREVENUEScheduleofReceivablesDetails</Role>
      <ShortName>RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE - Schedule of Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE - Schedule of Unbilled Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RECEIVABLESCONTRACTASSETSANDDEFERREDREVENUEScheduleofUnbilledReceivablesDetails</Role>
      <ShortName>RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE - Schedule of Unbilled Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE- Schedule of Unbilled Receivables by Contract Effective Date (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RECEIVABLESCONTRACTASSETSANDDEFERREDREVENUEScheduleofUnbilledReceivablesbyContractEffectiveDateDetails</Role>
      <ShortName>RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE- Schedule of Unbilled Receivables by Contract Effective Date (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE - Schedule of Contract Assets and Deferred Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RECEIVABLESCONTRACTASSETSANDDEFERREDREVENUEScheduleofContractAssetsandDeferredRevenueDetails</Role>
      <ShortName>RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE - Schedule of Contract Assets and Deferred Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RECEIVABLESCONTRACTASSETSANDDEFERREDREVENUENarrativeDetails</Role>
      <ShortName>RECEIVABLES, CONTRACT ASSETS, AND DEFERRED REVENUE - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pega.com/role/RECEIVABLESCONTRACTASSETSANDDEFERREDREVENUETables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - DEFERRED COMMISSIONS - Schedule of Impairment of Deferred Commissions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEFERREDCOMMISSIONSScheduleofImpairmentofDeferredCommissionsDetails</Role>
      <ShortName>DEFERRED COMMISSIONS - Schedule of Impairment of Deferred Commissions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - DEFERRED COMMISSIONS - Schedule of Amortization of Deferred Commissions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEFERREDCOMMISSIONSScheduleofAmortizationofDeferredCommissionsDetails</Role>
      <ShortName>DEFERRED COMMISSIONS - Schedule of Amortization of Deferred Commissions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - GOODWILL (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/GOODWILLDetails</Role>
      <ShortName>GOODWILL (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pega.com/role/GOODWILLTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - OTHER ASSETS AND LIABILITIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/OTHERASSETSANDLIABILITIESDetails</Role>
      <ShortName>OTHER ASSETS AND LIABILITIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pega.com/role/OTHERASSETSANDLIABILITIESTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - SEGMENT INFORMATION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/SEGMENTINFORMATIONNarrativeDetails</Role>
      <ShortName>SEGMENT INFORMATION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - SEGMENT INFORMATION - Schedule of Information of Operation Income (Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/SEGMENTINFORMATIONScheduleofInformationofOperationIncomeExpenseDetails</Role>
      <ShortName>SEGMENT INFORMATION - Schedule of Information of Operation Income (Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - SEGMENT INFORMATION - Schedule of Long-Lived Assets by Geographic Area (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/SEGMENTINFORMATIONScheduleofLongLivedAssetsbyGeographicAreaDetails</Role>
      <ShortName>SEGMENT INFORMATION - Schedule of Long-Lived Assets by Geographic Area (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - DEBT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEBTDetails</Role>
      <ShortName>DEBT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pega.com/role/DEBT</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - RESTRUCTURING - Schedule of Restructuring Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RESTRUCTURINGScheduleofRestructuringActivitiesDetails</Role>
      <ShortName>RESTRUCTURING - Schedule of Restructuring Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - RESTRUCTURING - Schedule of Accrued Employee Severance and Related Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RESTRUCTURINGScheduleofAccruedEmployeeSeveranceandRelatedCostsDetails</Role>
      <ShortName>RESTRUCTURING - Schedule of Accrued Employee Severance and Related Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - FAIR VALUE MEASUREMENTS - Schedule of Assets and Liabilities Measured at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/FAIRVALUEMEASUREMENTSScheduleofAssetsandLiabilitiesMeasuredatFairValueDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Schedule of Assets and Liabilities Measured at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - FAIR VALUE MEASUREMENTS - Schedule of Changes in Venture Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinVentureInvestmentsDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Schedule of Changes in Venture Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - REVENUE - Schedule of Geographic Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/REVENUEScheduleofGeographicRevenueDetails</Role>
      <ShortName>REVENUE - Schedule of Geographic Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - REVENUE - Schedule of Revenue Streams (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/REVENUEScheduleofRevenueStreamsDetails</Role>
      <ShortName>REVENUE - Schedule of Revenue Streams (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - REVENUE - Schedule of Remaining Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/REVENUEScheduleofRemainingPerformanceObligationsDetails</Role>
      <ShortName>REVENUE - Schedule of Remaining Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - STOCKHOLDERS' EQUITY - Schedule of Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/STOCKHOLDERSEQUITYScheduleofStockbasedCompensationExpenseDetails</Role>
      <ShortName>STOCKHOLDERS' EQUITY - Schedule of Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - STOCKHOLDERS' EQUITY - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/STOCKHOLDERSEQUITYNarrativeDetails</Role>
      <ShortName>STOCKHOLDERS' EQUITY - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - STOCKHOLDERS' EQUITY - Schedule of Stock-based Compensation Expense Grants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/STOCKHOLDERSEQUITYScheduleofStockbasedCompensationExpenseGrantsDetails</Role>
      <ShortName>STOCKHOLDERS' EQUITY - Schedule of Stock-based Compensation Expense Grants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - INCOME TAXES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/INCOMETAXESDetails</Role>
      <ShortName>INCOME TAXES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pega.com/role/INCOMETAXESTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - EARNINGS PER SHARE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/EARNINGSPERSHAREDetails</Role>
      <ShortName>EARNINGS PER SHARE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pega.com/role/EARNINGSPERSHARETables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="pega-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/COMMITMENTSANDCONTINGENCIESDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pega.com/role/COMMITMENTSANDCONTINGENCIES</ParentRole>
      <Position>66</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="pega-20260630.htm">pega-20260630.htm</File>
    <File>pega-20260630.xsd</File>
    <File>pega-20260630_cal.xml</File>
    <File>pega-20260630_def.xml</File>
    <File>pega-20260630_lab.xml</File>
    <File>pega-20260630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>pega-20260630_g1.jpg</File>
    <File>pega-20260630_g2.jpg</File>
    <File>pega-20260630_g3.jpg</File>
    <File>pega-20260630_g4.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="946">http://fasb.org/us-gaap/2026</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2026</BaseTaxonomy>
    <BaseTaxonomy items="11">http://xbrl.sec.gov/ecd/2026</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
