<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>225</ContextCount>
  <ElementCount>480</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>82</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0401401 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001001 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002002 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003003 - Statement - Consolidated Statements of Operations and Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/ConsolidatedStatementsofOperationsandComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Operations and Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004004 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS??? EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS??? EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005005 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS??? EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS??? EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006006 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - BUSINESS AND BASIS OF PRESENTATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/BUSINESSANDBASISOFPRESENTATION</Role>
      <ShortName>BUSINESS AND BASIS OF PRESENTATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2102102 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2114103 - Disclosure - REVENUES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/REVENUES</Role>
      <ShortName>REVENUES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2116104 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/FAIRVALUEOFFINANCIALINSTRUMENTS</Role>
      <ShortName>FAIR VALUE OF FINANCIAL INSTRUMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2122105 - Disclosure - EARNINGS PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/EARNINGSPERSHARE</Role>
      <ShortName>EARNINGS PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2126106 - Disclosure - BALANCE SHEET COMPONENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/BALANCESHEETCOMPONENTS</Role>
      <ShortName>BALANCE SHEET COMPONENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2133107 - Disclosure - ACCRUED WARRANTY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/ACCRUEDWARRANTY</Role>
      <ShortName>ACCRUED WARRANTY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2136108 - Disclosure - DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/DEBT</Role>
      <ShortName>DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2141109 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/COMMITMENTSANDCONTINGENCIES</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2145110 - Disclosure - COMMON STOCK AND TREASURY STOCK</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/COMMONSTOCKANDTREASURYSTOCK</Role>
      <ShortName>COMMON STOCK AND TREASURY STOCK</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2149111 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOME</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2151112 - Disclosure - STOCK BASED COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/STOCKBASEDCOMPENSATION</Role>
      <ShortName>STOCK BASED COMPENSATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2158113 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2166114 - Disclosure - SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SEGMENTINFORMATIONREVENUESBYGEOGRAPHYANDSIGNIFICANTCUSTOMERS</Role>
      <ShortName>SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2172115 - Disclosure - RELATED PARTY TRANSACTIONS AND CERTAIN OTHER TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/RELATEDPARTYTRANSACTIONSANDCERTAINOTHERTRANSACTIONS</Role>
      <ShortName>RELATED PARTY TRANSACTIONS AND CERTAIN OTHER TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2174116 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUBSEQUENTEVENTS</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2176117 - Disclosure - SUPPLEMENTARY DATA (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUPPLEMENTARYDATAUNAUDITED</Role>
      <ShortName>SUPPLEMENTARY DATA (UNAUDITED)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2203201 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2317302 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSTables</Role>
      <ShortName>FAIR VALUE OF FINANCIAL INSTRUMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/FAIRVALUEOFFINANCIALINSTRUMENTS</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2323303 - Disclosure - EARNINGS PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/EARNINGSPERSHARETables</Role>
      <ShortName>EARNINGS PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/EARNINGSPERSHARE</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2327304 - Disclosure - BALANCE SHEET COMPONENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/BALANCESHEETCOMPONENTSTables</Role>
      <ShortName>BALANCE SHEET COMPONENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/BALANCESHEETCOMPONENTS</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2334305 - Disclosure - ACCRUED WARRANTY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/ACCRUEDWARRANTYTables</Role>
      <ShortName>ACCRUED WARRANTY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/ACCRUEDWARRANTY</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2337306 - Disclosure - DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/DEBTTables</Role>
      <ShortName>DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/DEBT</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2342307 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/COMMITMENTSANDCONTINGENCIESTables</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/COMMITMENTSANDCONTINGENCIES</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2346308 - Disclosure - COMMON STOCK AND TREASURY STOCK (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/COMMONSTOCKANDTREASURYSTOCKTables</Role>
      <ShortName>COMMON STOCK AND TREASURY STOCK (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/COMMONSTOCKANDTREASURYSTOCK</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2352309 - Disclosure - STOCK BASED COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/STOCKBASEDCOMPENSATIONTables</Role>
      <ShortName>STOCK BASED COMPENSATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/STOCKBASEDCOMPENSATION</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2359310 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/INCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/INCOMETAXES</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2367311 - Disclosure - SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SEGMENTINFORMATIONREVENUESBYGEOGRAPHYANDSIGNIFICANTCUSTOMERSTables</Role>
      <ShortName>SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/SEGMENTINFORMATIONREVENUESBYGEOGRAPHYANDSIGNIFICANTCUSTOMERS</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2377312 - Disclosure - SUPPLEMENTARY DATA (UNAUDITED) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUPPLEMENTARYDATAUNAUDITEDTables</Role>
      <ShortName>SUPPLEMENTARY DATA (UNAUDITED) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ui.com/role/SUPPLEMENTARYDATAUNAUDITED</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESSegmentsDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Recognition of Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRecognitionofRevenuesDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Recognition of Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Concentration of Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESConcentrationofRiskDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Concentration of Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2408405 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Product Warranties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESProductWarrantiesDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Product Warranties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2409406 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Allowance for Doubtful Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESAllowanceforDoubtfulAccountsDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Allowance for Doubtful Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2410407 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPropertyandEquipmentDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2411408 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESIntangibleAssetsDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2412409 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Share-based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESSharebasedCompensationDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Share-based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2413410 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Recent Accounting Pronouncements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESRecentAccountingPronouncementsDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Recent Accounting Pronouncements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2415411 - Disclosure - REVENUES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/REVENUESDetails</Role>
      <ShortName>REVENUES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ui.com/role/REVENUES</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2418412 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS - Schedule of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSScheduleofFinancialInstrumentsDetails</Role>
      <ShortName>FAIR VALUE OF FINANCIAL INSTRUMENTS - Schedule of Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2419413 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSNarrativeDetails</Role>
      <ShortName>FAIR VALUE OF FINANCIAL INSTRUMENTS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2420414 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS - Continuous Loss Position (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSContinuousLossPositionDetails</Role>
      <ShortName>FAIR VALUE OF FINANCIAL INSTRUMENTS - Continuous Loss Position (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2421415 - Disclosure - FAIR VALUE OF FINANCIAL INSTRUMENTS - Schedule of Investment Security by Contract Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSScheduleofInvestmentSecuritybyContractMaturityDetails</Role>
      <ShortName>FAIR VALUE OF FINANCIAL INSTRUMENTS - Schedule of Investment Security by Contract Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2424416 - Disclosure - EARNINGS PER SHARE - Computation of basic and diluted earnings per share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/EARNINGSPERSHAREComputationofbasicanddilutedearningspershareDetails</Role>
      <ShortName>EARNINGS PER SHARE - Computation of basic and diluted earnings per share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2425417 - Disclosure - EARNINGS PER SHARE - Anti-dilutive Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/EARNINGSPERSHAREAntidilutiveSecuritiesDetails</Role>
      <ShortName>EARNINGS PER SHARE - Anti-dilutive Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2428418 - Disclosure - BALANCE SHEET COMPONENTS - Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/BALANCESHEETCOMPONENTSInventoryDetails</Role>
      <ShortName>BALANCE SHEET COMPONENTS - Inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2429419 - Disclosure - BALANCE SHEET COMPONENTS - Property and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/BALANCESHEETCOMPONENTSPropertyandEquipmentNetDetails</Role>
      <ShortName>BALANCE SHEET COMPONENTS - Property and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2430420 - Disclosure - BALANCE SHEET COMPONENTS - Other Long-term Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/BALANCESHEETCOMPONENTSOtherLongtermAssetsDetails</Role>
      <ShortName>BALANCE SHEET COMPONENTS - Other Long-term Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2431421 - Disclosure - BALANCE SHEET COMPONENTS - Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/BALANCESHEETCOMPONENTSOtherCurrentLiabilitiesDetails</Role>
      <ShortName>BALANCE SHEET COMPONENTS - Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2432422 - Disclosure - BALANCE SHEET COMPONENTS - Other Long-Term Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/BALANCESHEETCOMPONENTSOtherLongTermLiabilitiesDetails</Role>
      <ShortName>BALANCE SHEET COMPONENTS - Other Long-Term Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2435423 - Disclosure - ACCRUED WARRANTY (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/ACCRUEDWARRANTYDetails</Role>
      <ShortName>ACCRUED WARRANTY (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ui.com/role/ACCRUEDWARRANTYTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2438424 - Disclosure - DEBT - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/DEBTNarrativeDetails</Role>
      <ShortName>DEBT - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2439425 - Disclosure - DEBT - Summary of Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/DEBTSummaryofDebtDetails</Role>
      <ShortName>DEBT - Summary of Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2440426 - Disclosure - DEBT - Summary of Debt and Interest Payment Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/DEBTSummaryofDebtandInterestPaymentObligationsDetails</Role>
      <ShortName>DEBT - Summary of Debt and Interest Payment Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2443427 - Disclosure - COMMITMENTS AND CONTINGENCIES - Future Minimum Annual Payments under Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/COMMITMENTSANDCONTINGENCIESFutureMinimumAnnualPaymentsunderOperatingLeasesDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Future Minimum Annual Payments under Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2444428 - Disclosure - COMMITMENTS AND CONTINGENCIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2447429 - Disclosure - COMMON STOCK AND TREASURY STOCK - Share Repurchase Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/COMMONSTOCKANDTREASURYSTOCKShareRepurchaseProgramDetails</Role>
      <ShortName>COMMON STOCK AND TREASURY STOCK - Share Repurchase Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2448430 - Disclosure - COMMON STOCK AND TREASURY STOCK - Summary of Activity Related to Stock Repurchase Programs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/COMMONSTOCKANDTREASURYSTOCKSummaryofActivityRelatedtoStockRepurchaseProgramsDetails</Role>
      <ShortName>COMMON STOCK AND TREASURY STOCK - Summary of Activity Related to Stock Repurchase Programs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2450431 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMEDetails</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE INCOME (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ui.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOME</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2453432 - Disclosure - STOCK BASED COMPENSATION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/STOCKBASEDCOMPENSATIONNarrativeDetails</Role>
      <ShortName>STOCK BASED COMPENSATION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2454433 - Disclosure - STOCK BASED COMPENSATION - Stock-based compensation expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/STOCKBASEDCOMPENSATIONStockbasedcompensationexpenseDetails</Role>
      <ShortName>STOCK BASED COMPENSATION - Stock-based compensation expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2455434 - Disclosure - STOCK BASED COMPENSATION - Option activity for company's stock incentive plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/STOCKBASEDCOMPENSATIONOptionactivityforcompanysstockincentiveplansDetails</Role>
      <ShortName>STOCK BASED COMPENSATION - Option activity for company's stock incentive plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2456435 - Disclosure - STOCK BASED COMPENSATION - Options Outstanding by Price Range (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/STOCKBASEDCOMPENSATIONOptionsOutstandingbyPriceRangeDetails</Role>
      <ShortName>STOCK BASED COMPENSATION - Options Outstanding by Price Range (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2457436 - Disclosure - STOCK BASED COMPENSATION - Summary of RSU activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/STOCKBASEDCOMPENSATIONSummaryofRSUactivityDetails</Role>
      <ShortName>STOCK BASED COMPENSATION - Summary of RSU activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2460437 - Disclosure - INCOME TAXES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/INCOMETAXESNarrativeDetails</Role>
      <ShortName>INCOME TAXES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2461438 - Disclosure - INCOME TAXES - Components of Income Before Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/INCOMETAXESComponentsofIncomeBeforeProvisionforIncomeTaxesDetails</Role>
      <ShortName>INCOME TAXES - Components of Income Before Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2462439 - Disclosure - INCOME TAXES - Components of Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/INCOMETAXESComponentsofProvisionforIncomeTaxesDetails</Role>
      <ShortName>INCOME TAXES - Components of Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2463440 - Disclosure - INCOME TAXES - Effective Income Tax Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/INCOMETAXESEffectiveIncomeTaxRateReconciliationDetails</Role>
      <ShortName>INCOME TAXES - Effective Income Tax Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2464441 - Disclosure - INCOME TAXES - Components of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/INCOMETAXESComponentsofDeferredTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>INCOME TAXES - Components of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2465442 - Disclosure - INCOME TAXES - Unrecognized Tax Benefits Roll Forward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/INCOMETAXESUnrecognizedTaxBenefitsRollForwardDetails</Role>
      <ShortName>INCOME TAXES - Unrecognized Tax Benefits Roll Forward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2468443 - Disclosure - SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SEGMENTINFORMATIONREVENUESBYGEOGRAPHYANDSIGNIFICANTCUSTOMERSNarrativeDetails</Role>
      <ShortName>SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ui.com/role/SEGMENTINFORMATIONREVENUESBYGEOGRAPHYANDSIGNIFICANTCUSTOMERSTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2469444 - Disclosure - SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS - Revenues by product (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SEGMENTINFORMATIONREVENUESBYGEOGRAPHYANDSIGNIFICANTCUSTOMERSRevenuesbyproductDetails</Role>
      <ShortName>SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS - Revenues by product (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2470445 - Disclosure - SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS - Revenues by geography (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SEGMENTINFORMATIONREVENUESBYGEOGRAPHYANDSIGNIFICANTCUSTOMERSRevenuesbygeographyDetails</Role>
      <ShortName>SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS - Revenues by geography (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2471446 - Disclosure - SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS - Percentage of Revenues, Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SEGMENTINFORMATIONREVENUESBYGEOGRAPHYANDSIGNIFICANTCUSTOMERSPercentageofRevenuesAccountsReceivableDetails</Role>
      <ShortName>SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS - Percentage of Revenues, Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2473447 - Disclosure - RELATED PARTY TRANSACTIONS AND CERTAIN OTHER TRANSACTIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/RELATEDPARTYTRANSACTIONSANDCERTAINOTHERTRANSACTIONSDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS AND CERTAIN OTHER TRANSACTIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ui.com/role/RELATEDPARTYTRANSACTIONSANDCERTAINOTHERTRANSACTIONS</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2475448 - Disclosure - SUBSEQUENT EVENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUBSEQUENTEVENTSDetails</Role>
      <ShortName>SUBSEQUENT EVENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ui.com/role/SUBSEQUENTEVENTS</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="ubnt-20190630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2478449 - Disclosure - SUPPLEMENTARY DATA (UNAUDITED) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ui.com/role/SUPPLEMENTARYDATAUNAUDITEDDetails</Role>
      <ShortName>SUPPLEMENTARY DATA (UNAUDITED) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ui.com/role/SUPPLEMENTARYDATAUNAUDITEDTables</ParentRole>
      <Position>85</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-K" original="ubnt-20190630.htm">ubnt-20190630.htm</File>
    <File>amendedandrestatedbylaws.htm</File>
    <File>thirdamendedandrestatedo.htm</File>
    <File>ubnt-06302019xex211nex.htm</File>
    <File>ubnt-06302019xex231nex.htm</File>
    <File>ubnt-06302019xex311nex.htm</File>
    <File>ubnt-06302019xex312nex.htm</File>
    <File>ubnt-06302019xex321nex.htm</File>
    <File>ubnt-20190630.xsd</File>
    <File>ubnt-20190630_cal.xml</File>
    <File>ubnt-20190630_def.xml</File>
    <File>ubnt-20190630_lab.xml</File>
    <File>ubnt-20190630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>ubnt-20190630_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
