v3.26.1
Equity Award Plans (Allocation of Share Based Compensation Expense) (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Employee Service Share-based Compensation, Allocation of Recognized Period Costs      
Total share-based compensation $ 1,815 $ 1,300 $ 1,079
CyberArk And Koi      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs      
Total share-based compensation 177    
Income Statement Location: us-gaap:GeneralAndAdministrativeExpense      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs      
Total share-based compensation 448 258 124
Income Statement Location: us-gaap:GeneralAndAdministrativeExpense | CyberArk And Koi      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs      
Total share-based compensation 140    
Income Statement Location: us-gaap:ResearchAndDevelopmentExpense      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs      
Total share-based compensation 688 551 526
Income Statement Location: us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax | CyberArk And Koi      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs      
Total share-based compensation 1    
Income Statement Location: us-gaap:SellingAndMarketingExpense      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs      
Total share-based compensation 513 359 301
Income Statement Location: us-gaap:SellingAndMarketingExpense | CyberArk And Koi      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs      
Total share-based compensation 36    
Cost of product revenue | Income Statement Location: us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs      
Total share-based compensation 5 5 7
Cost of subscription and support revenue | Income Statement Location: us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax      
Employee Service Share-based Compensation, Allocation of Recognized Period Costs      
Total share-based compensation $ 161 $ 127 $ 121