<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>143</ContextCount>
  <ElementCount>239</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>47</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - DOCUMENT AND ENTITY INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DocumentDOCUMENTANDENTITYINFORMATION</Role>
      <ShortName>DOCUMENT AND ENTITY INFORMATION</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS PARENTHETICAL</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDBALANCESHEETSPARENTHETICAL</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS PARENTHETICAL</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS EQUITY (DEFICIT)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/StatementCondensedConsolidatedStatementsOfStockholdersEquityDeficit</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS EQUITY (DEFICIT)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.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>8</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.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>9</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995455 - Disclosure - BASIS OF PRESENTATION AND OTHER</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureBasisOfPresentationAndOther</Role>
      <ShortName>BASIS OF PRESENTATION AND OTHER</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995465 - Disclosure - ACQUISITIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureACQUISITIONS</Role>
      <ShortName>ACQUISITIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995475 - Disclosure - FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureFAIRVALUEMEASUREMENTS</Role>
      <ShortName>FAIR VALUE MEASUREMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995485 - Disclosure - INTANGIBLE ASSETS AND GOODWILL</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureINTANGIBLEASSETSANDGOODWILL</Role>
      <ShortName>INTANGIBLE ASSETS AND GOODWILL</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995505 - Disclosure - RESTRUCTURING ACTIVITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureRESTRUCTURINGACTIVITIES</Role>
      <ShortName>RESTRUCTURING ACTIVITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995515 - Disclosure - DEFERRED REVENUES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureDEFERREDREVENUES</Role>
      <ShortName>DEFERRED REVENUES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995525 - Disclosure - STOCKHOLDERS' EQUITY (DEFICIT)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureStockholdersEquityDeficit</Role>
      <ShortName>STOCKHOLDERS' EQUITY (DEFICIT)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995535 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureINCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995545 - Disclosure - SEGMENT INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureSEGMENTINFORMATION</Role>
      <ShortName>SEGMENT INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995555 - Disclosure - EARNINGS PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureEARNINGSPERSHARE</Role>
      <ShortName>EARNINGS PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995565 - Disclosure - LEGAL PROCEEDINGS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureLEGALPROCEEDINGS</Role>
      <ShortName>LEGAL PROCEEDINGS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995575 - Disclosure - BASIS OF PRESENTATION AND OTHER (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureBasisOfPresentationAndOtherPolicies</Role>
      <ShortName>BASIS OF PRESENTATION AND OTHER (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995585 - Disclosure - BASIS OF PRESENTATION AND OTHER (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureBasisOfPresentationAndOtherTables</Role>
      <ShortName>BASIS OF PRESENTATION AND OTHER (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/DisclosureBasisOfPresentationAndOther</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995605 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureFAIRVALUEMEASUREMENTSTables</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureFAIRVALUEMEASUREMENTS</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995615 - Disclosure - INTANGIBLE ASSETS AND GOODWILL (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureINTANGIBLEASSETSANDGOODWILLTables</Role>
      <ShortName>INTANGIBLE ASSETS AND GOODWILL (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureINTANGIBLEASSETSANDGOODWILL</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995635 - Disclosure - RESTRUCTURING ACTIVITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureRESTRUCTURINGACTIVITIESTables</Role>
      <ShortName>RESTRUCTURING ACTIVITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureRESTRUCTURINGACTIVITIES</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995645 - Disclosure - DEFERRED REVENUES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureDEFERREDREVENUESTables</Role>
      <ShortName>DEFERRED REVENUES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureDEFERREDREVENUES</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995655 - Disclosure - STOCKHOLDERS' EQUITY (DEFICIT) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureStockholdersEquityDeficitTables</Role>
      <ShortName>STOCKHOLDERS' EQUITY (DEFICIT) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/DisclosureStockholdersEquityDeficit</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995665 - Disclosure - SEGMENT INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureSEGMENTINFORMATIONTables</Role>
      <ShortName>SEGMENT INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureSEGMENTINFORMATION</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995675 - Disclosure - EARNINGS PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureEARNINGSPERSHARETables</Role>
      <ShortName>EARNINGS PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureEARNINGSPERSHARE</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995685 - Disclosure - BASIS OF PRESENTATION AND OTHER Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureBasisOfPresentationAndOtherNarrativeDetails</Role>
      <ShortName>BASIS OF PRESENTATION AND OTHER Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995695 - Disclosure - BASIS OF PRESENTATION AND OTHER Narrative (Details1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureBasisOfPresentationAndOtherNarrativeDetails1</Role>
      <ShortName>BASIS OF PRESENTATION AND OTHER Narrative (Details1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995705 - Disclosure - BASIS OF PRESENTATION AND OTHER (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureBasisOfPresentationAndOtherDetails</Role>
      <ShortName>BASIS OF PRESENTATION AND OTHER (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/DisclosureBasisOfPresentationAndOtherTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995715 - Disclosure - ACQUISITIONS Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureACQUISITIONSNarrativeDetails</Role>
      <ShortName>ACQUISITIONS Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995725 - Disclosure - FAIR VALUES OF NET ASSETS ACQUIRED FROM CERNER (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureFAIRVALUESOFNETASSETSACQUIREDFROMCERNERDetails</Role>
      <ShortName>FAIR VALUES OF NET ASSETS ACQUIRED FROM CERNER (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995745 - Disclosure - FAIR VALUE MEASUREMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureFAIRVALUEMEASUREMENTSDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureFAIRVALUEMEASUREMENTSTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995755 - Disclosure - FAIR VALUE MEASUREMENTS Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureFAIRVALUEMEASUREMENTSNarrativeDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995765 - Disclosure - INTANGIBLE ASSETS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureINTANGIBLEASSETSDetails</Role>
      <ShortName>INTANGIBLE ASSETS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureINTANGIBLEASSETSANDGOODWILLTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995775 - Disclosure - INTANGIBLE ASSETS AMORTIZATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureINTANGIBLEASSETSAMORTIZATIONDetails</Role>
      <ShortName>INTANGIBLE ASSETS AMORTIZATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995785 - Disclosure - GOODWILL (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureGOODWILLDetails</Role>
      <ShortName>GOODWILL (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995815 - Disclosure - RESTRUCTURING ACTIVITIES Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureRestructuringActivitiesNarrativeDetails</Role>
      <ShortName>RESTRUCTURING ACTIVITIES Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995825 - Disclosure - RESTRUCTURING ACTIVITIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureRestructuringActivitiesDetails</Role>
      <ShortName>RESTRUCTURING ACTIVITIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureRESTRUCTURINGACTIVITIESTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995835 - Disclosure - DEFERRED REVENUES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureDEFERREDREVENUESDetails</Role>
      <ShortName>DEFERRED REVENUES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureDEFERREDREVENUESTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995845 - Disclosure - STOCKHOLDERS' EQUITY (DEFICIT) Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureStockholdersEquityDeficitNarrativeDetails</Role>
      <ShortName>STOCKHOLDERS' EQUITY (DEFICIT) Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/DisclosureStockholdersEquityDeficitTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995855 - Disclosure - STOCKHOLDERS' EQUITY (DEFICIT) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/DisclosureStockholdersEquityDeficitDetails</Role>
      <ShortName>STOCKHOLDERS' EQUITY (DEFICIT) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/DisclosureStockholdersEquityDeficitTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995865 - Disclosure - INCOME TAXES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureINCOMETAXESDetails</Role>
      <ShortName>INCOME TAXES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureINCOMETAXES</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995875 - Disclosure - SEGMENT INFORMATION Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureSEGMENTINFORMATIONNarrativeDetails</Role>
      <ShortName>SEGMENT INFORMATION Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995885 - Disclosure - SEGMENT INFORMATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureSEGMENTINFORMATIONDetails</Role>
      <ShortName>SEGMENT INFORMATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureSEGMENTINFORMATIONTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995895 - Disclosure - SEGMENT INFORMATION RECONCILIATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureSEGMENTINFORMATIONRECONCILIATIONDetails</Role>
      <ShortName>SEGMENT INFORMATION RECONCILIATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995905 - Disclosure - SUMMARY OF TOTAL REVENUES BY GEOGRAPHIC REGION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureSUMMARYOFTOTALREVENUESBYGEOGRAPHICREGIONDetails</Role>
      <ShortName>SUMMARY OF TOTAL REVENUES BY GEOGRAPHIC REGION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995915 - Disclosure - SUMMARY OF CLOUD SERVICES AND LICENSE SUPPORT REVENUES BY ECOSYSTEMS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureSUMMARYOFCLOUDSERVICESANDLICENSESUPPORTREVENUESBYECOSYSTEMSDetails</Role>
      <ShortName>SUMMARY OF CLOUD SERVICES AND LICENSE SUPPORT REVENUES BY ECOSYSTEMS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995925 - Disclosure - EARNINGS PER SHARE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureEARNINGSPERSHAREDetails</Role>
      <ShortName>EARNINGS PER SHARE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureEARNINGSPERSHARETables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="orcl-20230831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995935 - Disclosure - LEGAL PROCEEDINGS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureLEGALPROCEEDINGSDetails</Role>
      <ShortName>LEGAL PROCEEDINGS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20230831/taxonomy/role/Role_DisclosureLEGALPROCEEDINGS</ParentRole>
      <Position>52</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" original="orcl-20230831.htm">orcl-20230831.htm</File>
    <File>orcl-20230831.xsd</File>
    <File>orcl-20230831_cal.xml</File>
    <File>orcl-20230831_def.xml</File>
    <File>orcl-20230831_lab.xml</File>
    <File>orcl-20230831_pre.xml</File>
    <File>orcl-ex31_01.htm</File>
    <File>orcl-ex32_01.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="507">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="32">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="7">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
