<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>333</ContextCount>
  <ElementCount>345</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>62</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="pega-20240630.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-20240630.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-20240630.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-20240630.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-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/UNAUDITEDCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS</Role>
      <ShortName>UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="pega-20240630.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-20240630.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-20240630.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-20240630.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-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - MARKETABLE SECURITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/MARKETABLESECURITIES</Role>
      <ShortName>MARKETABLE SECURITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - 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>11</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - DEFERRED COMMISSIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEFERREDCOMMISSIONS</Role>
      <ShortName>DEFERRED COMMISSIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - GOODWILL AND OTHER INTANGIBLES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/GOODWILLANDOTHERINTANGIBLES</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - 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>14</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/LEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEBT</Role>
      <ShortName>DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - RESTRUCTURING</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RESTRUCTURING</Role>
      <ShortName>RESTRUCTURING</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - 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>18</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - REVENUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/REVENUE</Role>
      <ShortName>REVENUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - STOCK-BASED COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/STOCKBASEDCOMPENSATION</Role>
      <ShortName>STOCK-BASED COMPENSATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - EARNINGS (LOSS) PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/EARNINGSLOSSPERSHARE</Role>
      <ShortName>EARNINGS (LOSS) PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952172 - 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>23</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="pega-20240630.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-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9954471 - Disclosure - BASIS OF PRESENTATION (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/BASISOFPRESENTATIONPolicies</Role>
      <ShortName>BASIS OF PRESENTATION (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9954472 - 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-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9954473 - 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-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9954474 - 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-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9954475 - Disclosure - GOODWILL AND OTHER INTANGIBLES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/GOODWILLANDOTHERINTANGIBLESTables</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/GOODWILLANDOTHERINTANGIBLES</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9954476 - 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-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9954477 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/LEASESTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/LEASES</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9954478 - Disclosure - DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEBTTables</Role>
      <ShortName>DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/DEBT</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9954479 - 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>34</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9954480 - 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>35</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9954481 - 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>36</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9954482 - Disclosure - STOCK-BASED COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/STOCKBASEDCOMPENSATIONTables</Role>
      <ShortName>STOCK-BASED COMPENSATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/STOCKBASEDCOMPENSATION</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9954483 - 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>38</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9954484 - Disclosure - EARNINGS (LOSS) PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/EARNINGSLOSSPERSHARETables</Role>
      <ShortName>EARNINGS (LOSS) PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pega.com/role/EARNINGSLOSSPERSHARE</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9954485 - 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>40</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9954486 - 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>41</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9954487 - 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>42</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9954488 - 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>43</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9954489 - 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>44</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9954490 - 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>45</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9954491 - 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-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9954492 - 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-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9954493 - Disclosure - GOODWILL AND OTHER INTANGIBLES - Schedule of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/GOODWILLANDOTHERINTANGIBLESScheduleofGoodwillDetails</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLES - Schedule of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9954494 - Disclosure - GOODWILL AND OTHER INTANGIBLES - Schedule of Intangibles (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/GOODWILLANDOTHERINTANGIBLESScheduleofIntangiblesDetails</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLES - Schedule of Intangibles (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9954495 - Disclosure - GOODWILL AND OTHER INTANGIBLES - Schedule of Future Estimated Intangibles Assets Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/GOODWILLANDOTHERINTANGIBLESScheduleofFutureEstimatedIntangiblesAssetsAmortizationDetails</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLES - Schedule of Future Estimated Intangibles Assets Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9954496 - Disclosure - GOODWILL AND OTHER INTANGIBLES - Schedule of Amortization of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/GOODWILLANDOTHERINTANGIBLESScheduleofAmortizationofIntangibleAssetsDetails</Role>
      <ShortName>GOODWILL AND OTHER INTANGIBLES - Schedule of Amortization of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9954497 - Disclosure - OTHER ASSETS AND LIABILITIES - Schedule of Other Assets and Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/OTHERASSETSANDLIABILITIESScheduleofOtherAssetsandOtherLiabilitiesDetails</Role>
      <ShortName>OTHER ASSETS AND LIABILITIES - Schedule of Other Assets and Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9954498 - Disclosure - OTHER ASSETS AND LIABILITIES - Schedule of Accrued expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/OTHERASSETSANDLIABILITIESScheduleofAccruedexpensesDetails</Role>
      <ShortName>OTHER ASSETS AND LIABILITIES - Schedule of Accrued expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9954499 - Disclosure - LEASES - Schedule of Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/LEASESScheduleofExpenseDetails</Role>
      <ShortName>LEASES - Schedule of Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9954500 - Disclosure - LEASES - Schedule of Right of Use Asset and Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/LEASESScheduleofRightofUseAssetandLeaseLiabilitiesDetails</Role>
      <ShortName>LEASES - Schedule of Right of Use Asset and Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9954501 - Disclosure - LEASES - Schedule of Weighted Average and Discount Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/LEASESScheduleofWeightedAverageandDiscountRateDetails</Role>
      <ShortName>LEASES - Schedule of Weighted Average and Discount Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9954502 - Disclosure - LEASES - Schedule of Maturities of Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/LEASESScheduleofMaturitiesofLeaseLiabilitiesDetails</Role>
      <ShortName>LEASES - Schedule of Maturities of Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9954503 - Disclosure - LEASES - Schedule of Cash Flow Lease Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/LEASESScheduleofCashFlowLeaseInformationDetails</Role>
      <ShortName>LEASES - Schedule of Cash Flow Lease Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9954504 - Disclosure - DEBT - Convertible senior notes and capped calls (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pega.com/role/DEBTConvertibleseniornotesandcappedcallsDetails</Role>
      <ShortName>DEBT - Convertible senior notes and capped calls (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9954505 - Disclosure - DEBT - Schedule of Carrying value of the Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pega.com/role/DEBTScheduleofCarryingvalueoftheNotesDetails</Role>
      <ShortName>DEBT - Schedule of Carrying value of the Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9954506 - Disclosure - DEBT - Schedule of Interest Expense Related to the Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pega.com/role/DEBTScheduleofInterestExpenseRelatedtotheNotesDetails</Role>
      <ShortName>DEBT - Schedule of Interest Expense Related to the Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9954507 - Disclosure - DEBT - Schedule of Future Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEBTScheduleofFuturePaymentsDetails</Role>
      <ShortName>DEBT - Schedule of Future Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9954508 - Disclosure - DEBT - Capped Call Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEBTCappedCallTransactionsDetails</Role>
      <ShortName>DEBT - Capped Call Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9954509 - Disclosure - DEBT - Schedule of Change in Capped Call Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEBTScheduleofChangeinCappedCallTransactionsDetails</Role>
      <ShortName>DEBT - Schedule of Change in Capped Call Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9954510 - Disclosure - DEBT - Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/DEBTCreditFacilityDetails</Role>
      <ShortName>DEBT - Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9954511 - 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>66</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9954512 - Disclosure - RESTRUCTURING - Schedule of Accrued Employee Severance and Related Benefit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/RESTRUCTURINGScheduleofAccruedEmployeeSeveranceandRelatedBenefitDetails</Role>
      <ShortName>RESTRUCTURING - Schedule of Accrued Employee Severance and Related Benefit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9954513 - 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>68</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9954514 - 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>69</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9954515 - Disclosure - FAIR VALUE MEASUREMENTS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9954516 - 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>71</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9954517 - 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>72</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9954518 - 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>73</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9954519 - Disclosure - STOCK-BASED COMPENSATION - Schedule of Stock Based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/STOCKBASEDCOMPENSATIONScheduleofStockBasedCompensationExpenseDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Schedule of Stock Based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9954520 - Disclosure - STOCK-BASED COMPENSATION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/STOCKBASEDCOMPENSATIONNarrativeDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9954521 - Disclosure - STOCK-BASED COMPENSATION - Schedule of Stock Based Compensation Award Granted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/STOCKBASEDCOMPENSATIONScheduleofStockBasedCompensationAwardGrantedDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Schedule of Stock Based Compensation Award Granted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9954522 - 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>77</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9954523 - Disclosure - EARNINGS (LOSS) PER SHARE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pega.com/role/EARNINGSLOSSPERSHAREDetails</Role>
      <ShortName>EARNINGS (LOSS) PER SHARE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pega.com/role/EARNINGSLOSSPERSHARETables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="pega-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9954524 - 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>79</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-20240630.htm">pega-20240630.htm</File>
    <File>pega-20240630.xsd</File>
    <File>pega-20240630_cal.xml</File>
    <File>pega-20240630_def.xml</File>
    <File>pega-20240630_lab.xml</File>
    <File>pega-20240630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>pega-20240630_g1.jpg</File>
    <File>pega-20240630_g2.jpg</File>
    <File>pega-20240630_g3.jpg</File>
    <File>pega-20240630_g4.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2024</BaseTaxonomy>
    <BaseTaxonomy items="1054">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="10">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
