<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>507</ContextCount>
  <ElementCount>593</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>143</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="orcl-20190531.xml">
      <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/20190531/taxonomy/role/DocumentDOCUMENTANDENTITYINFORMATION</Role>
      <ShortName>DOCUMENT AND ENTITY INFORMATION</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/StatementCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - CONSOLIDATED BALANCE SHEETS PARENTHETICAL</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/StatementCONSOLIDATEDBALANCESHEETSPARENTHETICAL</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS PARENTHETICAL</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - CONSOLIDATED STATEMENTS OF EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - CONSOLIDATED STATEMENTS OF EQUITY PARENTHETICAL</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFEQUITYPARENTHETICAL</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF EQUITY PARENTHETICAL</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureORGANIZATIONANDSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - ACQUISITIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureACQUISITIONS</Role>
      <ShortName>ACQUISITIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - CASH, CASH EQUIVALENTS AND MARKETABLE SECURITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureCASHCASHEQUIVALENTSANDMARKETABLESECURITIES</Role>
      <ShortName>CASH, CASH EQUIVALENTS AND MARKETABLE SECURITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTS</Role>
      <ShortName>FAIR VALUE MEASUREMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - PROPERTY, PLANT AND EQUIPMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosurePROPERTYPLANTANDEQUIPMENT</Role>
      <ShortName>PROPERTY, PLANT AND EQUIPMENT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - INTANGIBLE ASSETS AND GOODWILL</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINTANGIBLEASSETSANDGOODWILL</Role>
      <ShortName>INTANGIBLE ASSETS AND GOODWILL</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - NOTES PAYABLE AND OTHER BORROWINGS</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureNOTESPAYABLEANDOTHERBORROWINGS</Role>
      <ShortName>NOTES PAYABLE AND OTHER BORROWINGS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - RESTRUCTURING ACTIVITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureRESTRUCTURINGACTIVITIES</Role>
      <ShortName>RESTRUCTURING ACTIVITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - DEFERRED REVENUES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureDEFERREDREVENUES</Role>
      <ShortName>DEFERRED REVENUES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureDERIVATIVEFINANCIALINSTRUMENTS</Role>
      <ShortName>DERIVATIVE FINANCIAL INSTRUMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - COMMITMENTS AND CERTAIN CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureCOMMITMENTSANDCERTAINCONTINGENCIES</Role>
      <ShortName>COMMITMENTS AND CERTAIN CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSTOCKHOLDERSEQUITY</Role>
      <ShortName>STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - EMPLOYEE BENEFIT PLANS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureEMPLOYEEBENEFITPLANS</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - SEGMENT INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSEGMENTINFORMATION</Role>
      <ShortName>SEGMENT INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - EARNINGS PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureEARNINGSPERSHARE</Role>
      <ShortName>EARNINGS PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - LEGAL PROCEEDINGS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureLEGALPROCEEDINGS</Role>
      <ShortName>LEGAL PROCEEDINGS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - VALUATION AND QUALIFYING ACCOUNTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureVALUATIONANDQUALIFYINGACCOUNTS</Role>
      <ShortName>VALUATION AND QUALIFYING ACCOUNTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureORGANIZATIONANDSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureORGANIZATIONANDSIGNIFICANTACCOUNTINGPOLICIESTables</Role>
      <ShortName>ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureORGANIZATIONANDSIGNIFICANTACCOUNTINGPOLICIES</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - ACQUISITIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureACQUISITIONSTables</Role>
      <ShortName>ACQUISITIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureACQUISITIONS</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - CASH, CASH EQUIVALENTS AND MARKETABLE SECURITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureCASHCASHEQUIVALENTSANDMARKETABLESECURITIESTables</Role>
      <ShortName>CASH, CASH EQUIVALENTS AND MARKETABLE SECURITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureCASHCASHEQUIVALENTSANDMARKETABLESECURITIES</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTSTables</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTS</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - PROPERTY, PLANT AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosurePROPERTYPLANTANDEQUIPMENTTables</Role>
      <ShortName>PROPERTY, PLANT AND EQUIPMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosurePROPERTYPLANTANDEQUIPMENT</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - INTANGIBLE ASSETS AND GOODWILL (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINTANGIBLEASSETSANDGOODWILLTables</Role>
      <ShortName>INTANGIBLE ASSETS AND GOODWILL (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureINTANGIBLEASSETSANDGOODWILL</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - NOTES PAYABLE AND OTHER BORROWINGS (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureNOTESPAYABLEANDOTHERBORROWINGSTables</Role>
      <ShortName>NOTES PAYABLE AND OTHER BORROWINGS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureNOTESPAYABLEANDOTHERBORROWINGS</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - RESTRUCTURING ACTIVITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureRESTRUCTURINGACTIVITIESTables</Role>
      <ShortName>RESTRUCTURING ACTIVITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureRESTRUCTURINGACTIVITIES</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - DEFERRED REVENUES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureDEFERREDREVENUESTables</Role>
      <ShortName>DEFERRED REVENUES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureDEFERREDREVENUES</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureDERIVATIVEFINANCIALINSTRUMENTSTables</Role>
      <ShortName>DERIVATIVE FINANCIAL INSTRUMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureDERIVATIVEFINANCIALINSTRUMENTS</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - COMMITMENTS AND CERTAIN CONTINGENCIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureCOMMITMENTSANDCERTAINCONTINGENCIESTables</Role>
      <ShortName>COMMITMENTS AND CERTAIN CONTINGENCIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureCOMMITMENTSANDCERTAINCONTINGENCIES</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - STOCKHOLDERS' EQUITY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSTOCKHOLDERSEQUITYTables</Role>
      <ShortName>STOCKHOLDERS' EQUITY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureSTOCKHOLDERSEQUITY</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - EMPLOYEE BENEFIT PLANS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureEMPLOYEEBENEFITPLANSTables</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureEMPLOYEEBENEFITPLANS</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureINCOMETAXES</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - SEGMENT INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSEGMENTINFORMATIONTables</Role>
      <ShortName>SEGMENT INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureSEGMENTINFORMATION</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - EARNINGS PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureEARNINGSPERSHARETables</Role>
      <ShortName>EARNINGS PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureEARNINGSPERSHARE</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureORGANIZATIONANDSIGNIFICANTACCOUNTINGPOLICIESNarrativeDetails</Role>
      <ShortName>ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureORGANIZATIONANDSIGNIFICANTACCOUNTINGPOLICIESTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureORGANIZATIONANDSIGNIFICANTACCOUNTINGPOLICIESDetails</Role>
      <ShortName>ORGANIZATION AND SIGNIFICANT ACCOUNTING POLICIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureORGANIZATIONANDSIGNIFICANTACCOUNTINGPOLICIESTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - ACQUISITIONS Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureACQUISITIONSNarrativeDetails</Role>
      <ShortName>ACQUISITIONS Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - ACQUISITIONS - UNAUDITED PRO FORMA FINANCIAL INFORMATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureACQUISITIONSUNAUDITEDPROFORMAFINANCIALINFORMATIONDetails</Role>
      <ShortName>ACQUISITIONS - UNAUDITED PRO FORMA FINANCIAL INFORMATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100470 - Disclosure - CASH, CASH EQUIVALENTS AND MARKETABLE SECURITIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureCASHCASHEQUIVALENTSANDMARKETABLESECURITIESDetails</Role>
      <ShortName>CASH, CASH EQUIVALENTS AND MARKETABLE SECURITIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureCASHCASHEQUIVALENTSANDMARKETABLESECURITIESTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100480 - Disclosure - FAIR VALUE MEASUREMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTSDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTSTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100490 - Disclosure - FAIR VALUE MEASUREMENTS Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureFAIRVALUEMEASUREMENTSNarrativeDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100500 - Disclosure - PROPERTY, PLANT AND EQUIPMENT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosurePROPERTYPLANTANDEQUIPMENTDetails</Role>
      <ShortName>PROPERTY, PLANT AND EQUIPMENT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosurePROPERTYPLANTANDEQUIPMENTTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100510 - Disclosure - INTANGIBLE ASSETS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINTANGIBLEASSETSDetails</Role>
      <ShortName>INTANGIBLE ASSETS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureINTANGIBLEASSETSANDGOODWILLTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100520 - Disclosure - INTANGIBLE ASSETS AND GOODWILL Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINTANGIBLEASSETSANDGOODWILLNarrativeDetails</Role>
      <ShortName>INTANGIBLE ASSETS AND GOODWILL Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100530 - Disclosure - INTANGIBLE ASSETS AMORTIZATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINTANGIBLEASSETSAMORTIZATIONDetails</Role>
      <ShortName>INTANGIBLE ASSETS AMORTIZATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100540 - Disclosure - GOODWILL (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureGOODWILLDetails</Role>
      <ShortName>GOODWILL (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100550 - Disclosure - NOTES PAYABLE AND OTHER BORROWINGS (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureNOTESPAYABLEANDOTHERBORROWINGSDetails</Role>
      <ShortName>NOTES PAYABLE AND OTHER BORROWINGS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureNOTESPAYABLEANDOTHERBORROWINGSTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100570 - Disclosure - NOTES PAYABLE AND OTHER BORROWINGS Narrative (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureNOTESPAYABLEANDOTHERBORROWINGSNarrativeDetails</Role>
      <ShortName>NOTES PAYABLE AND OTHER BORROWINGS Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100580 - Disclosure - FUTURE PRINCIPAL PAYMENTS FOR ALL BORROWINGS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureFUTUREPRINCIPALPAYMENTSFORALLBORROWINGSDetails</Role>
      <ShortName>FUTURE PRINCIPAL PAYMENTS FOR ALL BORROWINGS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100590 - Disclosure - RESTRUCTURING ACTIVITIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureRESTRUCTURINGACTIVITIESDetails</Role>
      <ShortName>RESTRUCTURING ACTIVITIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureRESTRUCTURINGACTIVITIESTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100600 - Disclosure - RESTRUCTURING ACTIVITIES Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureRESTRUCTURINGACTIVITIESNarrativeDetails</Role>
      <ShortName>RESTRUCTURING ACTIVITIES Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100610 - Disclosure - DEFERRED REVENUES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureDEFERREDREVENUESDetails</Role>
      <ShortName>DEFERRED REVENUES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureDEFERREDREVENUESTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100620 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureDERIVATIVEFINANCIALINSTRUMENTSNarrativeDetails</Role>
      <ShortName>DERIVATIVE FINANCIAL INSTRUMENTS Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100630 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS EFFECTS ON BALANCE SHEETS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureDERIVATIVEFINANCIALINSTRUMENTSEFFECTSONBALANCESHEETSDetails</Role>
      <ShortName>DERIVATIVE FINANCIAL INSTRUMENTS EFFECTS ON BALANCE SHEETS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100640 - Disclosure - DERIVATIVE FINANCIAL INSTRUMENTS EFFECTS ON EARNINGS AND AOCL (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureDERIVATIVEFINANCIALINSTRUMENTSEFFECTSONEARNINGSANDAOCLDetails</Role>
      <ShortName>DERIVATIVE FINANCIAL INSTRUMENTS EFFECTS ON EARNINGS AND AOCL (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100650 - Disclosure - COMMITMENTS AND CERTAIN CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureCOMMITMENTSANDCERTAINCONTINGENCIESDetails</Role>
      <ShortName>COMMITMENTS AND CERTAIN CONTINGENCIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureCOMMITMENTSANDCERTAINCONTINGENCIESTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100660 - Disclosure - COMMITMENTS AND CERTAIN CONTINGENCIES Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureCOMMITMENTSANDCERTAINCONTINGENCIESNarrativeDetails</Role>
      <ShortName>COMMITMENTS AND CERTAIN CONTINGENCIES Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100670 - Disclosure - STOCKHOLDERS' EQUITY Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSTOCKHOLDERSEQUITYNarrativeDetails</Role>
      <ShortName>STOCKHOLDERS' EQUITY Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100680 - Disclosure - STOCKHOLDERS' EQUITY (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSTOCKHOLDERSEQUITYDetails</Role>
      <ShortName>STOCKHOLDERS' EQUITY (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureSTOCKHOLDERSEQUITYTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100690 - Disclosure - EMPLOYEE BENEFIT PLANS Continued (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureEMPLOYEEBENEFITPLANSContinuedDetails</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS Continued (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100700 - Disclosure - EMPLOYEE BENEFIT PLANS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureEMPLOYEEBENEFITPLANSDetails</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureEMPLOYEEBENEFITPLANSTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100710 - Disclosure - TAX BENEFITS FROM EXERCISES OF STOCK OPTIONS AND VESTING OF RESTRICTED STOCK-BASED AWARDS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureTAXBENEFITSFROMEXERCISESOFSTOCKOPTIONSANDVESTINGOFRESTRICTEDSTOCKBASEDAWARDSDetails</Role>
      <ShortName>TAX BENEFITS FROM EXERCISES OF STOCK OPTIONS AND VESTING OF RESTRICTED STOCK-BASED AWARDS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100720 - Disclosure - DEFERRED CONTRIBUTION PLANS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureDEFERREDCONTRIBUTIONPLANSDetails</Role>
      <ShortName>DEFERRED CONTRIBUTION PLANS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100730 - Disclosure - DEFERRED COMPENSATION PLANS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureDEFERREDCOMPENSATIONPLANSDetails</Role>
      <ShortName>DEFERRED COMPENSATION PLANS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100740 - Disclosure - INCOME TAXES Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINCOMETAXESNarrativeDetails</Role>
      <ShortName>INCOME TAXES Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100750 - Disclosure - INCOME TAXES - Geographical Breakdown of Income before Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINCOMETAXESGeographicalBreakdownOfIncomeBeforeProvisionForIncomeTaxesDetails</Role>
      <ShortName>INCOME TAXES - Geographical Breakdown of Income before Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100760 - Disclosure - INCOME TAXES - Components of Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINCOMETAXESComponentsOfProvisionForIncomeTaxesDetails</Role>
      <ShortName>INCOME TAXES - Components of Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100770 - Disclosure - INCOME TAXES - Reconciliation of Differences Between Federal Statutory Tax Rate and Effective Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINCOMETAXESReconciliationOfDifferencesBetweenFederalStatutoryTaxRateAndEffectiveTaxRateDetails</Role>
      <ShortName>INCOME TAXES - Reconciliation of Differences Between Federal Statutory Tax Rate and Effective Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100780 - Disclosure - INCOME TAXES - Components of Deferred Tax Liabilities and Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINCOMETAXESComponentsOfDeferredTaxLiabilitiesAndAssetsDetails</Role>
      <ShortName>INCOME TAXES - Components of Deferred Tax Liabilities and Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100790 - Disclosure - INCOME TAXES - Components of Deferred Tax Liabilities and Assets Continued (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINCOMETAXESComponentsOfDeferredTaxLiabilitiesAndAssetsContinuedDetails</Role>
      <ShortName>INCOME TAXES - Components of Deferred Tax Liabilities and Assets Continued (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100800 - Disclosure - INCOME TAXES - Gross Unrecognized Tax Benefits, Including Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureINCOMETAXESGrossUnrecognizedTaxBenefitsIncludingAcquisitionsDetails</Role>
      <ShortName>INCOME TAXES - Gross Unrecognized Tax Benefits, Including Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>100810 - Disclosure - SEGMENT INFORMATION Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSEGMENTINFORMATIONNarrativeDetails</Role>
      <ShortName>SEGMENT INFORMATION Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>100820 - Disclosure - SEGMENT INFORMATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSEGMENTINFORMATIONDetails</Role>
      <ShortName>SEGMENT INFORMATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureSEGMENTINFORMATIONTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>100830 - Disclosure - SEGMENT INFORMATION RECONCILIATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSEGMENTINFORMATIONRECONCILIATIONDetails</Role>
      <ShortName>SEGMENT INFORMATION RECONCILIATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>100840 - Disclosure - SUMMARY OF TOTAL REVENUES BY GEOGRAPHIC REGION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSUMMARYOFTOTALREVENUESBYGEOGRAPHICREGIONDetails</Role>
      <ShortName>SUMMARY OF TOTAL REVENUES BY GEOGRAPHIC REGION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>100850 - Disclosure - SUMMARY OF CLOUD AND LICENSE BUSINESS REVENUES BY ECOSYSTEM (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSUMMARYOFCLOUDANDLICENSEBUSINESSREVENUESBYECOSYSTEMDetails</Role>
      <ShortName>SUMMARY OF CLOUD AND LICENSE BUSINESS REVENUES BY ECOSYSTEM (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>100860 - Disclosure - SEGMENT INFORMATION Continued (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureSEGMENTINFORMATIONContinuedDetails</Role>
      <ShortName>SEGMENT INFORMATION Continued (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>100870 - Disclosure - EARNINGS PER SHARE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureEARNINGSPERSHAREDetails</Role>
      <ShortName>EARNINGS PER SHARE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureEARNINGSPERSHARETables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>100880 - Disclosure - LEGAL PROCEEDINGS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureLEGALPROCEEDINGSDetails</Role>
      <ShortName>LEGAL PROCEEDINGS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureLEGALPROCEEDINGS</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="orcl-20190531.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>100890 - Disclosure - VALUATION AND QUALIFYING ACCOUNTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oracle.com/20190531/taxonomy/role/DisclosureVALUATIONANDQUALIFYINGACCOUNTSDetails</Role>
      <ShortName>VALUATION AND QUALIFYING ACCOUNTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oracle.com/20190531/taxonomy/role/DisclosureVALUATIONANDQUALIFYINGACCOUNTS</ParentRole>
      <Position>89</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>orcl-20190531.xml</File>
    <File>orcl-20190531.xsd</File>
    <File>orcl-20190531_cal.xml</File>
    <File>orcl-20190531_def.xml</File>
    <File>orcl-20190531_lab.xml</File>
    <File>orcl-20190531_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
