REVENUE - Schedule of Remaining Performance Obligations (Details) - USD ($) $ in Thousands | Jun. 30, 2024 | Jun. 30, 2023 |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 1,406,249 | $ 1,266,096 |
Revenue remaining performance obligation (in percent) | 100% | 100% |
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2023-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | | $ 689,712 |
Revenue remaining performance obligation (in percent) | | 55% |
Expected timing of satisfaction | | 1 year |
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2024-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 732,614 | $ 309,292 |
Revenue remaining performance obligation (in percent) | 52% | 24% |
Expected timing of satisfaction | 1 year | 1 year |
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2025-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 376,883 | $ 158,006 |
Revenue remaining performance obligation (in percent) | 27% | 12% |
Expected timing of satisfaction | 1 year | 1 year |
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2026-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 188,228 | $ 109,086 |
Revenue remaining performance obligation (in percent) | 13% | 9% |
Expected timing of satisfaction | 1 year | |
Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2027-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 108,524 | |
Revenue remaining performance obligation (in percent) | 8% | |
Expected timing of satisfaction | | |
Pega Cloud | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 1,014,762 | $ 861,984 |
Pega Cloud | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2023-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | | $ 397,183 |
Expected timing of satisfaction | | 1 year |
Pega Cloud | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2024-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 470,379 | $ 238,691 |
Expected timing of satisfaction | 1 year | 1 year |
Pega Cloud | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2025-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 301,070 | $ 124,616 |
Expected timing of satisfaction | 1 year | 1 year |
Pega Cloud | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2026-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 152,839 | $ 101,494 |
Expected timing of satisfaction | 1 year | |
Pega Cloud | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2027-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 90,474 | |
Expected timing of satisfaction | | |
Maintenance | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 320,906 | $ 305,825 |
Maintenance | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2023-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | | $ 214,579 |
Expected timing of satisfaction | | 1 year |
Maintenance | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2024-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 209,655 | $ 58,551 |
Expected timing of satisfaction | 1 year | 1 year |
Maintenance | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2025-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 63,266 | $ 25,103 |
Expected timing of satisfaction | 1 year | 1 year |
Maintenance | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2026-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 30,032 | $ 7,592 |
Expected timing of satisfaction | 1 year | |
Maintenance | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2027-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 17,953 | |
Expected timing of satisfaction | | |
Subscription license | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 36,990 | $ 45,406 |
Subscription license | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2023-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | | $ 35,616 |
Expected timing of satisfaction | | 1 year |
Subscription license | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2024-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 23,931 | $ 3,026 |
Expected timing of satisfaction | 1 year | 1 year |
Subscription license | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2025-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 10,078 | $ 6,764 |
Expected timing of satisfaction | 1 year | 1 year |
Subscription license | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2026-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 2,884 | $ 0 |
Expected timing of satisfaction | 1 year | |
Subscription license | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2027-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 97 | |
Expected timing of satisfaction | | |
Perpetual license | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 2,696 | $ 7,231 |
Perpetual license | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2023-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | | $ 4,979 |
Expected timing of satisfaction | | 1 year |
Perpetual license | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2024-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 2,696 | $ 2,252 |
Expected timing of satisfaction | 1 year | 1 year |
Perpetual license | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2025-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 0 | $ 0 |
Expected timing of satisfaction | 1 year | 1 year |
Perpetual license | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2026-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 0 | $ 0 |
Expected timing of satisfaction | 1 year | |
Perpetual license | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2027-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 0 | |
Expected timing of satisfaction | | |
Consulting | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 30,895 | $ 45,650 |
Consulting | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2023-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | | $ 37,355 |
Expected timing of satisfaction | | 1 year |
Consulting | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2024-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 25,953 | $ 6,772 |
Expected timing of satisfaction | 1 year | 1 year |
Consulting | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2025-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 2,469 | $ 1,523 |
Expected timing of satisfaction | 1 year | 1 year |
Consulting | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2026-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 2,473 | $ 0 |
Expected timing of satisfaction | 1 year | |
Consulting | Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Start Date [Axis]: 2027-07-01 | | |
Disaggregation of Revenue [Line Items] | | |
Revenue remaining performance obligation | $ 0 | |
Expected timing of satisfaction | | |