<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedPeriodStartLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodStartLabel" xlink:type="simple" />
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/netLabel" xlink:href="http://www.xbrl.org/lrr/role/net-2009-12-16.xsd#netLabel" xlink:type="simple" />
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedNetLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedNetLabel" xlink:type="simple" />
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTerseLabel" xlink:type="simple" />
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedPeriodEndLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodEndLabel" xlink:type="simple" />
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel" xlink:type="simple" />
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTotalLabel" xlink:type="simple" />
  <link:labelLink xlink:role="http://www.xbrl.org/2003/role/link" xlink:type="extended">
    <link:label id="lab_us-gaap_StockholdersEquityNoteAbstract_20BC3AE3B356EFFD54A2E9FFD776ABB0_label_en-US" xlink:label="lab_us-gaap_StockholdersEquityNoteAbstract_20BC3AE3B356EFFD54A2E9FFD776ABB0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stockholders' Equity Note [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityNoteAbstract" xlink:label="loc_us-gaap_StockholdersEquityNoteAbstract_20BC3AE3B356EFFD54A2E9FFD776ABB0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquityNoteAbstract_20BC3AE3B356EFFD54A2E9FFD776ABB0" xlink:to="lab_us-gaap_StockholdersEquityNoteAbstract_20BC3AE3B356EFFD54A2E9FFD776ABB0" xlink:type="arc" />
    <link:label id="lab_us-gaap_DisclosureOfReclassificationAmountTextBlock_35DF937FF16580ECB1EFE9FFD7761869_terseLabel_en-US" xlink:label="lab_us-gaap_DisclosureOfReclassificationAmountTextBlock_35DF937FF16580ECB1EFE9FFD7761869" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">ACCUMULATED OTHER COMPREHENSIVE INCOME</link:label>
    <link:label id="lab_us-gaap_DisclosureOfReclassificationAmountTextBlock_35DF937FF16580ECB1EFE9FFD7761869_label_en-US" xlink:label="lab_us-gaap_DisclosureOfReclassificationAmountTextBlock_35DF937FF16580ECB1EFE9FFD7761869" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Disclosure of Reclassification Amount [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureOfReclassificationAmountTextBlock" xlink:label="loc_us-gaap_DisclosureOfReclassificationAmountTextBlock_35DF937FF16580ECB1EFE9FFD7761869" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DisclosureOfReclassificationAmountTextBlock_35DF937FF16580ECB1EFE9FFD7761869" xlink:to="lab_us-gaap_DisclosureOfReclassificationAmountTextBlock_35DF937FF16580ECB1EFE9FFD7761869" xlink:type="arc" />
    <link:label id="lab_us-gaap_RevenueFromContractWithCustomerAbstract_76DE6415C35AC37930AB82A2D5E96277_label_en-US" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerAbstract_76DE6415C35AC37930AB82A2D5E96277" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Revenue from Contract with Customer [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerAbstract" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerAbstract_76DE6415C35AC37930AB82A2D5E96277" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerAbstract_76DE6415C35AC37930AB82A2D5E96277" xlink:to="lab_us-gaap_RevenueFromContractWithCustomerAbstract_76DE6415C35AC37930AB82A2D5E96277" xlink:type="arc" />
    <link:label id="lab_us-gaap_RevenueFromContractWithCustomerTextBlock_D1044B455CFC62214E1D82A2D5E9837D_terseLabel_en-US" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerTextBlock_D1044B455CFC62214E1D82A2D5E9837D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">REVENUES</link:label>
    <link:label id="lab_us-gaap_RevenueFromContractWithCustomerTextBlock_D1044B455CFC62214E1D82A2D5E9837D_label_en-US" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerTextBlock_D1044B455CFC62214E1D82A2D5E9837D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Revenue from Contract with Customer [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerTextBlock_D1044B455CFC62214E1D82A2D5E9837D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerTextBlock_D1044B455CFC62214E1D82A2D5E9837D" xlink:to="lab_us-gaap_RevenueFromContractWithCustomerTextBlock_D1044B455CFC62214E1D82A2D5E9837D" xlink:type="arc" />
    <link:label id="lab_us-gaap_AccountingPoliciesAbstract_7EC7A40D919E2FE69B841CBF86B14E46_label_en-US" xlink:label="lab_us-gaap_AccountingPoliciesAbstract_7EC7A40D919E2FE69B841CBF86B14E46" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accounting Policies [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingPoliciesAbstract" xlink:label="loc_us-gaap_AccountingPoliciesAbstract_7EC7A40D919E2FE69B841CBF86B14E46" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountingPoliciesAbstract_7EC7A40D919E2FE69B841CBF86B14E46" xlink:to="lab_us-gaap_AccountingPoliciesAbstract_7EC7A40D919E2FE69B841CBF86B14E46" xlink:type="arc" />
    <link:label id="lab_us-gaap_SignificantAccountingPoliciesTextBlock_066CEF4D1C5BE5C12C2B1CBF86B2ADE9_terseLabel_en-US" xlink:label="lab_us-gaap_SignificantAccountingPoliciesTextBlock_066CEF4D1C5BE5C12C2B1CBF86B2ADE9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</link:label>
    <link:label id="lab_us-gaap_SignificantAccountingPoliciesTextBlock_066CEF4D1C5BE5C12C2B1CBF86B2ADE9_label_en-US" xlink:label="lab_us-gaap_SignificantAccountingPoliciesTextBlock_066CEF4D1C5BE5C12C2B1CBF86B2ADE9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Significant Accounting Policies [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SignificantAccountingPoliciesTextBlock" xlink:label="loc_us-gaap_SignificantAccountingPoliciesTextBlock_066CEF4D1C5BE5C12C2B1CBF86B2ADE9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SignificantAccountingPoliciesTextBlock_066CEF4D1C5BE5C12C2B1CBF86B2ADE9" xlink:to="lab_us-gaap_SignificantAccountingPoliciesTextBlock_066CEF4D1C5BE5C12C2B1CBF86B2ADE9" xlink:type="arc" />
    <link:label id="lab_us-gaap_SubsequentEventsAbstract_9528CB58157AAF95AACAF487841B418B_label_en-US" xlink:label="lab_us-gaap_SubsequentEventsAbstract_9528CB58157AAF95AACAF487841B418B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Subsequent Events [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventsAbstract" xlink:label="loc_us-gaap_SubsequentEventsAbstract_9528CB58157AAF95AACAF487841B418B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventsAbstract_9528CB58157AAF95AACAF487841B418B" xlink:to="lab_us-gaap_SubsequentEventsAbstract_9528CB58157AAF95AACAF487841B418B" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfRepurchaseAgreementCounterpartyTable_0C54F687423D27853643F487841B52CF_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfRepurchaseAgreementCounterpartyTable_0C54F687423D27853643F487841B52CF" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Repurchase Agreement Counterparty [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfRepurchaseAgreementCounterpartyTable_0C54F687423D27853643F487841B52CF_label_en-US" xlink:label="lab_us-gaap_ScheduleOfRepurchaseAgreementCounterpartyTable_0C54F687423D27853643F487841B52CF" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Repurchase Agreement Counterparty [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRepurchaseAgreementCounterpartyTable" xlink:label="loc_us-gaap_ScheduleOfRepurchaseAgreementCounterpartyTable_0C54F687423D27853643F487841B52CF" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfRepurchaseAgreementCounterpartyTable_0C54F687423D27853643F487841B52CF" xlink:to="lab_us-gaap_ScheduleOfRepurchaseAgreementCounterpartyTable_0C54F687423D27853643F487841B52CF" xlink:type="arc" />
    <link:label id="lab_us-gaap_SubsequentEventTypeAxis_B16A6126166DBBE104ACF487841C69E4_terseLabel_en-US" xlink:label="lab_us-gaap_SubsequentEventTypeAxis_B16A6126166DBBE104ACF487841C69E4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Subsequent Event Type [Axis]</link:label>
    <link:label id="lab_us-gaap_SubsequentEventTypeAxis_B16A6126166DBBE104ACF487841C69E4_label_en-US" xlink:label="lab_us-gaap_SubsequentEventTypeAxis_B16A6126166DBBE104ACF487841C69E4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Subsequent Event Type [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_B16A6126166DBBE104ACF487841C69E4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_B16A6126166DBBE104ACF487841C69E4" xlink:to="lab_us-gaap_SubsequentEventTypeAxis_B16A6126166DBBE104ACF487841C69E4" xlink:type="arc" />
    <link:label id="lab_us-gaap_SubsequentEventTypeDomain_6AB6CF679E86455C0335F487841CA133_terseLabel_en-US" xlink:label="lab_us-gaap_SubsequentEventTypeDomain_6AB6CF679E86455C0335F487841CA133" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Subsequent Event Type [Domain]</link:label>
    <link:label id="lab_us-gaap_SubsequentEventTypeDomain_6AB6CF679E86455C0335F487841CA133_label_en-US" xlink:label="lab_us-gaap_SubsequentEventTypeDomain_6AB6CF679E86455C0335F487841CA133" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Subsequent Event Type [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_6AB6CF679E86455C0335F487841CA133" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_6AB6CF679E86455C0335F487841CA133" xlink:to="lab_us-gaap_SubsequentEventTypeDomain_6AB6CF679E86455C0335F487841CA133" xlink:type="arc" />
    <link:label id="lab_us-gaap_SubsequentEventMember_5ECF7196C1D850298614F487841D9F8E_terseLabel_en-US" xlink:label="lab_us-gaap_SubsequentEventMember_5ECF7196C1D850298614F487841D9F8E" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Subsequent event</link:label>
    <link:label id="lab_us-gaap_SubsequentEventMember_5ECF7196C1D850298614F487841D9F8E_label_en-US" xlink:label="lab_us-gaap_SubsequentEventMember_5ECF7196C1D850298614F487841D9F8E" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Subsequent Event [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_5ECF7196C1D850298614F487841D9F8E" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventMember_5ECF7196C1D850298614F487841D9F8E" xlink:to="lab_us-gaap_SubsequentEventMember_5ECF7196C1D850298614F487841D9F8E" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareRepurchaseProgramAxis_42C8E2E62EBE4069FD9AF487841DA434_terseLabel_en-US" xlink:label="lab_us-gaap_ShareRepurchaseProgramAxis_42C8E2E62EBE4069FD9AF487841DA434" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Share Repurchase Program [Axis]</link:label>
    <link:label id="lab_us-gaap_ShareRepurchaseProgramAxis_42C8E2E62EBE4069FD9AF487841DA434_label_en-US" xlink:label="lab_us-gaap_ShareRepurchaseProgramAxis_42C8E2E62EBE4069FD9AF487841DA434" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share Repurchase Program [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_42C8E2E62EBE4069FD9AF487841DA434" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_42C8E2E62EBE4069FD9AF487841DA434" xlink:to="lab_us-gaap_ShareRepurchaseProgramAxis_42C8E2E62EBE4069FD9AF487841DA434" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareRepurchaseProgramDomain_D6B5C0C356CB261009C9F487841D1AE5_terseLabel_en-US" xlink:label="lab_us-gaap_ShareRepurchaseProgramDomain_D6B5C0C356CB261009C9F487841D1AE5" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Share Repurchase Program [Domain]</link:label>
    <link:label id="lab_us-gaap_ShareRepurchaseProgramDomain_D6B5C0C356CB261009C9F487841D1AE5_label_en-US" xlink:label="lab_us-gaap_ShareRepurchaseProgramDomain_D6B5C0C356CB261009C9F487841D1AE5" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share Repurchase Program [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_D6B5C0C356CB261009C9F487841D1AE5" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_D6B5C0C356CB261009C9F487841D1AE5" xlink:to="lab_us-gaap_ShareRepurchaseProgramDomain_D6B5C0C356CB261009C9F487841D1AE5" xlink:type="arc" />
    <link:label id="lab_ubnt_MayRepurchaseProgramMember_E502325C28220ACA9D2DF487841ECF70_terseLabel_en-US" xlink:label="lab_ubnt_MayRepurchaseProgramMember_E502325C28220ACA9D2DF487841ECF70" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">May Repurchase Program</link:label>
    <link:label id="lab_ubnt_MayRepurchaseProgramMember_E502325C28220ACA9D2DF487841ECF70_label_en-US" xlink:label="lab_ubnt_MayRepurchaseProgramMember_E502325C28220ACA9D2DF487841ECF70" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">May Repurchase Program [Member]</link:label>
    <link:label id="lab_ubnt_MayRepurchaseProgramMember_E502325C28220ACA9D2DF487841ECF70_documentation_en-US" xlink:label="lab_ubnt_MayRepurchaseProgramMember_E502325C28220ACA9D2DF487841ECF70" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">May Repurchase Program [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_MayRepurchaseProgramMember" xlink:label="loc_ubnt_MayRepurchaseProgramMember_E502325C28220ACA9D2DF487841ECF70" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_MayRepurchaseProgramMember_E502325C28220ACA9D2DF487841ECF70" xlink:to="lab_ubnt_MayRepurchaseProgramMember_E502325C28220ACA9D2DF487841ECF70" xlink:type="arc" />
    <link:label id="lab_ubnt_NovemberRepurchaseProgramMember_9E9B0CC9A2D4B62F5F1CF487841E6AB9_terseLabel_en-US" xlink:label="lab_ubnt_NovemberRepurchaseProgramMember_9E9B0CC9A2D4B62F5F1CF487841E6AB9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">November Repurchase Program</link:label>
    <link:label id="lab_ubnt_NovemberRepurchaseProgramMember_9E9B0CC9A2D4B62F5F1CF487841E6AB9_label_en-US" xlink:label="lab_ubnt_NovemberRepurchaseProgramMember_9E9B0CC9A2D4B62F5F1CF487841E6AB9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">November Repurchase Program [Member]</link:label>
    <link:label id="lab_ubnt_NovemberRepurchaseProgramMember_9E9B0CC9A2D4B62F5F1CF487841E6AB9_documentation_en-US" xlink:label="lab_ubnt_NovemberRepurchaseProgramMember_9E9B0CC9A2D4B62F5F1CF487841E6AB9" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">November Repurchase Program [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_NovemberRepurchaseProgramMember" xlink:label="loc_ubnt_NovemberRepurchaseProgramMember_9E9B0CC9A2D4B62F5F1CF487841E6AB9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_NovemberRepurchaseProgramMember_9E9B0CC9A2D4B62F5F1CF487841E6AB9" xlink:to="lab_ubnt_NovemberRepurchaseProgramMember_9E9B0CC9A2D4B62F5F1CF487841E6AB9" xlink:type="arc" />
    <link:label id="lab_us-gaap_StatementEquityComponentsAxis_A0911BF1C5EE607BA97DF487841EFD16_terseLabel_en-US" xlink:label="lab_us-gaap_StatementEquityComponentsAxis_A0911BF1C5EE607BA97DF487841EFD16" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Equity Components [Axis]</link:label>
    <link:label id="lab_us-gaap_StatementEquityComponentsAxis_A0911BF1C5EE607BA97DF487841EFD16_label_en-US" xlink:label="lab_us-gaap_StatementEquityComponentsAxis_A0911BF1C5EE607BA97DF487841EFD16" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity Components [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_A0911BF1C5EE607BA97DF487841EFD16" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_A0911BF1C5EE607BA97DF487841EFD16" xlink:to="lab_us-gaap_StatementEquityComponentsAxis_A0911BF1C5EE607BA97DF487841EFD16" xlink:type="arc" />
    <link:label id="lab_us-gaap_EquityComponentDomain_699FEA6FC72462CFCBEFF487841F2FF8_terseLabel_en-US" xlink:label="lab_us-gaap_EquityComponentDomain_699FEA6FC72462CFCBEFF487841F2FF8" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Equity Component [Domain]</link:label>
    <link:label id="lab_us-gaap_EquityComponentDomain_699FEA6FC72462CFCBEFF487841F2FF8_label_en-US" xlink:label="lab_us-gaap_EquityComponentDomain_699FEA6FC72462CFCBEFF487841F2FF8" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity Component [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_699FEA6FC72462CFCBEFF487841F2FF8" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityComponentDomain_699FEA6FC72462CFCBEFF487841F2FF8" xlink:to="lab_us-gaap_EquityComponentDomain_699FEA6FC72462CFCBEFF487841F2FF8" xlink:type="arc" />
    <link:label id="lab_us-gaap_CommonStockMember_8EC1FF17A252378B313AF487841F269B_terseLabel_en-US" xlink:label="lab_us-gaap_CommonStockMember_8EC1FF17A252378B313AF487841F269B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common Stock</link:label>
    <link:label id="lab_us-gaap_CommonStockMember_8EC1FF17A252378B313AF487841F269B_label_en-US" xlink:label="lab_us-gaap_CommonStockMember_8EC1FF17A252378B313AF487841F269B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Stock [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_8EC1FF17A252378B313AF487841F269B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockMember_8EC1FF17A252378B313AF487841F269B" xlink:to="lab_us-gaap_CommonStockMember_8EC1FF17A252378B313AF487841F269B" xlink:type="arc" />
    <link:label id="lab_us-gaap_StatementScenarioAxis_AD4DA1560F0D48449705F4878420D076_terseLabel_en-US" xlink:label="lab_us-gaap_StatementScenarioAxis_AD4DA1560F0D48449705F4878420D076" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Scenario [Axis]</link:label>
    <link:label id="lab_us-gaap_StatementScenarioAxis_AD4DA1560F0D48449705F4878420D076_label_en-US" xlink:label="lab_us-gaap_StatementScenarioAxis_AD4DA1560F0D48449705F4878420D076" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Scenario [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_AD4DA1560F0D48449705F4878420D076" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementScenarioAxis_AD4DA1560F0D48449705F4878420D076" xlink:to="lab_us-gaap_StatementScenarioAxis_AD4DA1560F0D48449705F4878420D076" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScenarioUnspecifiedDomain_18084BB69EA52CFC2659F4878420F823_terseLabel_en-US" xlink:label="lab_us-gaap_ScenarioUnspecifiedDomain_18084BB69EA52CFC2659F4878420F823" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Scenario, Unspecified [Domain]</link:label>
    <link:label id="lab_us-gaap_ScenarioUnspecifiedDomain_18084BB69EA52CFC2659F4878420F823_label_en-US" xlink:label="lab_us-gaap_ScenarioUnspecifiedDomain_18084BB69EA52CFC2659F4878420F823" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Scenario, Unspecified [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_18084BB69EA52CFC2659F4878420F823" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_18084BB69EA52CFC2659F4878420F823" xlink:to="lab_us-gaap_ScenarioUnspecifiedDomain_18084BB69EA52CFC2659F4878420F823" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScenarioForecastMember_C63D93726D487B612852F48784216EFD_terseLabel_en-US" xlink:label="lab_us-gaap_ScenarioForecastMember_C63D93726D487B612852F48784216EFD" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Forecast</link:label>
    <link:label id="lab_us-gaap_ScenarioForecastMember_C63D93726D487B612852F48784216EFD_label_en-US" xlink:label="lab_us-gaap_ScenarioForecastMember_C63D93726D487B612852F48784216EFD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Scenario, Forecast [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioForecastMember" xlink:label="loc_us-gaap_ScenarioForecastMember_C63D93726D487B612852F48784216EFD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScenarioForecastMember_C63D93726D487B612852F48784216EFD" xlink:to="lab_us-gaap_ScenarioForecastMember_C63D93726D487B612852F48784216EFD" xlink:type="arc" />
    <link:label id="lab_us-gaap_RepurchaseAgreementCounterpartyLineItems_94CF62123BDC9ADA6D19F48784213D09_terseLabel_en-US" xlink:label="lab_us-gaap_RepurchaseAgreementCounterpartyLineItems_94CF62123BDC9ADA6D19F48784213D09" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Repurchase Agreement Counterparty [Line Items]</link:label>
    <link:label id="lab_us-gaap_RepurchaseAgreementCounterpartyLineItems_94CF62123BDC9ADA6D19F48784213D09_label_en-US" xlink:label="lab_us-gaap_RepurchaseAgreementCounterpartyLineItems_94CF62123BDC9ADA6D19F48784213D09" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Repurchase Agreement Counterparty [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepurchaseAgreementCounterpartyLineItems" xlink:label="loc_us-gaap_RepurchaseAgreementCounterpartyLineItems_94CF62123BDC9ADA6D19F48784213D09" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RepurchaseAgreementCounterpartyLineItems_94CF62123BDC9ADA6D19F48784213D09" xlink:to="lab_us-gaap_RepurchaseAgreementCounterpartyLineItems_94CF62123BDC9ADA6D19F48784213D09" xlink:type="arc" />
    <link:label id="lab_us-gaap_StockRepurchaseProgramAuthorizedAmount1_84EECFF6662115E5F955F48784211657_terseLabel_en-US" xlink:label="lab_us-gaap_StockRepurchaseProgramAuthorizedAmount1_84EECFF6662115E5F955F48784211657" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Repurchase of common stock</link:label>
    <link:label id="lab_us-gaap_StockRepurchaseProgramAuthorizedAmount1_84EECFF6662115E5F955F48784211657_label_en-US" xlink:label="lab_us-gaap_StockRepurchaseProgramAuthorizedAmount1_84EECFF6662115E5F955F48784211657" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stock Repurchase Program, Authorized Amount</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_84EECFF6662115E5F955F48784211657" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_84EECFF6662115E5F955F48784211657" xlink:to="lab_us-gaap_StockRepurchaseProgramAuthorizedAmount1_84EECFF6662115E5F955F48784211657" xlink:type="arc" />
    <link:label id="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_3F7675C81C7A06173723F4878422ECDA_terseLabel_en-US" xlink:label="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_3F7675C81C7A06173723F4878422ECDA" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Stock repurchased and retired (in shares)</link:label>
    <link:label id="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_3F7675C81C7A06173723F4878422ECDA_label_en-US" xlink:label="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_3F7675C81C7A06173723F4878422ECDA" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stock Repurchased and Retired During Period, Shares</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_3F7675C81C7A06173723F4878422ECDA" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_3F7675C81C7A06173723F4878422ECDA" xlink:to="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_3F7675C81C7A06173723F4878422ECDA" xlink:type="arc" />
    <link:label id="lab_us-gaap_TreasuryStockAcquiredAverageCostPerShare_DDFD5A6DDDDFCECD225EF487842294D0_terseLabel_en-US" xlink:label="lab_us-gaap_TreasuryStockAcquiredAverageCostPerShare_DDFD5A6DDDDFCECD225EF487842294D0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common stock repurchased, average price per share (in usd per share)</link:label>
    <link:label id="lab_us-gaap_TreasuryStockAcquiredAverageCostPerShare_DDFD5A6DDDDFCECD225EF487842294D0_label_en-US" xlink:label="lab_us-gaap_TreasuryStockAcquiredAverageCostPerShare_DDFD5A6DDDDFCECD225EF487842294D0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Treasury Stock Acquired, Average Cost Per Share</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_DDFD5A6DDDDFCECD225EF487842294D0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_DDFD5A6DDDDFCECD225EF487842294D0" xlink:to="lab_us-gaap_TreasuryStockAcquiredAverageCostPerShare_DDFD5A6DDDDFCECD225EF487842294D0" xlink:type="arc" />
    <link:label id="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_0518CA360BC31732E8EAF48784232532_terseLabel_en-US" xlink:label="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_0518CA360BC31732E8EAF48784232532" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Value of total number of shares purchased</link:label>
    <link:label id="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_0518CA360BC31732E8EAF48784232532_label_en-US" xlink:label="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_0518CA360BC31732E8EAF48784232532" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stock Repurchased and Retired During Period, Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_0518CA360BC31732E8EAF48784232532" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_0518CA360BC31732E8EAF48784232532" xlink:to="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_0518CA360BC31732E8EAF48784232532" xlink:type="arc" />
    <link:label id="lab_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_7688599852F1183A95AFF48784239DA0_terseLabel_en-US" xlink:label="lab_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_7688599852F1183A95AFF48784239DA0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Remaining authorization at the end of the period</link:label>
    <link:label id="lab_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_7688599852F1183A95AFF48784239DA0_label_en-US" xlink:label="lab_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_7688599852F1183A95AFF48784239DA0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stock Repurchase Program, Remaining Authorized Repurchase Amount</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_7688599852F1183A95AFF48784239DA0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_7688599852F1183A95AFF48784239DA0" xlink:to="lab_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_7688599852F1183A95AFF48784239DA0" xlink:type="arc" />
    <link:label id="lab_us-gaap_CommonStockDividendsPerShareDeclared_2164B0841A695B3E23A4F4878423DF99_terseLabel_en-US" xlink:label="lab_us-gaap_CommonStockDividendsPerShareDeclared_2164B0841A695B3E23A4F4878423DF99" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Dividends declared per share (in usd per share)</link:label>
    <link:label id="lab_us-gaap_CommonStockDividendsPerShareDeclared_2164B0841A695B3E23A4F4878423DF99_label_en-US" xlink:label="lab_us-gaap_CommonStockDividendsPerShareDeclared_2164B0841A695B3E23A4F4878423DF99" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Stock, Dividends, Per Share, Declared</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_2164B0841A695B3E23A4F4878423DF99" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockDividendsPerShareDeclared_2164B0841A695B3E23A4F4878423DF99" xlink:to="lab_us-gaap_CommonStockDividendsPerShareDeclared_2164B0841A695B3E23A4F4878423DF99" xlink:type="arc" />
    <link:label id="lab_us-gaap_BalanceSheetRelatedDisclosuresAbstract_09831B0139A63B7B6FF91CBF8644F9BD_label_en-US" xlink:label="lab_us-gaap_BalanceSheetRelatedDisclosuresAbstract_09831B0139A63B7B6FF91CBF8644F9BD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Balance Sheet Related Disclosures [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetRelatedDisclosuresAbstract" xlink:label="loc_us-gaap_BalanceSheetRelatedDisclosuresAbstract_09831B0139A63B7B6FF91CBF8644F9BD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BalanceSheetRelatedDisclosuresAbstract_09831B0139A63B7B6FF91CBF8644F9BD" xlink:to="lab_us-gaap_BalanceSheetRelatedDisclosuresAbstract_09831B0139A63B7B6FF91CBF8644F9BD" xlink:type="arc" />
    <link:label id="lab_us-gaap_SupplementalBalanceSheetDisclosuresTextBlock_2BDFB96FD68FA3E611DC1CBF86447635_terseLabel_en-US" xlink:label="lab_us-gaap_SupplementalBalanceSheetDisclosuresTextBlock_2BDFB96FD68FA3E611DC1CBF86447635" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">BALANCE SHEET COMPONENTS</link:label>
    <link:label id="lab_us-gaap_SupplementalBalanceSheetDisclosuresTextBlock_2BDFB96FD68FA3E611DC1CBF86447635_label_en-US" xlink:label="lab_us-gaap_SupplementalBalanceSheetDisclosuresTextBlock_2BDFB96FD68FA3E611DC1CBF86447635" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Supplemental Balance Sheet Disclosures [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalBalanceSheetDisclosuresTextBlock" xlink:label="loc_us-gaap_SupplementalBalanceSheetDisclosuresTextBlock_2BDFB96FD68FA3E611DC1CBF86447635" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SupplementalBalanceSheetDisclosuresTextBlock_2BDFB96FD68FA3E611DC1CBF86447635" xlink:to="lab_us-gaap_SupplementalBalanceSheetDisclosuresTextBlock_2BDFB96FD68FA3E611DC1CBF86447635" xlink:type="arc" />
    <link:label id="lab_us-gaap_ProductWarrantiesDisclosuresAbstract_65CEF01935B95CC5E7561CBF867CF416_label_en-US" xlink:label="lab_us-gaap_ProductWarrantiesDisclosuresAbstract_65CEF01935B95CC5E7561CBF867CF416" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Product Warranties Disclosures [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProductWarrantiesDisclosuresAbstract" xlink:label="loc_us-gaap_ProductWarrantiesDisclosuresAbstract_65CEF01935B95CC5E7561CBF867CF416" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProductWarrantiesDisclosuresAbstract_65CEF01935B95CC5E7561CBF867CF416" xlink:to="lab_us-gaap_ProductWarrantiesDisclosuresAbstract_65CEF01935B95CC5E7561CBF867CF416" xlink:type="arc" />
    <link:label id="lab_us-gaap_ProductWarrantyDisclosureTextBlock_74E0C2BBC64FE598DE841CBF867C664B_terseLabel_en-US" xlink:label="lab_us-gaap_ProductWarrantyDisclosureTextBlock_74E0C2BBC64FE598DE841CBF867C664B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">ACCRUED WARRANTY</link:label>
    <link:label id="lab_us-gaap_ProductWarrantyDisclosureTextBlock_74E0C2BBC64FE598DE841CBF867C664B_label_en-US" xlink:label="lab_us-gaap_ProductWarrantyDisclosureTextBlock_74E0C2BBC64FE598DE841CBF867C664B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Product Warranty Disclosure [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProductWarrantyDisclosureTextBlock" xlink:label="loc_us-gaap_ProductWarrantyDisclosureTextBlock_74E0C2BBC64FE598DE841CBF867C664B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProductWarrantyDisclosureTextBlock_74E0C2BBC64FE598DE841CBF867C664B" xlink:to="lab_us-gaap_ProductWarrantyDisclosureTextBlock_74E0C2BBC64FE598DE841CBF867C664B" xlink:type="arc" />
    <link:label id="lab_us-gaap_SegmentReportingAbstract_FC1ECB1EE69DEB9E0A551CBF8766B488_label_en-US" xlink:label="lab_us-gaap_SegmentReportingAbstract_FC1ECB1EE69DEB9E0A551CBF8766B488" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Segment Reporting [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingAbstract" xlink:label="loc_us-gaap_SegmentReportingAbstract_FC1ECB1EE69DEB9E0A551CBF8766B488" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingAbstract_FC1ECB1EE69DEB9E0A551CBF8766B488" xlink:to="lab_us-gaap_SegmentReportingAbstract_FC1ECB1EE69DEB9E0A551CBF8766B488" xlink:type="arc" />
    <link:label id="lab_us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock_66A8D1772A6BE0D736DA1CBF87669FBC_terseLabel_en-US" xlink:label="lab_us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock_66A8D1772A6BE0D736DA1CBF87669FBC" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Revenues by product</link:label>
    <link:label id="lab_us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock_66A8D1772A6BE0D736DA1CBF87669FBC_label_en-US" xlink:label="lab_us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock_66A8D1772A6BE0D736DA1CBF87669FBC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Reconciliation of Revenue from Segments to Consolidated [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock" xlink:label="loc_us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock_66A8D1772A6BE0D736DA1CBF87669FBC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock_66A8D1772A6BE0D736DA1CBF87669FBC" xlink:to="lab_us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTextBlock_66A8D1772A6BE0D736DA1CBF87669FBC" xlink:type="arc" />
    <link:label id="lab_us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock_798C985F76A439CF63B71CBF87665444_terseLabel_en-US" xlink:label="lab_us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock_798C985F76A439CF63B71CBF87665444" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Revenues by geography</link:label>
    <link:label id="lab_us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock_798C985F76A439CF63B71CBF87665444_label_en-US" xlink:label="lab_us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock_798C985F76A439CF63B71CBF87665444" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Revenue from External Customers by Geographic Areas [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock" xlink:label="loc_us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock_798C985F76A439CF63B71CBF87665444" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock_798C985F76A439CF63B71CBF87665444" xlink:to="lab_us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock_798C985F76A439CF63B71CBF87665444" xlink:type="arc" />
    <link:label id="lab_ubnt_ScheduleOfRevenueAndAccountsReceivableByMajorCustomersByReportingSegmentsTableTableTextBlock_3F349AFD210C64DD90171CBF87662B06_terseLabel_en-US" xlink:label="lab_ubnt_ScheduleOfRevenueAndAccountsReceivableByMajorCustomersByReportingSegmentsTableTableTextBlock_3F349AFD210C64DD90171CBF87662B06" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Percentage of revenue and accounts receivable</link:label>
    <link:label id="lab_ubnt_ScheduleOfRevenueAndAccountsReceivableByMajorCustomersByReportingSegmentsTableTableTextBlock_3F349AFD210C64DD90171CBF87662B06_label_en-US" xlink:label="lab_ubnt_ScheduleOfRevenueAndAccountsReceivableByMajorCustomersByReportingSegmentsTableTableTextBlock_3F349AFD210C64DD90171CBF87662B06" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule Of Revenue And Accounts Receivable By Major Customers By Reporting Segments Table [Table Text Block]</link:label>
    <link:label id="lab_ubnt_ScheduleOfRevenueAndAccountsReceivableByMajorCustomersByReportingSegmentsTableTableTextBlock_3F349AFD210C64DD90171CBF87662B06_documentation_en-US" xlink:label="lab_ubnt_ScheduleOfRevenueAndAccountsReceivableByMajorCustomersByReportingSegmentsTableTableTextBlock_3F349AFD210C64DD90171CBF87662B06" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Schedule of revenue and accounts receivable by major customers by reporting segments.</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_ScheduleOfRevenueAndAccountsReceivableByMajorCustomersByReportingSegmentsTableTableTextBlock" xlink:label="loc_ubnt_ScheduleOfRevenueAndAccountsReceivableByMajorCustomersByReportingSegmentsTableTableTextBlock_3F349AFD210C64DD90171CBF87662B06" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_ScheduleOfRevenueAndAccountsReceivableByMajorCustomersByReportingSegmentsTableTableTextBlock_3F349AFD210C64DD90171CBF87662B06" xlink:to="lab_ubnt_ScheduleOfRevenueAndAccountsReceivableByMajorCustomersByReportingSegmentsTableTableTextBlock_3F349AFD210C64DD90171CBF87662B06" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtDisclosureAbstract_0689FFACF77BA0746517D6219A21121D_label_en-US" xlink:label="lab_us-gaap_DebtDisclosureAbstract_0689FFACF77BA0746517D6219A21121D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Disclosure [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtDisclosureAbstract" xlink:label="loc_us-gaap_DebtDisclosureAbstract_0689FFACF77BA0746517D6219A21121D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtDisclosureAbstract_0689FFACF77BA0746517D6219A21121D" xlink:to="lab_us-gaap_DebtDisclosureAbstract_0689FFACF77BA0746517D6219A21121D" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtInstrumentTable_CF2BD6CE247A551F7D81D6219A21BF4C_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentTable_CF2BD6CE247A551F7D81D6219A21BF4C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Long-term Debt Instruments [Table]</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentTable_CF2BD6CE247A551F7D81D6219A21BF4C_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentTable_CF2BD6CE247A551F7D81D6219A21BF4C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Long-term Debt Instruments [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_CF2BD6CE247A551F7D81D6219A21BF4C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentTable_CF2BD6CE247A551F7D81D6219A21BF4C" xlink:to="lab_us-gaap_DebtInstrumentTable_CF2BD6CE247A551F7D81D6219A21BF4C" xlink:type="arc" />
    <link:label id="lab_us-gaap_CreditFacilityAxis_19F9338A1AA424774B7BD6219A23A02C_terseLabel_en-US" xlink:label="lab_us-gaap_CreditFacilityAxis_19F9338A1AA424774B7BD6219A23A02C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Credit Facility [Axis]</link:label>
    <link:label id="lab_us-gaap_CreditFacilityAxis_19F9338A1AA424774B7BD6219A23A02C_label_en-US" xlink:label="lab_us-gaap_CreditFacilityAxis_19F9338A1AA424774B7BD6219A23A02C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Credit Facility [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_19F9338A1AA424774B7BD6219A23A02C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CreditFacilityAxis_19F9338A1AA424774B7BD6219A23A02C" xlink:to="lab_us-gaap_CreditFacilityAxis_19F9338A1AA424774B7BD6219A23A02C" xlink:type="arc" />
    <link:label id="lab_us-gaap_CreditFacilityDomain_30943BDD4F1C95889DEED6219A246F6D_terseLabel_en-US" xlink:label="lab_us-gaap_CreditFacilityDomain_30943BDD4F1C95889DEED6219A246F6D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Credit Facility [Domain]</link:label>
    <link:label id="lab_us-gaap_CreditFacilityDomain_30943BDD4F1C95889DEED6219A246F6D_label_en-US" xlink:label="lab_us-gaap_CreditFacilityDomain_30943BDD4F1C95889DEED6219A246F6D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Credit Facility [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_30943BDD4F1C95889DEED6219A246F6D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CreditFacilityDomain_30943BDD4F1C95889DEED6219A246F6D" xlink:to="lab_us-gaap_CreditFacilityDomain_30943BDD4F1C95889DEED6219A246F6D" xlink:type="arc" />
    <link:label id="lab_us-gaap_RevolvingCreditFacilityMember_D6973C25868C60143A75D6219A241838_terseLabel_en-US" xlink:label="lab_us-gaap_RevolvingCreditFacilityMember_D6973C25868C60143A75D6219A241838" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Revolving credit facility</link:label>
    <link:label id="lab_us-gaap_RevolvingCreditFacilityMember_D6973C25868C60143A75D6219A241838_label_en-US" xlink:label="lab_us-gaap_RevolvingCreditFacilityMember_D6973C25868C60143A75D6219A241838" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Revolving Credit Facility [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_D6973C25868C60143A75D6219A241838" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevolvingCreditFacilityMember_D6973C25868C60143A75D6219A241838" xlink:to="lab_us-gaap_RevolvingCreditFacilityMember_D6973C25868C60143A75D6219A241838" xlink:type="arc" />
    <link:label id="lab_ubnt_TermLoanMember_C9DCEE8134ADF7C1C022D6219A24C43C_terseLabel_en-US" xlink:label="lab_ubnt_TermLoanMember_C9DCEE8134ADF7C1C022D6219A24C43C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Term loan facility</link:label>
    <link:label id="lab_ubnt_TermLoanMember_C9DCEE8134ADF7C1C022D6219A24C43C_label_en-US" xlink:label="lab_ubnt_TermLoanMember_C9DCEE8134ADF7C1C022D6219A24C43C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Term Loan [Member]</link:label>
    <link:label id="lab_ubnt_TermLoanMember_C9DCEE8134ADF7C1C022D6219A24C43C_documentation_en-US" xlink:label="lab_ubnt_TermLoanMember_C9DCEE8134ADF7C1C022D6219A24C43C" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Term Loan [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_TermLoanMember" xlink:label="loc_ubnt_TermLoanMember_C9DCEE8134ADF7C1C022D6219A24C43C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_TermLoanMember_C9DCEE8134ADF7C1C022D6219A24C43C" xlink:to="lab_ubnt_TermLoanMember_C9DCEE8134ADF7C1C022D6219A24C43C" xlink:type="arc" />
    <link:label id="lab_us-gaap_LetterOfCreditMember_3434DFE852848A2DE314D6219A244C9C_terseLabel_en-US" xlink:label="lab_us-gaap_LetterOfCreditMember_3434DFE852848A2DE314D6219A244C9C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Letters of credit</link:label>
    <link:label id="lab_us-gaap_LetterOfCreditMember_3434DFE852848A2DE314D6219A244C9C_label_en-US" xlink:label="lab_us-gaap_LetterOfCreditMember_3434DFE852848A2DE314D6219A244C9C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Letter of Credit [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LetterOfCreditMember" xlink:label="loc_us-gaap_LetterOfCreditMember_3434DFE852848A2DE314D6219A244C9C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LetterOfCreditMember_3434DFE852848A2DE314D6219A244C9C" xlink:to="lab_us-gaap_LetterOfCreditMember_3434DFE852848A2DE314D6219A244C9C" xlink:type="arc" />
    <link:label id="lab_ubnt_SwinglineLoanMember_C905ADDF553AC224D7C5D6219A24A268_terseLabel_en-US" xlink:label="lab_ubnt_SwinglineLoanMember_C905ADDF553AC224D7C5D6219A24A268" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Sublimit for swingline loan advances</link:label>
    <link:label id="lab_ubnt_SwinglineLoanMember_C905ADDF553AC224D7C5D6219A24A268_label_en-US" xlink:label="lab_ubnt_SwinglineLoanMember_C905ADDF553AC224D7C5D6219A24A268" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Swingline Loan [Member]</link:label>
    <link:label id="lab_ubnt_SwinglineLoanMember_C905ADDF553AC224D7C5D6219A24A268_documentation_en-US" xlink:label="lab_ubnt_SwinglineLoanMember_C905ADDF553AC224D7C5D6219A24A268" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Swingline Loan [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_SwinglineLoanMember" xlink:label="loc_ubnt_SwinglineLoanMember_C905ADDF553AC224D7C5D6219A24A268" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_SwinglineLoanMember_C905ADDF553AC224D7C5D6219A24A268" xlink:to="lab_ubnt_SwinglineLoanMember_C905ADDF553AC224D7C5D6219A24A268" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtInstrumentAxis_22F2436FCBA5F0C19187D6219A251873_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentAxis_22F2436FCBA5F0C19187D6219A251873" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Instrument [Axis]</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentAxis_22F2436FCBA5F0C19187D6219A251873_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentAxis_22F2436FCBA5F0C19187D6219A251873" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_22F2436FCBA5F0C19187D6219A251873" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentAxis_22F2436FCBA5F0C19187D6219A251873" xlink:to="lab_us-gaap_DebtInstrumentAxis_22F2436FCBA5F0C19187D6219A251873" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtInstrumentNameDomain_F314B9D8BDDC235DA9FCD6219A252D28_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentNameDomain_F314B9D8BDDC235DA9FCD6219A252D28" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Instrument, Name [Domain]</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentNameDomain_F314B9D8BDDC235DA9FCD6219A252D28_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentNameDomain_F314B9D8BDDC235DA9FCD6219A252D28" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument, Name [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_F314B9D8BDDC235DA9FCD6219A252D28" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_F314B9D8BDDC235DA9FCD6219A252D28" xlink:to="lab_us-gaap_DebtInstrumentNameDomain_F314B9D8BDDC235DA9FCD6219A252D28" xlink:type="arc" />
    <link:label id="lab_ubnt_AmendedCreditAgreementMember_93FAF4BFA49B61D225FFD6219A250914_terseLabel_en-US" xlink:label="lab_ubnt_AmendedCreditAgreementMember_93FAF4BFA49B61D225FFD6219A250914" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Amended Credit Agreement</link:label>
    <link:label id="lab_ubnt_AmendedCreditAgreementMember_93FAF4BFA49B61D225FFD6219A250914_label_en-US" xlink:label="lab_ubnt_AmendedCreditAgreementMember_93FAF4BFA49B61D225FFD6219A250914" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Amended Credit Agreement [Member]</link:label>
    <link:label id="lab_ubnt_AmendedCreditAgreementMember_93FAF4BFA49B61D225FFD6219A250914_documentation_en-US" xlink:label="lab_ubnt_AmendedCreditAgreementMember_93FAF4BFA49B61D225FFD6219A250914" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Amended Credit Agreement [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_AmendedCreditAgreementMember" xlink:label="loc_ubnt_AmendedCreditAgreementMember_93FAF4BFA49B61D225FFD6219A250914" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_AmendedCreditAgreementMember_93FAF4BFA49B61D225FFD6219A250914" xlink:to="lab_ubnt_AmendedCreditAgreementMember_93FAF4BFA49B61D225FFD6219A250914" xlink:type="arc" />
    <link:label id="lab_ubnt_SecondAmendedRestatedCreditAgreementMember_8EC573FA248FF4CC9A93D6219A2534F6_terseLabel_en-US" xlink:label="lab_ubnt_SecondAmendedRestatedCreditAgreementMember_8EC573FA248FF4CC9A93D6219A2534F6" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Second Amended &amp; Restated Credit Agreement</link:label>
    <link:label id="lab_ubnt_SecondAmendedRestatedCreditAgreementMember_8EC573FA248FF4CC9A93D6219A2534F6_label_en-US" xlink:label="lab_ubnt_SecondAmendedRestatedCreditAgreementMember_8EC573FA248FF4CC9A93D6219A2534F6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Second Amended &amp; Restated Credit Agreement [Member]</link:label>
    <link:label id="lab_ubnt_SecondAmendedRestatedCreditAgreementMember_8EC573FA248FF4CC9A93D6219A2534F6_documentation_en-US" xlink:label="lab_ubnt_SecondAmendedRestatedCreditAgreementMember_8EC573FA248FF4CC9A93D6219A2534F6" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Second Amended &amp; Restated Credit Agreement [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_SecondAmendedRestatedCreditAgreementMember" xlink:label="loc_ubnt_SecondAmendedRestatedCreditAgreementMember_8EC573FA248FF4CC9A93D6219A2534F6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_SecondAmendedRestatedCreditAgreementMember_8EC573FA248FF4CC9A93D6219A2534F6" xlink:to="lab_ubnt_SecondAmendedRestatedCreditAgreementMember_8EC573FA248FF4CC9A93D6219A2534F6" xlink:type="arc" />
    <link:label id="lab_us-gaap_VariableRateAxis_51BA613F58747FF5C9A1D6219A264DD4_terseLabel_en-US" xlink:label="lab_us-gaap_VariableRateAxis_51BA613F58747FF5C9A1D6219A264DD4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Variable Rate [Axis]</link:label>
    <link:label id="lab_us-gaap_VariableRateAxis_51BA613F58747FF5C9A1D6219A264DD4_label_en-US" xlink:label="lab_us-gaap_VariableRateAxis_51BA613F58747FF5C9A1D6219A264DD4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Variable Rate [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_51BA613F58747FF5C9A1D6219A264DD4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableRateAxis_51BA613F58747FF5C9A1D6219A264DD4" xlink:to="lab_us-gaap_VariableRateAxis_51BA613F58747FF5C9A1D6219A264DD4" xlink:type="arc" />
    <link:label id="lab_us-gaap_VariableRateDomain_3CB32C71DA143BA52B85D6219A266242_terseLabel_en-US" xlink:label="lab_us-gaap_VariableRateDomain_3CB32C71DA143BA52B85D6219A266242" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Variable Rate [Domain]</link:label>
    <link:label id="lab_us-gaap_VariableRateDomain_3CB32C71DA143BA52B85D6219A266242_label_en-US" xlink:label="lab_us-gaap_VariableRateDomain_3CB32C71DA143BA52B85D6219A266242" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Variable Rate [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_3CB32C71DA143BA52B85D6219A266242" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableRateDomain_3CB32C71DA143BA52B85D6219A266242" xlink:to="lab_us-gaap_VariableRateDomain_3CB32C71DA143BA52B85D6219A266242" xlink:type="arc" />
    <link:label id="lab_us-gaap_BaseRateMember_390693956E4AE8F0692FD6219A27CD4B_terseLabel_en-US" xlink:label="lab_us-gaap_BaseRateMember_390693956E4AE8F0692FD6219A27CD4B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Base rate</link:label>
    <link:label id="lab_us-gaap_BaseRateMember_390693956E4AE8F0692FD6219A27CD4B_label_en-US" xlink:label="lab_us-gaap_BaseRateMember_390693956E4AE8F0692FD6219A27CD4B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Base Rate [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BaseRateMember" xlink:label="loc_us-gaap_BaseRateMember_390693956E4AE8F0692FD6219A27CD4B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BaseRateMember_390693956E4AE8F0692FD6219A27CD4B" xlink:to="lab_us-gaap_BaseRateMember_390693956E4AE8F0692FD6219A27CD4B" xlink:type="arc" />
    <link:label id="lab_us-gaap_LondonInterbankOfferedRateLIBORMember_B98167E52AE65288FBC5D6219A2720D6_terseLabel_en-US" xlink:label="lab_us-gaap_LondonInterbankOfferedRateLIBORMember_B98167E52AE65288FBC5D6219A2720D6" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">LIBOR</link:label>
    <link:label id="lab_us-gaap_LondonInterbankOfferedRateLIBORMember_B98167E52AE65288FBC5D6219A2720D6_label_en-US" xlink:label="lab_us-gaap_LondonInterbankOfferedRateLIBORMember_B98167E52AE65288FBC5D6219A2720D6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">London Interbank Offered Rate (LIBOR) [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_B98167E52AE65288FBC5D6219A2720D6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_B98167E52AE65288FBC5D6219A2720D6" xlink:to="lab_us-gaap_LondonInterbankOfferedRateLIBORMember_B98167E52AE65288FBC5D6219A2720D6" xlink:type="arc" />
    <link:label id="lab_us-gaap_FederalFundsEffectiveSwapRateMember_F7BBF4FEC49D4CA5B1C5D6219A27A6A0_terseLabel_en-US" xlink:label="lab_us-gaap_FederalFundsEffectiveSwapRateMember_F7BBF4FEC49D4CA5B1C5D6219A27A6A0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Federal funds rate</link:label>
    <link:label id="lab_us-gaap_FederalFundsEffectiveSwapRateMember_F7BBF4FEC49D4CA5B1C5D6219A27A6A0_label_en-US" xlink:label="lab_us-gaap_FederalFundsEffectiveSwapRateMember_F7BBF4FEC49D4CA5B1C5D6219A27A6A0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Federal Funds Effective Swap Rate [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalFundsEffectiveSwapRateMember" xlink:label="loc_us-gaap_FederalFundsEffectiveSwapRateMember_F7BBF4FEC49D4CA5B1C5D6219A27A6A0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FederalFundsEffectiveSwapRateMember_F7BBF4FEC49D4CA5B1C5D6219A27A6A0" xlink:to="lab_us-gaap_FederalFundsEffectiveSwapRateMember_F7BBF4FEC49D4CA5B1C5D6219A27A6A0" xlink:type="arc" />
    <link:label id="lab_ubnt_ApplicableInterestRateMember_B5B41AADB22DC4C60A78D6219A274967_terseLabel_en-US" xlink:label="lab_ubnt_ApplicableInterestRateMember_B5B41AADB22DC4C60A78D6219A274967" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Applicable interest rate</link:label>
    <link:label id="lab_ubnt_ApplicableInterestRateMember_B5B41AADB22DC4C60A78D6219A274967_label_en-US" xlink:label="lab_ubnt_ApplicableInterestRateMember_B5B41AADB22DC4C60A78D6219A274967" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Applicable Interest Rate [Member]</link:label>
    <link:label id="lab_ubnt_ApplicableInterestRateMember_B5B41AADB22DC4C60A78D6219A274967_documentation_en-US" xlink:label="lab_ubnt_ApplicableInterestRateMember_B5B41AADB22DC4C60A78D6219A274967" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Applicable Interest Rate [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_ApplicableInterestRateMember" xlink:label="loc_ubnt_ApplicableInterestRateMember_B5B41AADB22DC4C60A78D6219A274967" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_ApplicableInterestRateMember_B5B41AADB22DC4C60A78D6219A274967" xlink:to="lab_ubnt_ApplicableInterestRateMember_B5B41AADB22DC4C60A78D6219A274967" xlink:type="arc" />
    <link:label id="lab_srt_RangeAxis_F22081F9458610EA46D4D6219A276CEE_terseLabel_en-US" xlink:label="lab_srt_RangeAxis_F22081F9458610EA46D4D6219A276CEE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Range [Axis]</link:label>
    <link:label id="lab_srt_RangeAxis_F22081F9458610EA46D4D6219A276CEE_label_en-US" xlink:label="lab_srt_RangeAxis_F22081F9458610EA46D4D6219A276CEE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Range [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_F22081F9458610EA46D4D6219A276CEE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RangeAxis_F22081F9458610EA46D4D6219A276CEE" xlink:to="lab_srt_RangeAxis_F22081F9458610EA46D4D6219A276CEE" xlink:type="arc" />
    <link:label id="lab_srt_RangeMember_64782A97EAAE9A85CDB0D6219A28BE9B_terseLabel_en-US" xlink:label="lab_srt_RangeMember_64782A97EAAE9A85CDB0D6219A28BE9B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Range [Domain]</link:label>
    <link:label id="lab_srt_RangeMember_64782A97EAAE9A85CDB0D6219A28BE9B_label_en-US" xlink:label="lab_srt_RangeMember_64782A97EAAE9A85CDB0D6219A28BE9B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Range [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_64782A97EAAE9A85CDB0D6219A28BE9B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RangeMember_64782A97EAAE9A85CDB0D6219A28BE9B" xlink:to="lab_srt_RangeMember_64782A97EAAE9A85CDB0D6219A28BE9B" xlink:type="arc" />
    <link:label id="lab_srt_MinimumMember_BC5D922A98110392E34AD6219A2878ED_terseLabel_en-US" xlink:label="lab_srt_MinimumMember_BC5D922A98110392E34AD6219A2878ED" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum</link:label>
    <link:label id="lab_srt_MinimumMember_BC5D922A98110392E34AD6219A2878ED_label_en-US" xlink:label="lab_srt_MinimumMember_BC5D922A98110392E34AD6219A2878ED" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Minimum [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_BC5D922A98110392E34AD6219A2878ED" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MinimumMember_BC5D922A98110392E34AD6219A2878ED" xlink:to="lab_srt_MinimumMember_BC5D922A98110392E34AD6219A2878ED" xlink:type="arc" />
    <link:label id="lab_srt_MaximumMember_F62B25FD95CBFDB4D51BD6219A283697_terseLabel_en-US" xlink:label="lab_srt_MaximumMember_F62B25FD95CBFDB4D51BD6219A283697" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Maximum</link:label>
    <link:label id="lab_srt_MaximumMember_F62B25FD95CBFDB4D51BD6219A283697_label_en-US" xlink:label="lab_srt_MaximumMember_F62B25FD95CBFDB4D51BD6219A283697" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Maximum [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_F62B25FD95CBFDB4D51BD6219A283697" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MaximumMember_F62B25FD95CBFDB4D51BD6219A283697" xlink:to="lab_srt_MaximumMember_F62B25FD95CBFDB4D51BD6219A283697" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtInstrumentLineItems_524AFF738AC37DFE1E2ED6219A29B531_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentLineItems_524AFF738AC37DFE1E2ED6219A29B531" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Instrument [Line Items]</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentLineItems_524AFF738AC37DFE1E2ED6219A29B531_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentLineItems_524AFF738AC37DFE1E2ED6219A29B531" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_524AFF738AC37DFE1E2ED6219A29B531" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentLineItems_524AFF738AC37DFE1E2ED6219A29B531" xlink:to="lab_us-gaap_DebtInstrumentLineItems_524AFF738AC37DFE1E2ED6219A29B531" xlink:type="arc" />
    <link:label id="lab_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4B73B914BE429E34FF6ED6219A2992F9_verboseLabel_en-US" xlink:label="lab_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4B73B914BE429E34FF6ED6219A2992F9" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Credit facility</link:label>
    <link:label id="lab_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4B73B914BE429E34FF6ED6219A2992F9_label_en-US" xlink:label="lab_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4B73B914BE429E34FF6ED6219A2992F9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Maximum Borrowing Capacity</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4B73B914BE429E34FF6ED6219A2992F9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4B73B914BE429E34FF6ED6219A2992F9" xlink:to="lab_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4B73B914BE429E34FF6ED6219A2992F9" xlink:type="arc" />
    <link:label id="lab_ubnt_LineofCreditFacilityOptionAdditionalMaximumBorrowingCapacity_6642C4129F8958D58943D6219A29938D_terseLabel_en-US" xlink:label="lab_ubnt_LineofCreditFacilityOptionAdditionalMaximumBorrowingCapacity_6642C4129F8958D58943D6219A29938D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Additional borrowing capacity</link:label>
    <link:label id="lab_ubnt_LineofCreditFacilityOptionAdditionalMaximumBorrowingCapacity_6642C4129F8958D58943D6219A29938D_label_en-US" xlink:label="lab_ubnt_LineofCreditFacilityOptionAdditionalMaximumBorrowingCapacity_6642C4129F8958D58943D6219A29938D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Option, Additional Maximum Borrowing Capacity</link:label>
    <link:label id="lab_ubnt_LineofCreditFacilityOptionAdditionalMaximumBorrowingCapacity_6642C4129F8958D58943D6219A29938D_documentation_en-US" xlink:label="lab_ubnt_LineofCreditFacilityOptionAdditionalMaximumBorrowingCapacity_6642C4129F8958D58943D6219A29938D" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Option, Additional Maximum Borrowing Capacity</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LineofCreditFacilityOptionAdditionalMaximumBorrowingCapacity" xlink:label="loc_ubnt_LineofCreditFacilityOptionAdditionalMaximumBorrowingCapacity_6642C4129F8958D58943D6219A29938D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LineofCreditFacilityOptionAdditionalMaximumBorrowingCapacity_6642C4129F8958D58943D6219A29938D" xlink:to="lab_ubnt_LineofCreditFacilityOptionAdditionalMaximumBorrowingCapacity_6642C4129F8958D58943D6219A29938D" xlink:type="arc" />
    <link:label id="lab_us-gaap_RepaymentsOfLongTermLinesOfCredit_08D175470574CCDE849DD6219A29EFA4_terseLabel_en-US" xlink:label="lab_us-gaap_RepaymentsOfLongTermLinesOfCredit_08D175470574CCDE849DD6219A29EFA4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Repayment of outstanding balance</link:label>
    <link:label id="lab_us-gaap_RepaymentsOfLongTermLinesOfCredit_08D175470574CCDE849DD6219A29EFA4_label_en-US" xlink:label="lab_us-gaap_RepaymentsOfLongTermLinesOfCredit_08D175470574CCDE849DD6219A29EFA4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Repayments of Long-term Lines of Credit</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_08D175470574CCDE849DD6219A29EFA4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_08D175470574CCDE849DD6219A29EFA4" xlink:to="lab_us-gaap_RepaymentsOfLongTermLinesOfCredit_08D175470574CCDE849DD6219A29EFA4" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross_CA743E562F383027627CD6219A298759_terseLabel_en-US" xlink:label="lab_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross_CA743E562F383027627CD6219A298759" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt issuance cost</link:label>
    <link:label id="lab_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross_CA743E562F383027627CD6219A298759_label_en-US" xlink:label="lab_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross_CA743E562F383027627CD6219A298759" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Issuance Costs, Line of Credit Arrangements, Gross</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross" xlink:label="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross_CA743E562F383027627CD6219A298759" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross_CA743E562F383027627CD6219A298759" xlink:to="lab_us-gaap_DebtIssuanceCostsLineOfCreditArrangementsGross_CA743E562F383027627CD6219A298759" xlink:type="arc" />
    <link:label id="lab_ubnt_LineofCreditFacilityPeriodicPaymentPrincipalPercentage_D9F20E206289EA6DF947D6219A2957C9_terseLabel_en-US" xlink:label="lab_ubnt_LineofCreditFacilityPeriodicPaymentPrincipalPercentage_D9F20E206289EA6DF947D6219A2957C9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Percentage of principal due quarterly</link:label>
    <link:label id="lab_ubnt_LineofCreditFacilityPeriodicPaymentPrincipalPercentage_D9F20E206289EA6DF947D6219A2957C9_label_en-US" xlink:label="lab_ubnt_LineofCreditFacilityPeriodicPaymentPrincipalPercentage_D9F20E206289EA6DF947D6219A2957C9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Periodic Payment, Principal, Percentage</link:label>
    <link:label id="lab_ubnt_LineofCreditFacilityPeriodicPaymentPrincipalPercentage_D9F20E206289EA6DF947D6219A2957C9_documentation_en-US" xlink:label="lab_ubnt_LineofCreditFacilityPeriodicPaymentPrincipalPercentage_D9F20E206289EA6DF947D6219A2957C9" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Periodic Payment, Principal, Percentage</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LineofCreditFacilityPeriodicPaymentPrincipalPercentage" xlink:label="loc_ubnt_LineofCreditFacilityPeriodicPaymentPrincipalPercentage_D9F20E206289EA6DF947D6219A2957C9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LineofCreditFacilityPeriodicPaymentPrincipalPercentage_D9F20E206289EA6DF947D6219A2957C9" xlink:to="lab_ubnt_LineofCreditFacilityPeriodicPaymentPrincipalPercentage_D9F20E206289EA6DF947D6219A2957C9" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_B6C9B93FC9A64F66091CD6219A2A500B_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_B6C9B93FC9A64F66091CD6219A2A500B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt basis spread on variable rate</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_B6C9B93FC9A64F66091CD6219A2A500B_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_B6C9B93FC9A64F66091CD6219A2A500B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument, Basis Spread on Variable Rate</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_B6C9B93FC9A64F66091CD6219A2A500B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_B6C9B93FC9A64F66091CD6219A2A500B" xlink:to="lab_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_B6C9B93FC9A64F66091CD6219A2A500B" xlink:type="arc" />
    <link:label id="lab_ubnt_DebtInstrumentDebtDefaultBasisSpreadOverApplicableInterestRate_31D2EDB15217EA741C21D6219A2AEC9E_terseLabel_en-US" xlink:label="lab_ubnt_DebtInstrumentDebtDefaultBasisSpreadOverApplicableInterestRate_31D2EDB15217EA741C21D6219A2AEC9E" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt basis spread over applicable interest rate</link:label>
    <link:label id="lab_ubnt_DebtInstrumentDebtDefaultBasisSpreadOverApplicableInterestRate_31D2EDB15217EA741C21D6219A2AEC9E_label_en-US" xlink:label="lab_ubnt_DebtInstrumentDebtDefaultBasisSpreadOverApplicableInterestRate_31D2EDB15217EA741C21D6219A2AEC9E" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument, Debt Default, Basis Spread Over Applicable Interest Rate</link:label>
    <link:label id="lab_ubnt_DebtInstrumentDebtDefaultBasisSpreadOverApplicableInterestRate_31D2EDB15217EA741C21D6219A2AEC9E_documentation_en-US" xlink:label="lab_ubnt_DebtInstrumentDebtDefaultBasisSpreadOverApplicableInterestRate_31D2EDB15217EA741C21D6219A2AEC9E" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Debt Instrument, Debt Default, Basis Spread Over Applicable Interest Rate</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_DebtInstrumentDebtDefaultBasisSpreadOverApplicableInterestRate" xlink:label="loc_ubnt_DebtInstrumentDebtDefaultBasisSpreadOverApplicableInterestRate_31D2EDB15217EA741C21D6219A2AEC9E" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_DebtInstrumentDebtDefaultBasisSpreadOverApplicableInterestRate_31D2EDB15217EA741C21D6219A2AEC9E" xlink:to="lab_ubnt_DebtInstrumentDebtDefaultBasisSpreadOverApplicableInterestRate_31D2EDB15217EA741C21D6219A2AEC9E" xlink:type="arc" />
    <link:label id="lab_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_D75F5AEBFCD788995683D6219A2ADA61_terseLabel_en-US" xlink:label="lab_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_D75F5AEBFCD788995683D6219A2ADA61" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Commitment fee percentage of unused borrowings</link:label>
    <link:label id="lab_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_D75F5AEBFCD788995683D6219A2ADA61_label_en-US" xlink:label="lab_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_D75F5AEBFCD788995683D6219A2ADA61" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Unused Capacity, Commitment Fee Percentage</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_D75F5AEBFCD788995683D6219A2ADA61" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_D75F5AEBFCD788995683D6219A2ADA61" xlink:to="lab_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_D75F5AEBFCD788995683D6219A2ADA61" xlink:type="arc" />
    <link:label id="lab_ubnt_LineofCreditFacilityDebtIssuanceCostsPercentageAnnually_BF795A2866FCCF7AC41FD6219A2A711B_terseLabel_en-US" xlink:label="lab_ubnt_LineofCreditFacilityDebtIssuanceCostsPercentageAnnually_BF795A2866FCCF7AC41FD6219A2A711B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Issuance fees per annum</link:label>
    <link:label id="lab_ubnt_LineofCreditFacilityDebtIssuanceCostsPercentageAnnually_BF795A2866FCCF7AC41FD6219A2A711B_label_en-US" xlink:label="lab_ubnt_LineofCreditFacilityDebtIssuanceCostsPercentageAnnually_BF795A2866FCCF7AC41FD6219A2A711B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Debt Issuance Costs, Percentage, Annually</link:label>
    <link:label id="lab_ubnt_LineofCreditFacilityDebtIssuanceCostsPercentageAnnually_BF795A2866FCCF7AC41FD6219A2A711B_documentation_en-US" xlink:label="lab_ubnt_LineofCreditFacilityDebtIssuanceCostsPercentageAnnually_BF795A2866FCCF7AC41FD6219A2A711B" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Debt Issuance Costs, Percentage, Annually</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LineofCreditFacilityDebtIssuanceCostsPercentageAnnually" xlink:label="loc_ubnt_LineofCreditFacilityDebtIssuanceCostsPercentageAnnually_BF795A2866FCCF7AC41FD6219A2A711B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LineofCreditFacilityDebtIssuanceCostsPercentageAnnually_BF795A2866FCCF7AC41FD6219A2A711B" xlink:to="lab_ubnt_LineofCreditFacilityDebtIssuanceCostsPercentageAnnually_BF795A2866FCCF7AC41FD6219A2A711B" xlink:type="arc" />
    <link:label id="lab_us-gaap_RatioOfIndebtednessToNetCapital1_EC0C87EAA10A9D47AB5BD6219A2AD44F_terseLabel_en-US" xlink:label="lab_us-gaap_RatioOfIndebtednessToNetCapital1_EC0C87EAA10A9D47AB5BD6219A2AD44F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Maximum leverage ratio</link:label>
    <link:label id="lab_us-gaap_RatioOfIndebtednessToNetCapital1_EC0C87EAA10A9D47AB5BD6219A2AD44F_label_en-US" xlink:label="lab_us-gaap_RatioOfIndebtednessToNetCapital1_EC0C87EAA10A9D47AB5BD6219A2AD44F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Ratio of Indebtedness to Net Capital</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RatioOfIndebtednessToNetCapital1" xlink:label="loc_us-gaap_RatioOfIndebtednessToNetCapital1_EC0C87EAA10A9D47AB5BD6219A2AD44F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RatioOfIndebtednessToNetCapital1_EC0C87EAA10A9D47AB5BD6219A2AD44F" xlink:to="lab_us-gaap_RatioOfIndebtednessToNetCapital1_EC0C87EAA10A9D47AB5BD6219A2AD44F" xlink:type="arc" />
    <link:label id="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumLiquidity_1BC05EA7891B2C830FC3D6219A2BEF88_terseLabel_en-US" xlink:label="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumLiquidity_1BC05EA7891B2C830FC3D6219A2BEF88" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum liquidity to satisfy covenant terms</link:label>
    <link:label id="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumLiquidity_1BC05EA7891B2C830FC3D6219A2BEF88_label_en-US" xlink:label="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumLiquidity_1BC05EA7891B2C830FC3D6219A2BEF88" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Covenant Terms, Minimum Liquidity</link:label>
    <link:label id="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumLiquidity_1BC05EA7891B2C830FC3D6219A2BEF88_documentation_en-US" xlink:label="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumLiquidity_1BC05EA7891B2C830FC3D6219A2BEF88" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Covenant Terms, Minimum Liquidity</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LineofCreditFacilityCovenantTermsMinimumLiquidity" xlink:label="loc_ubnt_LineofCreditFacilityCovenantTermsMinimumLiquidity_1BC05EA7891B2C830FC3D6219A2BEF88" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LineofCreditFacilityCovenantTermsMinimumLiquidity_1BC05EA7891B2C830FC3D6219A2BEF88" xlink:to="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumLiquidity_1BC05EA7891B2C830FC3D6219A2BEF88" xlink:type="arc" />
    <link:label id="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumAvailableBorrowingstoSatisfyCovenant_A0C9964E69D9EF3C9546D6219A2B59CD_terseLabel_en-US" xlink:label="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumAvailableBorrowingstoSatisfyCovenant_A0C9964E69D9EF3C9546D6219A2B59CD" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Availability of revolving credit facility to satisfy covenant term</link:label>
    <link:label id="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumAvailableBorrowingstoSatisfyCovenant_A0C9964E69D9EF3C9546D6219A2B59CD_label_en-US" xlink:label="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumAvailableBorrowingstoSatisfyCovenant_A0C9964E69D9EF3C9546D6219A2B59CD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Covenant Terms, Minimum Available Borrowings to Satisfy Covenant</link:label>
    <link:label id="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumAvailableBorrowingstoSatisfyCovenant_A0C9964E69D9EF3C9546D6219A2B59CD_documentation_en-US" xlink:label="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumAvailableBorrowingstoSatisfyCovenant_A0C9964E69D9EF3C9546D6219A2B59CD" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Covenant Terms, Minimum Available Borrowings to Satisfy Covenant</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LineofCreditFacilityCovenantTermsMinimumAvailableBorrowingstoSatisfyCovenant" xlink:label="loc_ubnt_LineofCreditFacilityCovenantTermsMinimumAvailableBorrowingstoSatisfyCovenant_A0C9964E69D9EF3C9546D6219A2B59CD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LineofCreditFacilityCovenantTermsMinimumAvailableBorrowingstoSatisfyCovenant_A0C9964E69D9EF3C9546D6219A2B59CD" xlink:to="lab_ubnt_LineofCreditFacilityCovenantTermsMinimumAvailableBorrowingstoSatisfyCovenant_A0C9964E69D9EF3C9546D6219A2B59CD" xlink:type="arc" />
    <link:label id="lab_ubnt_RepaymentofLongTermLinesofCreditPrincipal_26DB7871C9B7B87A4D75D6219A2B3472_terseLabel_en-US" xlink:label="lab_ubnt_RepaymentofLongTermLinesofCreditPrincipal_26DB7871C9B7B87A4D75D6219A2B3472" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Principal payment</link:label>
    <link:label id="lab_ubnt_RepaymentofLongTermLinesofCreditPrincipal_26DB7871C9B7B87A4D75D6219A2B3472_label_en-US" xlink:label="lab_ubnt_RepaymentofLongTermLinesofCreditPrincipal_26DB7871C9B7B87A4D75D6219A2B3472" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Repayment of Long-Term Lines of Credit, Principal</link:label>
    <link:label id="lab_ubnt_RepaymentofLongTermLinesofCreditPrincipal_26DB7871C9B7B87A4D75D6219A2B3472_documentation_en-US" xlink:label="lab_ubnt_RepaymentofLongTermLinesofCreditPrincipal_26DB7871C9B7B87A4D75D6219A2B3472" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Repayment of Long-Term Lines of Credit, Principal</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_RepaymentofLongTermLinesofCreditPrincipal" xlink:label="loc_ubnt_RepaymentofLongTermLinesofCreditPrincipal_26DB7871C9B7B87A4D75D6219A2B3472" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_RepaymentofLongTermLinesofCreditPrincipal_26DB7871C9B7B87A4D75D6219A2B3472" xlink:to="lab_ubnt_RepaymentofLongTermLinesofCreditPrincipal_26DB7871C9B7B87A4D75D6219A2B3472" xlink:type="arc" />
    <link:label id="lab_ubnt_RepaymentofLongTermLinesofCreditInterest_BC18132D7AA2A6178A35D6219A2B9615_terseLabel_en-US" xlink:label="lab_ubnt_RepaymentofLongTermLinesofCreditInterest_BC18132D7AA2A6178A35D6219A2B9615" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest payment</link:label>
    <link:label id="lab_ubnt_RepaymentofLongTermLinesofCreditInterest_BC18132D7AA2A6178A35D6219A2B9615_label_en-US" xlink:label="lab_ubnt_RepaymentofLongTermLinesofCreditInterest_BC18132D7AA2A6178A35D6219A2B9615" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Repayment of Long-Term Lines of Credit, Interest</link:label>
    <link:label id="lab_ubnt_RepaymentofLongTermLinesofCreditInterest_BC18132D7AA2A6178A35D6219A2B9615_documentation_en-US" xlink:label="lab_ubnt_RepaymentofLongTermLinesofCreditInterest_BC18132D7AA2A6178A35D6219A2B9615" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Repayment of Long-Term Lines of Credit, Interest</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_RepaymentofLongTermLinesofCreditInterest" xlink:label="loc_ubnt_RepaymentofLongTermLinesofCreditInterest_BC18132D7AA2A6178A35D6219A2B9615" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_RepaymentofLongTermLinesofCreditInterest_BC18132D7AA2A6178A35D6219A2B9615" xlink:to="lab_ubnt_RepaymentofLongTermLinesofCreditInterest_BC18132D7AA2A6178A35D6219A2B9615" xlink:type="arc" />
    <link:label id="lab_us-gaap_LineOfCredit_4FF8EFE63C1DABF13A7CD6219A2B1F5C_terseLabel_en-US" xlink:label="lab_us-gaap_LineOfCredit_4FF8EFE63C1DABF13A7CD6219A2B1F5C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Outstanding borrowing</link:label>
    <link:label id="lab_us-gaap_LineOfCredit_4FF8EFE63C1DABF13A7CD6219A2B1F5C_label_en-US" xlink:label="lab_us-gaap_LineOfCredit_4FF8EFE63C1DABF13A7CD6219A2B1F5C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-term Line of Credit</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCredit" xlink:label="loc_us-gaap_LineOfCredit_4FF8EFE63C1DABF13A7CD6219A2B1F5C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCredit_4FF8EFE63C1DABF13A7CD6219A2B1F5C" xlink:to="lab_us-gaap_LineOfCredit_4FF8EFE63C1DABF13A7CD6219A2B1F5C" xlink:type="arc" />
    <link:label id="lab_us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_3E3A43FE0B746F605374D6219A2BDA74_verboseLabel_en-US" xlink:label="lab_us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_3E3A43FE0B746F605374D6219A2BDA74" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Interest rate percentage on term loan</link:label>
    <link:label id="lab_us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_3E3A43FE0B746F605374D6219A2BDA74_label_en-US" xlink:label="lab_us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_3E3A43FE0B746F605374D6219A2BDA74" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Line of Credit Facility, Interest Rate During Period</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LineOfCreditFacilityInterestRateDuringPeriod" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_3E3A43FE0B746F605374D6219A2BDA74" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_3E3A43FE0B746F605374D6219A2BDA74" xlink:to="lab_us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_3E3A43FE0B746F605374D6219A2BDA74" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_450FA0A9DC29093994573B518689BFA1_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_450FA0A9DC29093994573B518689BFA1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Segment Reporting Information, by Segment [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_450FA0A9DC29093994573B518689BFA1_label_en-US" xlink:label="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_450FA0A9DC29093994573B518689BFA1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Segment Reporting Information, by Segment [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_450FA0A9DC29093994573B518689BFA1" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_450FA0A9DC29093994573B518689BFA1" xlink:to="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_450FA0A9DC29093994573B518689BFA1" xlink:type="arc" />
    <link:label id="lab_us-gaap_SubsegmentsAxis_44130515FB5F27D2419D3B5186898149_terseLabel_en-US" xlink:label="lab_us-gaap_SubsegmentsAxis_44130515FB5F27D2419D3B5186898149" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Subsegments [Axis]</link:label>
    <link:label id="lab_us-gaap_SubsegmentsAxis_44130515FB5F27D2419D3B5186898149_label_en-US" xlink:label="lab_us-gaap_SubsegmentsAxis_44130515FB5F27D2419D3B5186898149" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Subsegments [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsegmentsAxis" xlink:label="loc_us-gaap_SubsegmentsAxis_44130515FB5F27D2419D3B5186898149" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsegmentsAxis_44130515FB5F27D2419D3B5186898149" xlink:to="lab_us-gaap_SubsegmentsAxis_44130515FB5F27D2419D3B5186898149" xlink:type="arc" />
    <link:label id="lab_us-gaap_SubsegmentsDomain_39AA0D94D8846DCAB1583B51868938CB_terseLabel_en-US" xlink:label="lab_us-gaap_SubsegmentsDomain_39AA0D94D8846DCAB1583B51868938CB" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Subsegments [Domain]</link:label>
    <link:label id="lab_us-gaap_SubsegmentsDomain_39AA0D94D8846DCAB1583B51868938CB_label_en-US" xlink:label="lab_us-gaap_SubsegmentsDomain_39AA0D94D8846DCAB1583B51868938CB" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Subsegments [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsegmentsDomain" xlink:label="loc_us-gaap_SubsegmentsDomain_39AA0D94D8846DCAB1583B51868938CB" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsegmentsDomain_39AA0D94D8846DCAB1583B51868938CB" xlink:to="lab_us-gaap_SubsegmentsDomain_39AA0D94D8846DCAB1583B51868938CB" xlink:type="arc" />
    <link:label id="lab_ubnt_ServiceProviderTechnologyMember_B9039A7AA51C573C2F893B5186896642_terseLabel_en-US" xlink:label="lab_ubnt_ServiceProviderTechnologyMember_B9039A7AA51C573C2F893B5186896642" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Service Provider Technology</link:label>
    <link:label id="lab_ubnt_ServiceProviderTechnologyMember_B9039A7AA51C573C2F893B5186896642_label_en-US" xlink:label="lab_ubnt_ServiceProviderTechnologyMember_B9039A7AA51C573C2F893B5186896642" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Service Provider Technology [Member]</link:label>
    <link:label id="lab_ubnt_ServiceProviderTechnologyMember_B9039A7AA51C573C2F893B5186896642_documentation_en-US" xlink:label="lab_ubnt_ServiceProviderTechnologyMember_B9039A7AA51C573C2F893B5186896642" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Service Provider Technology [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_ServiceProviderTechnologyMember" xlink:label="loc_ubnt_ServiceProviderTechnologyMember_B9039A7AA51C573C2F893B5186896642" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_ServiceProviderTechnologyMember_B9039A7AA51C573C2F893B5186896642" xlink:to="lab_ubnt_ServiceProviderTechnologyMember_B9039A7AA51C573C2F893B5186896642" xlink:type="arc" />
    <link:label id="lab_ubnt_EnterpriseTechnologyMember_16B0CC770FA3FC85B3C13B518689FF47_terseLabel_en-US" xlink:label="lab_ubnt_EnterpriseTechnologyMember_16B0CC770FA3FC85B3C13B518689FF47" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Enterprise Technology</link:label>
    <link:label id="lab_ubnt_EnterpriseTechnologyMember_16B0CC770FA3FC85B3C13B518689FF47_label_en-US" xlink:label="lab_ubnt_EnterpriseTechnologyMember_16B0CC770FA3FC85B3C13B518689FF47" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Enterprise Technology [Member]</link:label>
    <link:label id="lab_ubnt_EnterpriseTechnologyMember_16B0CC770FA3FC85B3C13B518689FF47_documentation_en-US" xlink:label="lab_ubnt_EnterpriseTechnologyMember_16B0CC770FA3FC85B3C13B518689FF47" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Enterprise Technology [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_EnterpriseTechnologyMember" xlink:label="loc_ubnt_EnterpriseTechnologyMember_16B0CC770FA3FC85B3C13B518689FF47" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_EnterpriseTechnologyMember_16B0CC770FA3FC85B3C13B518689FF47" xlink:to="lab_ubnt_EnterpriseTechnologyMember_16B0CC770FA3FC85B3C13B518689FF47" xlink:type="arc" />
    <link:label id="lab_us-gaap_ConcentrationRiskByBenchmarkAxis_3597B5BFF818CDAEF47F3B5186890B7F_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskByBenchmarkAxis_3597B5BFF818CDAEF47F3B5186890B7F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Concentration Risk Benchmark [Axis]</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskByBenchmarkAxis_3597B5BFF818CDAEF47F3B5186890B7F_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskByBenchmarkAxis_3597B5BFF818CDAEF47F3B5186890B7F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk Benchmark [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_3597B5BFF818CDAEF47F3B5186890B7F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_3597B5BFF818CDAEF47F3B5186890B7F" xlink:to="lab_us-gaap_ConcentrationRiskByBenchmarkAxis_3597B5BFF818CDAEF47F3B5186890B7F" xlink:type="arc" />
    <link:label id="lab_us-gaap_ConcentrationRiskBenchmarkDomain_7B4577391FBB7D3DE08B3B518689E6D4_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskBenchmarkDomain_7B4577391FBB7D3DE08B3B518689E6D4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Concentration Risk Benchmark [Domain]</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskBenchmarkDomain_7B4577391FBB7D3DE08B3B518689E6D4_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskBenchmarkDomain_7B4577391FBB7D3DE08B3B518689E6D4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk Benchmark [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_7B4577391FBB7D3DE08B3B518689E6D4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_7B4577391FBB7D3DE08B3B518689E6D4" xlink:to="lab_us-gaap_ConcentrationRiskBenchmarkDomain_7B4577391FBB7D3DE08B3B518689E6D4" xlink:type="arc" />
    <link:label id="lab_us-gaap_SalesRevenueNetMember_F09D795BDB6AAE4E59833B518689BE37_terseLabel_en-US" xlink:label="lab_us-gaap_SalesRevenueNetMember_F09D795BDB6AAE4E59833B518689BE37" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Revenues</link:label>
    <link:label id="lab_us-gaap_SalesRevenueNetMember_F09D795BDB6AAE4E59833B518689BE37_label_en-US" xlink:label="lab_us-gaap_SalesRevenueNetMember_F09D795BDB6AAE4E59833B518689BE37" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Sales Revenue, Net [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SalesRevenueNetMember" xlink:label="loc_us-gaap_SalesRevenueNetMember_F09D795BDB6AAE4E59833B518689BE37" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SalesRevenueNetMember_F09D795BDB6AAE4E59833B518689BE37" xlink:to="lab_us-gaap_SalesRevenueNetMember_F09D795BDB6AAE4E59833B518689BE37" xlink:type="arc" />
    <link:label id="lab_us-gaap_SegmentReportingInformationLineItems_5D670DF2555B5625DCD53B51868924B5_terseLabel_en-US" xlink:label="lab_us-gaap_SegmentReportingInformationLineItems_5D670DF2555B5625DCD53B51868924B5" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Segment Reporting Information [Line Items]</link:label>
    <link:label id="lab_us-gaap_SegmentReportingInformationLineItems_5D670DF2555B5625DCD53B51868924B5_label_en-US" xlink:label="lab_us-gaap_SegmentReportingInformationLineItems_5D670DF2555B5625DCD53B51868924B5" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Segment Reporting Information [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_5D670DF2555B5625DCD53B51868924B5" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_5D670DF2555B5625DCD53B51868924B5" xlink:to="lab_us-gaap_SegmentReportingInformationLineItems_5D670DF2555B5625DCD53B51868924B5" xlink:type="arc" />
    <link:label id="lab_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_B640B3A85A4CEF0F83813B5E110D7DBA_verboseLabel_en-US" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_B640B3A85A4CEF0F83813B5E110D7DBA" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Total revenues</link:label>
    <link:label id="lab_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_B640B3A85A4CEF0F83813B5E110D7DBA_label_en-US" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_B640B3A85A4CEF0F83813B5E110D7DBA" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Revenue from Contract with Customer, Excluding Assessed Tax</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_B640B3A85A4CEF0F83813B5E110D7DBA" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_B640B3A85A4CEF0F83813B5E110D7DBA" xlink:to="lab_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_B640B3A85A4CEF0F83813B5E110D7DBA" xlink:type="arc" />
    <link:label id="lab_us-gaap_ConcentrationRiskPercentage1_174F890280B4969C4B663B51868989DD_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskPercentage1_174F890280B4969C4B663B51868989DD" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Revenue percentage</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskPercentage1_174F890280B4969C4B663B51868989DD_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskPercentage1_174F890280B4969C4B663B51868989DD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk, Percentage</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_174F890280B4969C4B663B51868989DD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskPercentage1_174F890280B4969C4B663B51868989DD" xlink:to="lab_us-gaap_ConcentrationRiskPercentage1_174F890280B4969C4B663B51868989DD" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfDebtTableTextBlock_A3FFA714662AA650549B1CBF876D0188_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfDebtTableTextBlock_A3FFA714662AA650549B1CBF876D0188" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of debt</link:label>
    <link:label id="lab_us-gaap_ScheduleOfDebtTableTextBlock_A3FFA714662AA650549B1CBF876D0188_label_en-US" xlink:label="lab_us-gaap_ScheduleOfDebtTableTextBlock_A3FFA714662AA650549B1CBF876D0188" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Debt [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfDebtTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfDebtTableTextBlock_A3FFA714662AA650549B1CBF876D0188" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfDebtTableTextBlock_A3FFA714662AA650549B1CBF876D0188" xlink:to="lab_us-gaap_ScheduleOfDebtTableTextBlock_A3FFA714662AA650549B1CBF876D0188" xlink:type="arc" />
    <link:label id="lab_us-gaap_InventoryFinishedGoodsNetOfReserves_937D4AA46F0EF3DB04791CBF866B2565_terseLabel_en-US" xlink:label="lab_us-gaap_InventoryFinishedGoodsNetOfReserves_937D4AA46F0EF3DB04791CBF866B2565" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Finished goods</link:label>
    <link:label id="lab_us-gaap_InventoryFinishedGoodsNetOfReserves_937D4AA46F0EF3DB04791CBF866B2565_label_en-US" xlink:label="lab_us-gaap_InventoryFinishedGoodsNetOfReserves_937D4AA46F0EF3DB04791CBF866B2565" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Inventory, Finished Goods, Net of Reserves</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_937D4AA46F0EF3DB04791CBF866B2565" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_937D4AA46F0EF3DB04791CBF866B2565" xlink:to="lab_us-gaap_InventoryFinishedGoodsNetOfReserves_937D4AA46F0EF3DB04791CBF866B2565" xlink:type="arc" />
    <link:label id="lab_us-gaap_InventoryRawMaterialsNetOfReserves_903203269853FC85905A1CBF866B52B9_terseLabel_en-US" xlink:label="lab_us-gaap_InventoryRawMaterialsNetOfReserves_903203269853FC85905A1CBF866B52B9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Raw materials</link:label>
    <link:label id="lab_us-gaap_InventoryRawMaterialsNetOfReserves_903203269853FC85905A1CBF866B52B9_label_en-US" xlink:label="lab_us-gaap_InventoryRawMaterialsNetOfReserves_903203269853FC85905A1CBF866B52B9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Inventory, Raw Materials, Net of Reserves</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_903203269853FC85905A1CBF866B52B9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryRawMaterialsNetOfReserves_903203269853FC85905A1CBF866B52B9" xlink:to="lab_us-gaap_InventoryRawMaterialsNetOfReserves_903203269853FC85905A1CBF866B52B9" xlink:type="arc" />
    <link:label id="lab_us-gaap_InventoryNet_EB6EBEF3FED537044DE41CBF866BFFA2_totalLabel_en-US" xlink:label="lab_us-gaap_InventoryNet_EB6EBEF3FED537044DE41CBF866BFFA2" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total</link:label>
    <link:label id="lab_us-gaap_InventoryNet_EB6EBEF3FED537044DE41CBF866BFFA2_label_en-US" xlink:label="lab_us-gaap_InventoryNet_EB6EBEF3FED537044DE41CBF866BFFA2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Inventory, Net</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_EB6EBEF3FED537044DE41CBF866BFFA2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryNet_EB6EBEF3FED537044DE41CBF866BFFA2" xlink:to="lab_us-gaap_InventoryNet_EB6EBEF3FED537044DE41CBF866BFFA2" xlink:type="arc" />
    <link:label id="lab_us-gaap_SubsequentEventsTextBlock_29D549535B964B8F9FB11CBF86149555_terseLabel_en-US" xlink:label="lab_us-gaap_SubsequentEventsTextBlock_29D549535B964B8F9FB11CBF86149555" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">SUBSEQUENT EVENTS</link:label>
    <link:label id="lab_us-gaap_SubsequentEventsTextBlock_29D549535B964B8F9FB11CBF86149555_label_en-US" xlink:label="lab_us-gaap_SubsequentEventsTextBlock_29D549535B964B8F9FB11CBF86149555" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Subsequent Events [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventsTextBlock" xlink:label="loc_us-gaap_SubsequentEventsTextBlock_29D549535B964B8F9FB11CBF86149555" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubsequentEventsTextBlock_29D549535B964B8F9FB11CBF86149555" xlink:to="lab_us-gaap_SubsequentEventsTextBlock_29D549535B964B8F9FB11CBF86149555" xlink:type="arc" />
    <link:label id="lab_us-gaap_LongTermDebtByMaturityAbstract_E37BA3C0492D3B0D35F782A2D4906A2D_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtByMaturityAbstract_E37BA3C0492D3B0D35F782A2D4906A2D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt payment obligations</link:label>
    <link:label id="lab_us-gaap_LongTermDebtByMaturityAbstract_E37BA3C0492D3B0D35F782A2D4906A2D_label_en-US" xlink:label="lab_us-gaap_LongTermDebtByMaturityAbstract_E37BA3C0492D3B0D35F782A2D4906A2D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-term Debt, Fiscal Year Maturity [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtByMaturityAbstract" xlink:label="loc_us-gaap_LongTermDebtByMaturityAbstract_E37BA3C0492D3B0D35F782A2D4906A2D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract_E37BA3C0492D3B0D35F782A2D4906A2D" xlink:to="lab_us-gaap_LongTermDebtByMaturityAbstract_E37BA3C0492D3B0D35F782A2D4906A2D" xlink:type="arc" />
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_DAEC2601014DCFD375E482A2D4900108_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_DAEC2601014DCFD375E482A2D4900108" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt payment obligations, 2019 (remainder)</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_DAEC2601014DCFD375E482A2D4900108_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_DAEC2601014DCFD375E482A2D4900108" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-term Debt, Maturities, Repayments of Principal, Remainder of Fiscal Year</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_DAEC2601014DCFD375E482A2D4900108" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_DAEC2601014DCFD375E482A2D4900108" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_DAEC2601014DCFD375E482A2D4900108" xlink:type="arc" />
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_A8DFF92C1F85396F079082A2D49083CF_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_A8DFF92C1F85396F079082A2D49083CF" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt payment obligations, 2020</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_A8DFF92C1F85396F079082A2D49083CF_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_A8DFF92C1F85396F079082A2D49083CF" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-term Debt, Maturities, Repayments of Principal in Year Two</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_A8DFF92C1F85396F079082A2D49083CF" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_A8DFF92C1F85396F079082A2D49083CF" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_A8DFF92C1F85396F079082A2D49083CF" xlink:type="arc" />
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_C055B9064CAB2BA8E03582A2D491588B_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_C055B9064CAB2BA8E03582A2D491588B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt payment obligations, 2021</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_C055B9064CAB2BA8E03582A2D491588B_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_C055B9064CAB2BA8E03582A2D491588B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-term Debt, Maturities, Repayments of Principal in Year Three</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_C055B9064CAB2BA8E03582A2D491588B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_C055B9064CAB2BA8E03582A2D491588B" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_C055B9064CAB2BA8E03582A2D491588B" xlink:type="arc" />
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_90FD74643B3B34861D0582A2D491D566_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_90FD74643B3B34861D0582A2D491D566" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt payment obligations, 2022</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_90FD74643B3B34861D0582A2D491D566_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_90FD74643B3B34861D0582A2D491D566" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-term Debt, Maturities, Repayments of Principal in Year Four</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_90FD74643B3B34861D0582A2D491D566" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_90FD74643B3B34861D0582A2D491D566" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_90FD74643B3B34861D0582A2D491D566" xlink:type="arc" />
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_34FE972C913DFFDA56FA82A2D4911B37_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_34FE972C913DFFDA56FA82A2D4911B37" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt payment obligations, 2023</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_34FE972C913DFFDA56FA82A2D4911B37_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_34FE972C913DFFDA56FA82A2D4911B37" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-term Debt, Maturities, Repayments of Principal in Year Five</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_34FE972C913DFFDA56FA82A2D4911B37" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_34FE972C913DFFDA56FA82A2D4911B37" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_34FE972C913DFFDA56FA82A2D4911B37" xlink:type="arc" />
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_649BF2B4343D21B9511B82A2D49172F2_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_649BF2B4343D21B9511B82A2D49172F2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt payment obligations, thereafter</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_649BF2B4343D21B9511B82A2D49172F2_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_649BF2B4343D21B9511B82A2D49172F2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-term Debt, Maturities, Repayments of Principal after Year Five</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_649BF2B4343D21B9511B82A2D49172F2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_649BF2B4343D21B9511B82A2D49172F2" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_649BF2B4343D21B9511B82A2D49172F2" xlink:type="arc" />
    <link:label id="lab_us-gaap_LongTermDebt_F44339D9CB2656DA8F1482A2D492C5ED_totalLabel_en-US" xlink:label="lab_us-gaap_LongTermDebt_F44339D9CB2656DA8F1482A2D492C5ED" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Debt payment obligations, total</link:label>
    <link:label id="lab_us-gaap_LongTermDebt_F44339D9CB2656DA8F1482A2D492C5ED_label_en-US" xlink:label="lab_us-gaap_LongTermDebt_F44339D9CB2656DA8F1482A2D492C5ED" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-term Debt</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_F44339D9CB2656DA8F1482A2D492C5ED" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebt_F44339D9CB2656DA8F1482A2D492C5ED" xlink:to="lab_us-gaap_LongTermDebt_F44339D9CB2656DA8F1482A2D492C5ED" xlink:type="arc" />
    <link:label id="lab_ubnt_InterestandOtherPaymentsonDebtObligationsAbstract_B40B4895CBB35CA1B2AF82A2D4928C31_terseLabel_en-US" xlink:label="lab_ubnt_InterestandOtherPaymentsonDebtObligationsAbstract_B40B4895CBB35CA1B2AF82A2D4928C31" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest and other payments on debt payment obligations (1)</link:label>
    <link:label id="lab_ubnt_InterestandOtherPaymentsonDebtObligationsAbstract_B40B4895CBB35CA1B2AF82A2D4928C31_label_en-US" xlink:label="lab_ubnt_InterestandOtherPaymentsonDebtObligationsAbstract_B40B4895CBB35CA1B2AF82A2D4928C31" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest and Other Payments on Debt Obligations [Abstract]</link:label>
    <link:label id="lab_ubnt_InterestandOtherPaymentsonDebtObligationsAbstract_B40B4895CBB35CA1B2AF82A2D4928C31_documentation_en-US" xlink:label="lab_ubnt_InterestandOtherPaymentsonDebtObligationsAbstract_B40B4895CBB35CA1B2AF82A2D4928C31" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Interest and Other Payments on Debt Obligations [Abstract]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_InterestandOtherPaymentsonDebtObligationsAbstract" xlink:label="loc_ubnt_InterestandOtherPaymentsonDebtObligationsAbstract_B40B4895CBB35CA1B2AF82A2D4928C31" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_InterestandOtherPaymentsonDebtObligationsAbstract_B40B4895CBB35CA1B2AF82A2D4928C31" xlink:to="lab_ubnt_InterestandOtherPaymentsonDebtObligationsAbstract_B40B4895CBB35CA1B2AF82A2D4928C31" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_45DABC893BA68FDE49CC82A2D492DAD6_verboseLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_45DABC893BA68FDE49CC82A2D492DAD6" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Interest and other payments on debt payment obligations, 2019 (remainder)</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_45DABC893BA68FDE49CC82A2D492DAD6_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_45DABC893BA68FDE49CC82A2D492DAD6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments Remainder Of Fiscal Year</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_45DABC893BA68FDE49CC82A2D492DAD6_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_45DABC893BA68FDE49CC82A2D492DAD6" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments Remainder Of Fiscal Year</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_45DABC893BA68FDE49CC82A2D492DAD6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_45DABC893BA68FDE49CC82A2D492DAD6" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_45DABC893BA68FDE49CC82A2D492DAD6" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_2813313FB15D0DCC440F82A2D4923472_terseLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_2813313FB15D0DCC440F82A2D4923472" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest and other payments on debt payment obligations, 2020</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_2813313FB15D0DCC440F82A2D4923472_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_2813313FB15D0DCC440F82A2D4923472" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments In Year Two</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_2813313FB15D0DCC440F82A2D4923472_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_2813313FB15D0DCC440F82A2D4923472" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments In Year Two</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_2813313FB15D0DCC440F82A2D4923472" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_2813313FB15D0DCC440F82A2D4923472" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_2813313FB15D0DCC440F82A2D4923472" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_20D8F84A216F84EE578482A2D492DC59_terseLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_20D8F84A216F84EE578482A2D492DC59" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest and other payments on debt payment obligations, 2021</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_20D8F84A216F84EE578482A2D492DC59_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_20D8F84A216F84EE578482A2D492DC59" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments In Year Three</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_20D8F84A216F84EE578482A2D492DC59_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_20D8F84A216F84EE578482A2D492DC59" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments In Year Three</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_20D8F84A216F84EE578482A2D492DC59" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_20D8F84A216F84EE578482A2D492DC59" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_20D8F84A216F84EE578482A2D492DC59" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_C63CE7233DC9F01A5AC682A2D49313E6_terseLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_C63CE7233DC9F01A5AC682A2D49313E6" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest and other payments on debt payment obligations, 2022</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_C63CE7233DC9F01A5AC682A2D49313E6_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_C63CE7233DC9F01A5AC682A2D49313E6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments In Year Four</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_C63CE7233DC9F01A5AC682A2D49313E6_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_C63CE7233DC9F01A5AC682A2D49313E6" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments In Year Four</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_C63CE7233DC9F01A5AC682A2D49313E6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_C63CE7233DC9F01A5AC682A2D49313E6" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_C63CE7233DC9F01A5AC682A2D49313E6" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_10D6D2A3524113C941AD82A2D4935D32_terseLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_10D6D2A3524113C941AD82A2D4935D32" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest and other payments on debt payment obligations, 2023</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_10D6D2A3524113C941AD82A2D4935D32_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_10D6D2A3524113C941AD82A2D4935D32" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments In Year Five</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_10D6D2A3524113C941AD82A2D4935D32_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_10D6D2A3524113C941AD82A2D4935D32" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments In Year Five</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_10D6D2A3524113C941AD82A2D4935D32" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_10D6D2A3524113C941AD82A2D4935D32" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_10D6D2A3524113C941AD82A2D4935D32" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_F9635B958E81A19DF95782A2D4938159_terseLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_F9635B958E81A19DF95782A2D4938159" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest and other payments on debt payment obligations, thereafter</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_F9635B958E81A19DF95782A2D4938159_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_F9635B958E81A19DF95782A2D4938159" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments After Year Five</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_F9635B958E81A19DF95782A2D4938159_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_F9635B958E81A19DF95782A2D4938159" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments After Year Five</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_F9635B958E81A19DF95782A2D4938159" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_F9635B958E81A19DF95782A2D4938159" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_F9635B958E81A19DF95782A2D4938159" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_4C8A45D0D8EA0B8C288F82A2D493A772_totalLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_4C8A45D0D8EA0B8C288F82A2D493A772" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Interest and other payments on debt payment obligations, total</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_4C8A45D0D8EA0B8C288F82A2D493A772_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_4C8A45D0D8EA0B8C288F82A2D493A772" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_4C8A45D0D8EA0B8C288F82A2D493A772_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_4C8A45D0D8EA0B8C288F82A2D493A772" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Interest And Other Payments</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_4C8A45D0D8EA0B8C288F82A2D493A772" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_4C8A45D0D8EA0B8C288F82A2D493A772" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_4C8A45D0D8EA0B8C288F82A2D493A772" xlink:type="arc" />
    <link:label id="lab_ubnt_TotalDebtAbstract_2605E037BD137B144B6982A2D4941CD3_terseLabel_en-US" xlink:label="lab_ubnt_TotalDebtAbstract_2605E037BD137B144B6982A2D4941CD3" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total</link:label>
    <link:label id="lab_ubnt_TotalDebtAbstract_2605E037BD137B144B6982A2D4941CD3_label_en-US" xlink:label="lab_ubnt_TotalDebtAbstract_2605E037BD137B144B6982A2D4941CD3" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Total Debt [Abstract]</link:label>
    <link:label id="lab_ubnt_TotalDebtAbstract_2605E037BD137B144B6982A2D4941CD3_documentation_en-US" xlink:label="lab_ubnt_TotalDebtAbstract_2605E037BD137B144B6982A2D4941CD3" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Total Debt [Abstract]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_TotalDebtAbstract" xlink:label="loc_ubnt_TotalDebtAbstract_2605E037BD137B144B6982A2D4941CD3" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_TotalDebtAbstract_2605E037BD137B144B6982A2D4941CD3" xlink:to="lab_ubnt_TotalDebtAbstract_2605E037BD137B144B6982A2D4941CD3" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_D9618D7E679225E9E23F82A2D4945F8D_totalLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_D9618D7E679225E9E23F82A2D4945F8D" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Debt and interest payment obligations, 2018 (remainder)</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_D9618D7E679225E9E23F82A2D4945F8D_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_D9618D7E679225E9E23F82A2D4945F8D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments Remainder Of Fiscal Year</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_D9618D7E679225E9E23F82A2D4945F8D_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_D9618D7E679225E9E23F82A2D4945F8D" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments Remainder Of Fiscal Year</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_D9618D7E679225E9E23F82A2D4945F8D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_D9618D7E679225E9E23F82A2D4945F8D" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_D9618D7E679225E9E23F82A2D4945F8D" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_701583CB0ADF4E084D9582A2D4942EBC_totalLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_701583CB0ADF4E084D9582A2D4942EBC" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Debt and interest payment obligations, 2019</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_701583CB0ADF4E084D9582A2D4942EBC_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_701583CB0ADF4E084D9582A2D4942EBC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments In Year Two</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_701583CB0ADF4E084D9582A2D4942EBC_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_701583CB0ADF4E084D9582A2D4942EBC" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments In Year Two</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_701583CB0ADF4E084D9582A2D4942EBC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_701583CB0ADF4E084D9582A2D4942EBC" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_701583CB0ADF4E084D9582A2D4942EBC" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_7CF4B44D6AF409A0CBA482A2D494F766_totalLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_7CF4B44D6AF409A0CBA482A2D494F766" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Debt and interest payment obligations, 2020</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_7CF4B44D6AF409A0CBA482A2D494F766_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_7CF4B44D6AF409A0CBA482A2D494F766" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments In Year Three</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_7CF4B44D6AF409A0CBA482A2D494F766_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_7CF4B44D6AF409A0CBA482A2D494F766" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments In Year Three</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_7CF4B44D6AF409A0CBA482A2D494F766" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_7CF4B44D6AF409A0CBA482A2D494F766" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_7CF4B44D6AF409A0CBA482A2D494F766" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_8A6925495AD6E1E8418482A2D494EF42_totalLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_8A6925495AD6E1E8418482A2D494EF42" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Debt and interest payment obligations, 2021</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_8A6925495AD6E1E8418482A2D494EF42_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_8A6925495AD6E1E8418482A2D494EF42" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments In Year Four</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_8A6925495AD6E1E8418482A2D494EF42_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_8A6925495AD6E1E8418482A2D494EF42" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments In Year Four</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_8A6925495AD6E1E8418482A2D494EF42" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_8A6925495AD6E1E8418482A2D494EF42" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_8A6925495AD6E1E8418482A2D494EF42" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_B4294B80C01243E488E482A2D495E1CB_totalLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_B4294B80C01243E488E482A2D495E1CB" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Debt and interest payment obligations, 2022</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_B4294B80C01243E488E482A2D495E1CB_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_B4294B80C01243E488E482A2D495E1CB" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments In Year Five</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_B4294B80C01243E488E482A2D495E1CB_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_B4294B80C01243E488E482A2D495E1CB" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments In Year Five</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_B4294B80C01243E488E482A2D495E1CB" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_B4294B80C01243E488E482A2D495E1CB" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_B4294B80C01243E488E482A2D495E1CB" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_49E0D4D4A53DBBB3968D82A2D495D3B0_totalLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_49E0D4D4A53DBBB3968D82A2D495D3B0" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Debt and interest payment obligations, thereafter</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_49E0D4D4A53DBBB3968D82A2D495D3B0_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_49E0D4D4A53DBBB3968D82A2D495D3B0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments After Year Five</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_49E0D4D4A53DBBB3968D82A2D495D3B0_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_49E0D4D4A53DBBB3968D82A2D495D3B0" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments After Year Five</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_49E0D4D4A53DBBB3968D82A2D495D3B0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_49E0D4D4A53DBBB3968D82A2D495D3B0" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_49E0D4D4A53DBBB3968D82A2D495D3B0" xlink:type="arc" />
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_1C40D53A9BF68538D6B482A2D4950F75_totalLabel_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_1C40D53A9BF68538D6B482A2D4950F75" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Debt and interest payment obligations, total</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_1C40D53A9BF68538D6B482A2D4950F75_label_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_1C40D53A9BF68538D6B482A2D4950F75" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments</link:label>
    <link:label id="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_1C40D53A9BF68538D6B482A2D4950F75_documentation_en-US" xlink:label="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_1C40D53A9BF68538D6B482A2D4950F75" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long Term Debt Maturities Repayments Of Principal And Interest And Other Payments</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_1C40D53A9BF68538D6B482A2D4950F75" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_1C40D53A9BF68538D6B482A2D4950F75" xlink:to="lab_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_1C40D53A9BF68538D6B482A2D4950F75" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShortTermBorrowings_57C6A2D9C2A40B12E23AD6219A142850_terseLabel_en-US" xlink:label="lab_us-gaap_ShortTermBorrowings_57C6A2D9C2A40B12E23AD6219A142850" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt &#8212; short-term</link:label>
    <link:label id="lab_us-gaap_ShortTermBorrowings_57C6A2D9C2A40B12E23AD6219A142850_label_en-US" xlink:label="lab_us-gaap_ShortTermBorrowings_57C6A2D9C2A40B12E23AD6219A142850" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Short-term Debt</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_57C6A2D9C2A40B12E23AD6219A142850" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermBorrowings_57C6A2D9C2A40B12E23AD6219A142850" xlink:to="lab_us-gaap_ShortTermBorrowings_57C6A2D9C2A40B12E23AD6219A142850" xlink:type="arc" />
    <link:label id="lab_us-gaap_DeferredFinanceCostsCurrentNet_01BD4A92890B57EAF83AD6219A1550BB_negatedLabel_en-US" xlink:label="lab_us-gaap_DeferredFinanceCostsCurrentNet_01BD4A92890B57EAF83AD6219A1550BB" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Debt issuance costs, net</link:label>
    <link:label id="lab_us-gaap_DeferredFinanceCostsCurrentNet_01BD4A92890B57EAF83AD6219A1550BB_label_en-US" xlink:label="lab_us-gaap_DeferredFinanceCostsCurrentNet_01BD4A92890B57EAF83AD6219A1550BB" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Issuance Costs, Current, Net</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredFinanceCostsCurrentNet" xlink:label="loc_us-gaap_DeferredFinanceCostsCurrentNet_01BD4A92890B57EAF83AD6219A1550BB" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredFinanceCostsCurrentNet_01BD4A92890B57EAF83AD6219A1550BB" xlink:to="lab_us-gaap_DeferredFinanceCostsCurrentNet_01BD4A92890B57EAF83AD6219A1550BB" xlink:type="arc" />
    <link:label id="lab_us-gaap_LongTermDebtNoncurrent_775AB78C6F28F133CEF3D6219A15E809_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtNoncurrent_775AB78C6F28F133CEF3D6219A15E809" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt &#8212; long-term</link:label>
    <link:label id="lab_us-gaap_LongTermDebtNoncurrent_775AB78C6F28F133CEF3D6219A15E809_label_en-US" xlink:label="lab_us-gaap_LongTermDebtNoncurrent_775AB78C6F28F133CEF3D6219A15E809" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-term Debt, Excluding Current Maturities</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_775AB78C6F28F133CEF3D6219A15E809" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtNoncurrent_775AB78C6F28F133CEF3D6219A15E809" xlink:to="lab_us-gaap_LongTermDebtNoncurrent_775AB78C6F28F133CEF3D6219A15E809" xlink:type="arc" />
    <link:label id="lab_us-gaap_DeferredFinanceCostsNoncurrentNet_71C360DB221142481A75D6219A15946B_negatedLabel_en-US" xlink:label="lab_us-gaap_DeferredFinanceCostsNoncurrentNet_71C360DB221142481A75D6219A15946B" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Debt issuance costs, net</link:label>
    <link:label id="lab_us-gaap_DeferredFinanceCostsNoncurrentNet_71C360DB221142481A75D6219A15946B_label_en-US" xlink:label="lab_us-gaap_DeferredFinanceCostsNoncurrentNet_71C360DB221142481A75D6219A15946B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Issuance Costs, Noncurrent, Net</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredFinanceCostsNoncurrentNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNoncurrentNet_71C360DB221142481A75D6219A15946B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredFinanceCostsNoncurrentNet_71C360DB221142481A75D6219A15946B" xlink:to="lab_us-gaap_DeferredFinanceCostsNoncurrentNet_71C360DB221142481A75D6219A15946B" xlink:type="arc" />
    <link:label id="lab_us-gaap_StatementOfFinancialPositionAbstract_854ED1560188FBF03F351CBF86B53469_label_en-US" xlink:label="lab_us-gaap_StatementOfFinancialPositionAbstract_854ED1560188FBF03F351CBF86B53469" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statement of Financial Position [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract_854ED1560188FBF03F351CBF86B53469" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract_854ED1560188FBF03F351CBF86B53469" xlink:to="lab_us-gaap_StatementOfFinancialPositionAbstract_854ED1560188FBF03F351CBF86B53469" xlink:type="arc" />
    <link:label id="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_773C0B3DC3C8B704A3CE1CBF86B5165D_terseLabel_en-US" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_773C0B3DC3C8B704A3CE1CBF86B5165D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Allowance for doubtful accounts receivable</link:label>
    <link:label id="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_773C0B3DC3C8B704A3CE1CBF86B5165D_label_en-US" xlink:label="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_773C0B3DC3C8B704A3CE1CBF86B5165D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Allowance for Doubtful Accounts Receivable, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_773C0B3DC3C8B704A3CE1CBF86B5165D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_773C0B3DC3C8B704A3CE1CBF86B5165D" xlink:to="lab_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_773C0B3DC3C8B704A3CE1CBF86B5165D" xlink:type="arc" />
    <link:label id="lab_us-gaap_PreferredStockParOrStatedValuePerShare_86285EA21D3275119DD21CBF86B51461_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockParOrStatedValuePerShare_86285EA21D3275119DD21CBF86B51461" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, par value (in dollars per share)</link:label>
    <link:label id="lab_us-gaap_PreferredStockParOrStatedValuePerShare_86285EA21D3275119DD21CBF86B51461_label_en-US" xlink:label="lab_us-gaap_PreferredStockParOrStatedValuePerShare_86285EA21D3275119DD21CBF86B51461" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Par or Stated Value Per Share</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_86285EA21D3275119DD21CBF86B51461" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockParOrStatedValuePerShare_86285EA21D3275119DD21CBF86B51461" xlink:to="lab_us-gaap_PreferredStockParOrStatedValuePerShare_86285EA21D3275119DD21CBF86B51461" xlink:type="arc" />
    <link:label id="lab_us-gaap_PreferredStockSharesAuthorized_9895C4A6AED1744B5B321CBF86B57EFE_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockSharesAuthorized_9895C4A6AED1744B5B321CBF86B57EFE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, shares authorized (in shares)</link:label>
    <link:label id="lab_us-gaap_PreferredStockSharesAuthorized_9895C4A6AED1744B5B321CBF86B57EFE_label_en-US" xlink:label="lab_us-gaap_PreferredStockSharesAuthorized_9895C4A6AED1744B5B321CBF86B57EFE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Shares Authorized</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_9895C4A6AED1744B5B321CBF86B57EFE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockSharesAuthorized_9895C4A6AED1744B5B321CBF86B57EFE" xlink:to="lab_us-gaap_PreferredStockSharesAuthorized_9895C4A6AED1744B5B321CBF86B57EFE" xlink:type="arc" />
    <link:label id="lab_us-gaap_PreferredStockSharesIssued_783836F13377B2FB3A441CBF86B688DE_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockSharesIssued_783836F13377B2FB3A441CBF86B688DE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, shares issued (in shares)</link:label>
    <link:label id="lab_us-gaap_PreferredStockSharesIssued_783836F13377B2FB3A441CBF86B688DE_label_en-US" xlink:label="lab_us-gaap_PreferredStockSharesIssued_783836F13377B2FB3A441CBF86B688DE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Shares Issued</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_783836F13377B2FB3A441CBF86B688DE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockSharesIssued_783836F13377B2FB3A441CBF86B688DE" xlink:to="lab_us-gaap_PreferredStockSharesIssued_783836F13377B2FB3A441CBF86B688DE" xlink:type="arc" />
    <link:label id="lab_us-gaap_CommonStockParOrStatedValuePerShare_E02A9FCC17763808ABB21CBF86B6F57A_terseLabel_en-US" xlink:label="lab_us-gaap_CommonStockParOrStatedValuePerShare_E02A9FCC17763808ABB21CBF86B6F57A" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common stock, par value (in dollars per share)</link:label>
    <link:label id="lab_us-gaap_CommonStockParOrStatedValuePerShare_E02A9FCC17763808ABB21CBF86B6F57A_label_en-US" xlink:label="lab_us-gaap_CommonStockParOrStatedValuePerShare_E02A9FCC17763808ABB21CBF86B6F57A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Stock, Par or Stated Value Per Share</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_E02A9FCC17763808ABB21CBF86B6F57A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockParOrStatedValuePerShare_E02A9FCC17763808ABB21CBF86B6F57A" xlink:to="lab_us-gaap_CommonStockParOrStatedValuePerShare_E02A9FCC17763808ABB21CBF86B6F57A" xlink:type="arc" />
    <link:label id="lab_us-gaap_CommonStockSharesAuthorized_23A3E0449AC7D02539DC1CBF86B678FF_terseLabel_en-US" xlink:label="lab_us-gaap_CommonStockSharesAuthorized_23A3E0449AC7D02539DC1CBF86B678FF" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common stock, shares authorized (in shares)</link:label>
    <link:label id="lab_us-gaap_CommonStockSharesAuthorized_23A3E0449AC7D02539DC1CBF86B678FF_label_en-US" xlink:label="lab_us-gaap_CommonStockSharesAuthorized_23A3E0449AC7D02539DC1CBF86B678FF" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Stock, Shares Authorized</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_23A3E0449AC7D02539DC1CBF86B678FF" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockSharesAuthorized_23A3E0449AC7D02539DC1CBF86B678FF" xlink:to="lab_us-gaap_CommonStockSharesAuthorized_23A3E0449AC7D02539DC1CBF86B678FF" xlink:type="arc" />
    <link:label id="lab_us-gaap_CommonStockSharesOutstanding_1C194D659B647EC658341CBF86B63186_terseLabel_en-US" xlink:label="lab_us-gaap_CommonStockSharesOutstanding_1C194D659B647EC658341CBF86B63186" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common stock, shares outstanding (in shares)</link:label>
    <link:label id="lab_us-gaap_CommonStockSharesOutstanding_1C194D659B647EC658341CBF86B63186_label_en-US" xlink:label="lab_us-gaap_CommonStockSharesOutstanding_1C194D659B647EC658341CBF86B63186" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Stock, Shares, Outstanding</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_1C194D659B647EC658341CBF86B63186" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockSharesOutstanding_1C194D659B647EC658341CBF86B63186" xlink:to="lab_us-gaap_CommonStockSharesOutstanding_1C194D659B647EC658341CBF86B63186" xlink:type="arc" />
    <link:label id="lab_us-gaap_EarningsPerShareAbstract_1BF8AD5DE72AB30230CD1CBF86AF53BB_label_en-US" xlink:label="lab_us-gaap_EarningsPerShareAbstract_1BF8AD5DE72AB30230CD1CBF86AF53BB" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Earnings Per Share [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_1BF8AD5DE72AB30230CD1CBF86AF53BB" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareAbstract_1BF8AD5DE72AB30230CD1CBF86AF53BB" xlink:to="lab_us-gaap_EarningsPerShareAbstract_1BF8AD5DE72AB30230CD1CBF86AF53BB" xlink:type="arc" />
    <link:label id="lab_us-gaap_EarningsPerShareTextBlock_F9F20BD6FA35A530EC361CBF86B0A776_terseLabel_en-US" xlink:label="lab_us-gaap_EarningsPerShareTextBlock_F9F20BD6FA35A530EC361CBF86B0A776" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">EARNINGS PER SHARE</link:label>
    <link:label id="lab_us-gaap_EarningsPerShareTextBlock_F9F20BD6FA35A530EC361CBF86B0A776_label_en-US" xlink:label="lab_us-gaap_EarningsPerShareTextBlock_F9F20BD6FA35A530EC361CBF86B0A776" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Earnings Per Share [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareTextBlock" xlink:label="loc_us-gaap_EarningsPerShareTextBlock_F9F20BD6FA35A530EC361CBF86B0A776" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareTextBlock_F9F20BD6FA35A530EC361CBF86B0A776" xlink:to="lab_us-gaap_EarningsPerShareTextBlock_F9F20BD6FA35A530EC361CBF86B0A776" xlink:type="arc" />
    <link:label id="lab_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_BCAA377A351BED0B5858D62199A0455D_label_en-US" xlink:label="lab_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_BCAA377A351BED0B5858D62199A0455D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Disclosure of Compensation Related Costs, Share-based Payments [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_BCAA377A351BED0B5858D62199A0455D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_BCAA377A351BED0B5858D62199A0455D" xlink:to="lab_us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract_BCAA377A351BED0B5858D62199A0455D" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_5E588578BBB3369BC9F1D62199A0668B_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_5E588578BBB3369BC9F1D62199A0668B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Number of Shares</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_5E588578BBB3369BC9F1D62199A0668B_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_5E588578BBB3369BC9F1D62199A0668B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_5E588578BBB3369BC9F1D62199A0668B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_5E588578BBB3369BC9F1D62199A0668B" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_5E588578BBB3369BC9F1D62199A0668B" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_E50BEB732EE4C4A2E8D7D62199A18528_periodStartLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_E50BEB732EE4C4A2E8D7D62199A18528" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:type="resource" xml:lang="en-US">Beginning balance (in shares)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_E50BEB732EE4C4A2E8D7D62199A18528_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_E50BEB732EE4C4A2E8D7D62199A18528" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_E50BEB732EE4C4A2E8D7D62199A18528" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_E50BEB732EE4C4A2E8D7D62199A18528" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_E50BEB732EE4C4A2E8D7D62199A18528" xlink:type="arc" />
    <link:label id="lab_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_920B0FFDF6AAB0FAF662D62199A137F6_negatedLabel_en-US" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_920B0FFDF6AAB0FAF662D62199A137F6" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Exercised (in shares)</link:label>
    <link:label id="lab_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_920B0FFDF6AAB0FAF662D62199A137F6_label_en-US" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_920B0FFDF6AAB0FAF662D62199A137F6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_920B0FFDF6AAB0FAF662D62199A137F6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_920B0FFDF6AAB0FAF662D62199A137F6" xlink:to="lab_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_920B0FFDF6AAB0FAF662D62199A137F6" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_C348413E2706ED5B3299D62B0E9D3D2D_negatedLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_C348413E2706ED5B3299D62B0E9D3D2D" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Forfeitures and cancellations (in shares)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_C348413E2706ED5B3299D62B0E9D3D2D_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_C348413E2706ED5B3299D62B0E9D3D2D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_C348413E2706ED5B3299D62B0E9D3D2D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_C348413E2706ED5B3299D62B0E9D3D2D" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_C348413E2706ED5B3299D62B0E9D3D2D" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_59A5888614DF5C3B7209D62199A1BA85_periodEndLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_59A5888614DF5C3B7209D62199A1BA85" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:type="resource" xml:lang="en-US">Ending balance (in shares)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_59A5888614DF5C3B7209D62199A1BA85" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_59A5888614DF5C3B7209D62199A1BA85" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_59A5888614DF5C3B7209D62199A1BA85" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_538BA18F2F75942D4CA9D62199A1AB2C_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_538BA18F2F75942D4CA9D62199A1AB2C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Number of shares, vested, ending balance (in shares)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_538BA18F2F75942D4CA9D62199A1AB2C_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_538BA18F2F75942D4CA9D62199A1AB2C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Number</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_538BA18F2F75942D4CA9D62199A1AB2C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_538BA18F2F75942D4CA9D62199A1AB2C" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_538BA18F2F75942D4CA9D62199A1AB2C" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_43662FE89524EE0477F5D62199A21E40_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_43662FE89524EE0477F5D62199A21E40" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Number of shares, vested and exercisable, ending balance (in shares)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_43662FE89524EE0477F5D62199A21E40_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_43662FE89524EE0477F5D62199A21E40" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Number</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_43662FE89524EE0477F5D62199A21E40" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_43662FE89524EE0477F5D62199A21E40" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber_43662FE89524EE0477F5D62199A21E40" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_1AE6A779340DCFEA3E18D62199A2FEFA_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_1AE6A779340DCFEA3E18D62199A2FEFA" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Weighted Average Exercise Price</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_1AE6A779340DCFEA3E18D62199A2FEFA_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_1AE6A779340DCFEA3E18D62199A2FEFA" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_1AE6A779340DCFEA3E18D62199A2FEFA" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_1AE6A779340DCFEA3E18D62199A2FEFA" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_1AE6A779340DCFEA3E18D62199A2FEFA" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_3085284722F5C430AE8ED62199A27594_periodStartLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_3085284722F5C430AE8ED62199A27594" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:type="resource" xml:lang="en-US">Beginning balance (in usd per share)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_3085284722F5C430AE8ED62199A27594_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_3085284722F5C430AE8ED62199A27594" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_3085284722F5C430AE8ED62199A27594" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_3085284722F5C430AE8ED62199A27594" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_3085284722F5C430AE8ED62199A27594" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_99FFF8171AB682FAE2DFD62199A3420F_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_99FFF8171AB682FAE2DFD62199A3420F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Exercised (in usd per share)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_99FFF8171AB682FAE2DFD62199A3420F_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_99FFF8171AB682FAE2DFD62199A3420F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_99FFF8171AB682FAE2DFD62199A3420F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_99FFF8171AB682FAE2DFD62199A3420F" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_99FFF8171AB682FAE2DFD62199A3420F" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_C7C9E8D7FE6EED10DD90D62C65479D87_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_C7C9E8D7FE6EED10DD90D62C65479D87" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Forfeitures and cancellations (in usd per share)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_C7C9E8D7FE6EED10DD90D62C65479D87_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_C7C9E8D7FE6EED10DD90D62C65479D87" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period, Weighted Average Exercise Price</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_C7C9E8D7FE6EED10DD90D62C65479D87" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_C7C9E8D7FE6EED10DD90D62C65479D87" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_C7C9E8D7FE6EED10DD90D62C65479D87" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_70E16EAA66F957B92A77D62199A3BB3D_periodEndLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_70E16EAA66F957B92A77D62199A3BB3D" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:type="resource" xml:lang="en-US">Ending balance (in usd per share)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_70E16EAA66F957B92A77D62199A3BB3D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_70E16EAA66F957B92A77D62199A3BB3D" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_70E16EAA66F957B92A77D62199A3BB3D" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_07B09038708132FC633AD62199A34BED_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_07B09038708132FC633AD62199A34BED" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Options, weighted average exercise price, vested, ending balance (in usd per share)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_07B09038708132FC633AD62199A34BED_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_07B09038708132FC633AD62199A34BED" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Exercise Price</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_07B09038708132FC633AD62199A34BED" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_07B09038708132FC633AD62199A34BED" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_07B09038708132FC633AD62199A34BED" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice_939AB5F4A49A47ACB637D62199A39825_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice_939AB5F4A49A47ACB637D62199A39825" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Options, weighted average exercise price, vested and exercisable, ending balance (in usd per share)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice_939AB5F4A49A47ACB637D62199A39825_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice_939AB5F4A49A47ACB637D62199A39825" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Weighted Average Exercise Price</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice_939AB5F4A49A47ACB637D62199A39825" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice_939AB5F4A49A47ACB637D62199A39825" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice_939AB5F4A49A47ACB637D62199A39825" xlink:type="arc" />
    <link:label id="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_C3DC2C26147B8B8DFDADD62199A3472F_terseLabel_en-US" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_C3DC2C26147B8B8DFDADD62199A3472F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Options outstanding, weighted average remaining contractual term, ending balance (in years)</link:label>
    <link:label id="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_C3DC2C26147B8B8DFDADD62199A3472F_label_en-US" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_C3DC2C26147B8B8DFDADD62199A3472F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_C3DC2C26147B8B8DFDADD62199A3472F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_C3DC2C26147B8B8DFDADD62199A3472F" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_C3DC2C26147B8B8DFDADD62199A3472F" xlink:type="arc" />
    <link:label id="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_2263B58BDF26EBAB2D01D62199A4C3FF_terseLabel_en-US" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_2263B58BDF26EBAB2D01D62199A4C3FF" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Options, remaining contractual term, vested, ending balance (in years)</link:label>
    <link:label id="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_2263B58BDF26EBAB2D01D62199A4C3FF_label_en-US" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_2263B58BDF26EBAB2D01D62199A4C3FF" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Weighted Average Remaining Contractual Term</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_2263B58BDF26EBAB2D01D62199A4C3FF" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_2263B58BDF26EBAB2D01D62199A4C3FF" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_2263B58BDF26EBAB2D01D62199A4C3FF" xlink:type="arc" />
    <link:label id="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1_460FADBF7767BB7D59E3D62199A4C460_terseLabel_en-US" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1_460FADBF7767BB7D59E3D62199A4C460" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Options, weighted average remaining contractual term, vested and exercisable, ending balance (in years)</link:label>
    <link:label id="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1_460FADBF7767BB7D59E3D62199A4C460_label_en-US" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1_460FADBF7767BB7D59E3D62199A4C460" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Weighted Average Remaining Contractual Term</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1_460FADBF7767BB7D59E3D62199A4C460" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1_460FADBF7767BB7D59E3D62199A4C460" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1_460FADBF7767BB7D59E3D62199A4C460" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_E23697D4A0EFFBDE86D9D62199A4E1CF_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_E23697D4A0EFFBDE86D9D62199A4E1CF" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Options outstanding, aggregate intrinsic value, ending balance</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_E23697D4A0EFFBDE86D9D62199A4E1CF_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_E23697D4A0EFFBDE86D9D62199A4E1CF" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_E23697D4A0EFFBDE86D9D62199A4E1CF" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_E23697D4A0EFFBDE86D9D62199A4E1CF" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_E23697D4A0EFFBDE86D9D62199A4E1CF" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_18A43CB1ED36D019013DD62199A42CD1_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_18A43CB1ED36D019013DD62199A42CD1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Options, aggregate intrinsic value, vested, ending balance</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_18A43CB1ED36D019013DD62199A42CD1_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_18A43CB1ED36D019013DD62199A42CD1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Outstanding, Aggregate Intrinsic Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_18A43CB1ED36D019013DD62199A42CD1" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_18A43CB1ED36D019013DD62199A42CD1" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue_18A43CB1ED36D019013DD62199A42CD1" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue_7ABB3028B869C00828B1D62199A453C3_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue_7ABB3028B869C00828B1D62199A453C3" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Options, aggregate intrinsic value, vested and exercisable, ending balance</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue_7ABB3028B869C00828B1D62199A453C3_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue_7ABB3028B869C00828B1D62199A453C3" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Aggregate Intrinsic Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue_7ABB3028B869C00828B1D62199A453C3" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue_7ABB3028B869C00828B1D62199A453C3" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue_7ABB3028B869C00828B1D62199A453C3" xlink:type="arc" />
    <link:label id="lab_ubnt_DocumentAndEntityInformationAbstract_E8703095079D24C894FEE9FFDA30EBC0_label_en-US" xlink:label="lab_ubnt_DocumentAndEntityInformationAbstract_E8703095079D24C894FEE9FFDA30EBC0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document and Entity Information [Abstract]</link:label>
    <link:label id="lab_ubnt_DocumentAndEntityInformationAbstract_E8703095079D24C894FEE9FFDA30EBC0_documentation_en-US" xlink:label="lab_ubnt_DocumentAndEntityInformationAbstract_E8703095079D24C894FEE9FFDA30EBC0" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Document and Entity Information [Abstract]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_DocumentAndEntityInformationAbstract" xlink:label="loc_ubnt_DocumentAndEntityInformationAbstract_E8703095079D24C894FEE9FFDA30EBC0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_DocumentAndEntityInformationAbstract_E8703095079D24C894FEE9FFDA30EBC0" xlink:to="lab_ubnt_DocumentAndEntityInformationAbstract_E8703095079D24C894FEE9FFDA30EBC0" xlink:type="arc" />
    <link:label id="lab_dei_DocumentType_AF0738AA72CC599AED15E9FFDA314645_terseLabel_en-US" xlink:label="lab_dei_DocumentType_AF0738AA72CC599AED15E9FFDA314645" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Type</link:label>
    <link:label id="lab_dei_DocumentType_AF0738AA72CC599AED15E9FFDA314645_label_en-US" xlink:label="lab_dei_DocumentType_AF0738AA72CC599AED15E9FFDA314645" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Type</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_AF0738AA72CC599AED15E9FFDA314645" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentType_AF0738AA72CC599AED15E9FFDA314645" xlink:to="lab_dei_DocumentType_AF0738AA72CC599AED15E9FFDA314645" xlink:type="arc" />
    <link:label id="lab_dei_AmendmentFlag_429EB76EBB4D33822971E9FFDA3158DA_terseLabel_en-US" xlink:label="lab_dei_AmendmentFlag_429EB76EBB4D33822971E9FFDA3158DA" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Amendment Flag</link:label>
    <link:label id="lab_dei_AmendmentFlag_429EB76EBB4D33822971E9FFDA3158DA_label_en-US" xlink:label="lab_dei_AmendmentFlag_429EB76EBB4D33822971E9FFDA3158DA" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Amendment Flag</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_429EB76EBB4D33822971E9FFDA3158DA" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AmendmentFlag_429EB76EBB4D33822971E9FFDA3158DA" xlink:to="lab_dei_AmendmentFlag_429EB76EBB4D33822971E9FFDA3158DA" xlink:type="arc" />
    <link:label id="lab_dei_DocumentPeriodEndDate_6F22AFA7606C26C35D89E9FFDA317038_terseLabel_en-US" xlink:label="lab_dei_DocumentPeriodEndDate_6F22AFA7606C26C35D89E9FFDA317038" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Period End Focus</link:label>
    <link:label id="lab_dei_DocumentPeriodEndDate_6F22AFA7606C26C35D89E9FFDA317038_label_en-US" xlink:label="lab_dei_DocumentPeriodEndDate_6F22AFA7606C26C35D89E9FFDA317038" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Period End Date</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_6F22AFA7606C26C35D89E9FFDA317038" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentPeriodEndDate_6F22AFA7606C26C35D89E9FFDA317038" xlink:to="lab_dei_DocumentPeriodEndDate_6F22AFA7606C26C35D89E9FFDA317038" xlink:type="arc" />
    <link:label id="lab_dei_DocumentFiscalYearFocus_51F1D02B32194F2B91D5E9FFDA32929B_terseLabel_en-US" xlink:label="lab_dei_DocumentFiscalYearFocus_51F1D02B32194F2B91D5E9FFDA32929B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Fiscal Year Focus</link:label>
    <link:label id="lab_dei_DocumentFiscalYearFocus_51F1D02B32194F2B91D5E9FFDA32929B_label_en-US" xlink:label="lab_dei_DocumentFiscalYearFocus_51F1D02B32194F2B91D5E9FFDA32929B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Fiscal Year Focus</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_51F1D02B32194F2B91D5E9FFDA32929B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentFiscalYearFocus_51F1D02B32194F2B91D5E9FFDA32929B" xlink:to="lab_dei_DocumentFiscalYearFocus_51F1D02B32194F2B91D5E9FFDA32929B" xlink:type="arc" />
    <link:label id="lab_dei_DocumentFiscalPeriodFocus_C03BE3A6DE73930F813FE9FFDA324477_terseLabel_en-US" xlink:label="lab_dei_DocumentFiscalPeriodFocus_C03BE3A6DE73930F813FE9FFDA324477" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Fiscal Period Focus</link:label>
    <link:label id="lab_dei_DocumentFiscalPeriodFocus_C03BE3A6DE73930F813FE9FFDA324477_label_en-US" xlink:label="lab_dei_DocumentFiscalPeriodFocus_C03BE3A6DE73930F813FE9FFDA324477" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Fiscal Period Focus</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_C03BE3A6DE73930F813FE9FFDA324477" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentFiscalPeriodFocus_C03BE3A6DE73930F813FE9FFDA324477" xlink:to="lab_dei_DocumentFiscalPeriodFocus_C03BE3A6DE73930F813FE9FFDA324477" xlink:type="arc" />
    <link:label id="lab_dei_TradingSymbol_03B4C15239D3503B308EE9FFDA329B95_terseLabel_en-US" xlink:label="lab_dei_TradingSymbol_03B4C15239D3503B308EE9FFDA329B95" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Trading Symbol</link:label>
    <link:label id="lab_dei_TradingSymbol_03B4C15239D3503B308EE9FFDA329B95_label_en-US" xlink:label="lab_dei_TradingSymbol_03B4C15239D3503B308EE9FFDA329B95" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trading Symbol</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_TradingSymbol" xlink:label="loc_dei_TradingSymbol_03B4C15239D3503B308EE9FFDA329B95" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_TradingSymbol_03B4C15239D3503B308EE9FFDA329B95" xlink:to="lab_dei_TradingSymbol_03B4C15239D3503B308EE9FFDA329B95" xlink:type="arc" />
    <link:label id="lab_dei_EntityRegistrantName_8DC1F7A60D18271DE194E9FFDA328A16_terseLabel_en-US" xlink:label="lab_dei_EntityRegistrantName_8DC1F7A60D18271DE194E9FFDA328A16" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Registrant Name</link:label>
    <link:label id="lab_dei_EntityRegistrantName_8DC1F7A60D18271DE194E9FFDA328A16_label_en-US" xlink:label="lab_dei_EntityRegistrantName_8DC1F7A60D18271DE194E9FFDA328A16" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Registrant Name</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_8DC1F7A60D18271DE194E9FFDA328A16" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityRegistrantName_8DC1F7A60D18271DE194E9FFDA328A16" xlink:to="lab_dei_EntityRegistrantName_8DC1F7A60D18271DE194E9FFDA328A16" xlink:type="arc" />
    <link:label id="lab_dei_EntityCentralIndexKey_CEA82ADB171A4310F9A5E9FFDA32F864_terseLabel_en-US" xlink:label="lab_dei_EntityCentralIndexKey_CEA82ADB171A4310F9A5E9FFDA32F864" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Central Index Key</link:label>
    <link:label id="lab_dei_EntityCentralIndexKey_CEA82ADB171A4310F9A5E9FFDA32F864_label_en-US" xlink:label="lab_dei_EntityCentralIndexKey_CEA82ADB171A4310F9A5E9FFDA32F864" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Central Index Key</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_CEA82ADB171A4310F9A5E9FFDA32F864" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityCentralIndexKey_CEA82ADB171A4310F9A5E9FFDA32F864" xlink:to="lab_dei_EntityCentralIndexKey_CEA82ADB171A4310F9A5E9FFDA32F864" xlink:type="arc" />
    <link:label id="lab_dei_CurrentFiscalYearEndDate_26DA203419B40EF6954EE9FFDA32BF3A_terseLabel_en-US" xlink:label="lab_dei_CurrentFiscalYearEndDate_26DA203419B40EF6954EE9FFDA32BF3A" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Current Fiscal Year End Date</link:label>
    <link:label id="lab_dei_CurrentFiscalYearEndDate_26DA203419B40EF6954EE9FFDA32BF3A_label_en-US" xlink:label="lab_dei_CurrentFiscalYearEndDate_26DA203419B40EF6954EE9FFDA32BF3A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Current Fiscal Year End Date</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_26DA203419B40EF6954EE9FFDA32BF3A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_CurrentFiscalYearEndDate_26DA203419B40EF6954EE9FFDA32BF3A" xlink:to="lab_dei_CurrentFiscalYearEndDate_26DA203419B40EF6954EE9FFDA32BF3A" xlink:type="arc" />
    <link:label id="lab_dei_EntityFilerCategory_039A926A21892FBB2A85E9FFDA32C699_terseLabel_en-US" xlink:label="lab_dei_EntityFilerCategory_039A926A21892FBB2A85E9FFDA32C699" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Filer Category</link:label>
    <link:label id="lab_dei_EntityFilerCategory_039A926A21892FBB2A85E9FFDA32C699_label_en-US" xlink:label="lab_dei_EntityFilerCategory_039A926A21892FBB2A85E9FFDA32C699" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Filer Category</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory_039A926A21892FBB2A85E9FFDA32C699" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityFilerCategory_039A926A21892FBB2A85E9FFDA32C699" xlink:to="lab_dei_EntityFilerCategory_039A926A21892FBB2A85E9FFDA32C699" xlink:type="arc" />
    <link:label id="lab_dei_EntitySmallBusiness_221B35583EF6FD13AD49EA51EA34ECA5_terseLabel_en-US" xlink:label="lab_dei_EntitySmallBusiness_221B35583EF6FD13AD49EA51EA34ECA5" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Small Business</link:label>
    <link:label id="lab_dei_EntitySmallBusiness_221B35583EF6FD13AD49EA51EA34ECA5_label_en-US" xlink:label="lab_dei_EntitySmallBusiness_221B35583EF6FD13AD49EA51EA34ECA5" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Small Business</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntitySmallBusiness" xlink:label="loc_dei_EntitySmallBusiness_221B35583EF6FD13AD49EA51EA34ECA5" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntitySmallBusiness_221B35583EF6FD13AD49EA51EA34ECA5" xlink:to="lab_dei_EntitySmallBusiness_221B35583EF6FD13AD49EA51EA34ECA5" xlink:type="arc" />
    <link:label id="lab_dei_EntityEmergingGrowthCompany_9906F8EAAB92B5BF9BDEEA5517B8E891_terseLabel_en-US" xlink:label="lab_dei_EntityEmergingGrowthCompany_9906F8EAAB92B5BF9BDEEA5517B8E891" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Emerging Growth Company</link:label>
    <link:label id="lab_dei_EntityEmergingGrowthCompany_9906F8EAAB92B5BF9BDEEA5517B8E891_label_en-US" xlink:label="lab_dei_EntityEmergingGrowthCompany_9906F8EAAB92B5BF9BDEEA5517B8E891" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Emerging Growth Company</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityEmergingGrowthCompany" xlink:label="loc_dei_EntityEmergingGrowthCompany_9906F8EAAB92B5BF9BDEEA5517B8E891" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityEmergingGrowthCompany_9906F8EAAB92B5BF9BDEEA5517B8E891" xlink:to="lab_dei_EntityEmergingGrowthCompany_9906F8EAAB92B5BF9BDEEA5517B8E891" xlink:type="arc" />
    <link:label id="lab_dei_EntityCommonStockSharesOutstanding_AEE6384B6C1539D185D9E9FFDA33948B_terseLabel_en-US" xlink:label="lab_dei_EntityCommonStockSharesOutstanding_AEE6384B6C1539D185D9E9FFDA33948B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Common Stock, Shares Outstanding</link:label>
    <link:label id="lab_dei_EntityCommonStockSharesOutstanding_AEE6384B6C1539D185D9E9FFDA33948B_label_en-US" xlink:label="lab_dei_EntityCommonStockSharesOutstanding_AEE6384B6C1539D185D9E9FFDA33948B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Common Stock, Shares Outstanding</link:label>
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_AEE6384B6C1539D185D9E9FFDA33948B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityCommonStockSharesOutstanding_AEE6384B6C1539D185D9E9FFDA33948B" xlink:to="lab_dei_EntityCommonStockSharesOutstanding_AEE6384B6C1539D185D9E9FFDA33948B" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueDisclosuresAbstract_12B1524DAD9C66CF29B5EAC7CC2EB483_label_en-US" xlink:label="lab_us-gaap_FairValueDisclosuresAbstract_12B1524DAD9C66CF29B5EAC7CC2EB483" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Disclosures [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosuresAbstract" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract_12B1524DAD9C66CF29B5EAC7CC2EB483" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract_12B1524DAD9C66CF29B5EAC7CC2EB483" xlink:to="lab_us-gaap_FairValueDisclosuresAbstract_12B1524DAD9C66CF29B5EAC7CC2EB483" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_E4BB62122FC00C1F9565EAC7CC2F9DE0_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_E4BB62122FC00C1F9565EAC7CC2F9DE0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Loss Position [Abstract]</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_E4BB62122FC00C1F9565EAC7CC2F9DE0_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_E4BB62122FC00C1F9565EAC7CC2F9DE0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Loss Position [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_E4BB62122FC00C1F9565EAC7CC2F9DE0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_E4BB62122FC00C1F9565EAC7CC2F9DE0" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_E4BB62122FC00C1F9565EAC7CC2F9DE0" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_DADC61501DEEA9EA247BEAC7CC2F5A15_terseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_DADC61501DEEA9EA247BEAC7CC2F5A15" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair value of marketable securities, continuous unrealized losses, less than 12 months</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_DADC61501DEEA9EA247BEAC7CC2F5A15_label_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_DADC61501DEEA9EA247BEAC7CC2F5A15" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_DADC61501DEEA9EA247BEAC7CC2F5A15" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_DADC61501DEEA9EA247BEAC7CC2F5A15" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_DADC61501DEEA9EA247BEAC7CC2F5A15" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_17724945BBC5B5BD8FE4EAC7CC2FF5D5_terseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_17724945BBC5B5BD8FE4EAC7CC2FF5D5" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair value of marketable securities, continuous unrealized losses, 12 months or greater</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_17724945BBC5B5BD8FE4EAC7CC2FF5D5_label_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_17724945BBC5B5BD8FE4EAC7CC2FF5D5" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_17724945BBC5B5BD8FE4EAC7CC2FF5D5" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_17724945BBC5B5BD8FE4EAC7CC2FF5D5" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_17724945BBC5B5BD8FE4EAC7CC2FF5D5" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_AE66B066246F3D111C4BEAC7CC2F9FB4_terseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_AE66B066246F3D111C4BEAC7CC2F9FB4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair value of marketable securities, continuous unrealized losses</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_AE66B066246F3D111C4BEAC7CC2F9FB4_label_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_AE66B066246F3D111C4BEAC7CC2F9FB4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Loss Position</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_AE66B066246F3D111C4BEAC7CC2F9FB4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_AE66B066246F3D111C4BEAC7CC2F9FB4" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_AE66B066246F3D111C4BEAC7CC2F9FB4" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B28D2A11CA66118B690EEAC7CC2F4711_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B28D2A11CA66118B690EEAC7CC2F4711" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract]</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B28D2A11CA66118B690EEAC7CC2F4711_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B28D2A11CA66118B690EEAC7CC2F4711" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B28D2A11CA66118B690EEAC7CC2F4711" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B28D2A11CA66118B690EEAC7CC2F4711" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_B28D2A11CA66118B690EEAC7CC2F4711" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_7EC2FB6E983D5FDBADF6EAC7CC2FBE70_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_7EC2FB6E983D5FDBADF6EAC7CC2FBE70" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Unrealized loss, continuous unrealized losses, less than 12 months</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_7EC2FB6E983D5FDBADF6EAC7CC2FBE70_label_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_7EC2FB6E983D5FDBADF6EAC7CC2FBE70" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_7EC2FB6E983D5FDBADF6EAC7CC2FBE70" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_7EC2FB6E983D5FDBADF6EAC7CC2FBE70" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_7EC2FB6E983D5FDBADF6EAC7CC2FBE70" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_43622B52C2DA3EC4D688EAC7CC35CCA7_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_43622B52C2DA3EC4D688EAC7CC35CCA7" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Unrealized loss, continuous unrealized losses, 12 months or greater</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_43622B52C2DA3EC4D688EAC7CC35CCA7_label_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_43622B52C2DA3EC4D688EAC7CC35CCA7" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_43622B52C2DA3EC4D688EAC7CC35CCA7" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_43622B52C2DA3EC4D688EAC7CC35CCA7" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_43622B52C2DA3EC4D688EAC7CC35CCA7" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_0483D359830FE801D670EAC7CC35A6A0_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_0483D359830FE801D670EAC7CC35A6A0" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Unrealized loss, continuous unrealized losses</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_0483D359830FE801D670EAC7CC35A6A0_label_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_0483D359830FE801D670EAC7CC35A6A0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_0483D359830FE801D670EAC7CC35A6A0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_0483D359830FE801D670EAC7CC35A6A0" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_0483D359830FE801D670EAC7CC35A6A0" xlink:type="arc" />
    <link:label id="lab_us-gaap_RelatedPartyTransactionsAbstract_CC6DCD42122D7C5283041CBF8680A4D1_label_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionsAbstract_CC6DCD42122D7C5283041CBF8680A4D1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party Transactions [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract" xlink:label="loc_us-gaap_RelatedPartyTransactionsAbstract_CC6DCD42122D7C5283041CBF8680A4D1" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionsAbstract_CC6DCD42122D7C5283041CBF8680A4D1" xlink:to="lab_us-gaap_RelatedPartyTransactionsAbstract_CC6DCD42122D7C5283041CBF8680A4D1" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_F62D7F9DF34A938814A11CBF86805FD2_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_F62D7F9DF34A938814A11CBF86805FD2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Related Party Transactions, by Related Party [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_F62D7F9DF34A938814A11CBF86805FD2_label_en-US" xlink:label="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_F62D7F9DF34A938814A11CBF86805FD2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Related Party Transactions, by Related Party [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_F62D7F9DF34A938814A11CBF86805FD2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_F62D7F9DF34A938814A11CBF86805FD2" xlink:to="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_F62D7F9DF34A938814A11CBF86805FD2" xlink:type="arc" />
    <link:label id="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_DAB674BA92CF0AB0C7231CBF86811F95_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_DAB674BA92CF0AB0C7231CBF86811F95" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Party [Axis]</link:label>
    <link:label id="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_DAB674BA92CF0AB0C7231CBF86811F95_label_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_DAB674BA92CF0AB0C7231CBF86811F95" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_DAB674BA92CF0AB0C7231CBF86811F95" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_DAB674BA92CF0AB0C7231CBF86811F95" xlink:to="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_DAB674BA92CF0AB0C7231CBF86811F95" xlink:type="arc" />
    <link:label id="lab_us-gaap_RelatedPartyDomain_DE63086714D8DA7F4C0C1CBF86811829_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyDomain_DE63086714D8DA7F4C0C1CBF86811829" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Party [Domain]</link:label>
    <link:label id="lab_us-gaap_RelatedPartyDomain_DE63086714D8DA7F4C0C1CBF86811829_label_en-US" xlink:label="lab_us-gaap_RelatedPartyDomain_DE63086714D8DA7F4C0C1CBF86811829" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_DE63086714D8DA7F4C0C1CBF86811829" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyDomain_DE63086714D8DA7F4C0C1CBF86811829" xlink:to="lab_us-gaap_RelatedPartyDomain_DE63086714D8DA7F4C0C1CBF86811829" xlink:type="arc" />
    <link:label id="lab_us-gaap_ChiefExecutiveOfficerMember_36F175BF1A69105335FE1CBF8681D5A4_terseLabel_en-US" xlink:label="lab_us-gaap_ChiefExecutiveOfficerMember_36F175BF1A69105335FE1CBF8681D5A4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Chief Executive Officer</link:label>
    <link:label id="lab_us-gaap_ChiefExecutiveOfficerMember_36F175BF1A69105335FE1CBF8681D5A4_label_en-US" xlink:label="lab_us-gaap_ChiefExecutiveOfficerMember_36F175BF1A69105335FE1CBF8681D5A4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Chief Executive Officer [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChiefExecutiveOfficerMember" xlink:label="loc_us-gaap_ChiefExecutiveOfficerMember_36F175BF1A69105335FE1CBF8681D5A4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ChiefExecutiveOfficerMember_36F175BF1A69105335FE1CBF8681D5A4" xlink:to="lab_us-gaap_ChiefExecutiveOfficerMember_36F175BF1A69105335FE1CBF8681D5A4" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeStatementLocationAxis_7CF6DCAC610FD2E7D2AC1CBF8682153F_verboseLabel_en-US" xlink:label="lab_us-gaap_IncomeStatementLocationAxis_7CF6DCAC610FD2E7D2AC1CBF8682153F" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Income Statement Location [Axis]</link:label>
    <link:label id="lab_us-gaap_IncomeStatementLocationAxis_7CF6DCAC610FD2E7D2AC1CBF8682153F_label_en-US" xlink:label="lab_us-gaap_IncomeStatementLocationAxis_7CF6DCAC610FD2E7D2AC1CBF8682153F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Statement Location [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_7CF6DCAC610FD2E7D2AC1CBF8682153F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_7CF6DCAC610FD2E7D2AC1CBF8682153F" xlink:to="lab_us-gaap_IncomeStatementLocationAxis_7CF6DCAC610FD2E7D2AC1CBF8682153F" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeStatementLocationDomain_71EF02B3F999316AFC1B1CBF8682CC76_verboseLabel_en-US" xlink:label="lab_us-gaap_IncomeStatementLocationDomain_71EF02B3F999316AFC1B1CBF8682CC76" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Income Statement Location [Domain]</link:label>
    <link:label id="lab_us-gaap_IncomeStatementLocationDomain_71EF02B3F999316AFC1B1CBF8682CC76_label_en-US" xlink:label="lab_us-gaap_IncomeStatementLocationDomain_71EF02B3F999316AFC1B1CBF8682CC76" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Statement Location [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_71EF02B3F999316AFC1B1CBF8682CC76" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_71EF02B3F999316AFC1B1CBF8682CC76" xlink:to="lab_us-gaap_IncomeStatementLocationDomain_71EF02B3F999316AFC1B1CBF8682CC76" xlink:type="arc" />
    <link:label id="lab_us-gaap_SellingGeneralAndAdministrativeExpensesMember_BED7CBB08DB3EE6B576E1CBF8682EA36_terseLabel_en-US" xlink:label="lab_us-gaap_SellingGeneralAndAdministrativeExpensesMember_BED7CBB08DB3EE6B576E1CBF8682EA36" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Sales, general and administrative</link:label>
    <link:label id="lab_us-gaap_SellingGeneralAndAdministrativeExpensesMember_BED7CBB08DB3EE6B576E1CBF8682EA36_label_en-US" xlink:label="lab_us-gaap_SellingGeneralAndAdministrativeExpensesMember_BED7CBB08DB3EE6B576E1CBF8682EA36" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Selling, General and Administrative Expenses [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_BED7CBB08DB3EE6B576E1CBF8682EA36" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_BED7CBB08DB3EE6B576E1CBF8682EA36" xlink:to="lab_us-gaap_SellingGeneralAndAdministrativeExpensesMember_BED7CBB08DB3EE6B576E1CBF8682EA36" xlink:type="arc" />
    <link:label id="lab_us-gaap_RelatedPartyTransactionAxis_49148E9D5FA58BF4B95D1CBF8682D879_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionAxis_49148E9D5FA58BF4B95D1CBF8682D879" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Axis]</link:label>
    <link:label id="lab_us-gaap_RelatedPartyTransactionAxis_49148E9D5FA58BF4B95D1CBF8682D879_label_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionAxis_49148E9D5FA58BF4B95D1CBF8682D879" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_49148E9D5FA58BF4B95D1CBF8682D879" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_49148E9D5FA58BF4B95D1CBF8682D879" xlink:to="lab_us-gaap_RelatedPartyTransactionAxis_49148E9D5FA58BF4B95D1CBF8682D879" xlink:type="arc" />
    <link:label id="lab_us-gaap_RelatedPartyTransactionDomain_FF881BF5CBBD04AB168C1CBF8682D7BD_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionDomain_FF881BF5CBBD04AB168C1CBF8682D7BD" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Domain]</link:label>
    <link:label id="lab_us-gaap_RelatedPartyTransactionDomain_FF881BF5CBBD04AB168C1CBF8682D7BD_label_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionDomain_FF881BF5CBBD04AB168C1CBF8682D7BD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_FF881BF5CBBD04AB168C1CBF8682D7BD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_FF881BF5CBBD04AB168C1CBF8682D7BD" xlink:to="lab_us-gaap_RelatedPartyTransactionDomain_FF881BF5CBBD04AB168C1CBF8682D7BD" xlink:type="arc" />
    <link:label id="lab_us-gaap_LeaseAgreementsMember_15EF4C3AF2A2283B61841CBF8683C221_terseLabel_en-US" xlink:label="lab_us-gaap_LeaseAgreementsMember_15EF4C3AF2A2283B61841CBF8683C221" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aircraft lease agreement</link:label>
    <link:label id="lab_us-gaap_LeaseAgreementsMember_15EF4C3AF2A2283B61841CBF8683C221_label_en-US" xlink:label="lab_us-gaap_LeaseAgreementsMember_15EF4C3AF2A2283B61841CBF8683C221" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Lease Agreements [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseAgreementsMember" xlink:label="loc_us-gaap_LeaseAgreementsMember_15EF4C3AF2A2283B61841CBF8683C221" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LeaseAgreementsMember_15EF4C3AF2A2283B61841CBF8683C221" xlink:to="lab_us-gaap_LeaseAgreementsMember_15EF4C3AF2A2283B61841CBF8683C221" xlink:type="arc" />
    <link:label id="lab_us-gaap_RelatedPartyTransactionLineItems_041CED60D57D32FBE65E1CBF86830E84_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionLineItems_041CED60D57D32FBE65E1CBF86830E84" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Line Items]</link:label>
    <link:label id="lab_us-gaap_RelatedPartyTransactionLineItems_041CED60D57D32FBE65E1CBF86830E84_label_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionLineItems_041CED60D57D32FBE65E1CBF86830E84" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_041CED60D57D32FBE65E1CBF86830E84" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_041CED60D57D32FBE65E1CBF86830E84" xlink:to="lab_us-gaap_RelatedPartyTransactionLineItems_041CED60D57D32FBE65E1CBF86830E84" xlink:type="arc" />
    <link:label id="lab_ubnt_AircraftLeasingHourlyRate_E245C598ABE33ADD4F211CBF8683AE2A_terseLabel_en-US" xlink:label="lab_ubnt_AircraftLeasingHourlyRate_E245C598ABE33ADD4F211CBF8683AE2A" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Rate to lease aircraft</link:label>
    <link:label id="lab_ubnt_AircraftLeasingHourlyRate_E245C598ABE33ADD4F211CBF8683AE2A_label_en-US" xlink:label="lab_ubnt_AircraftLeasingHourlyRate_E245C598ABE33ADD4F211CBF8683AE2A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Aircraft Leasing Hourly Rate</link:label>
    <link:label id="lab_ubnt_AircraftLeasingHourlyRate_E245C598ABE33ADD4F211CBF8683AE2A_documentation_en-US" xlink:label="lab_ubnt_AircraftLeasingHourlyRate_E245C598ABE33ADD4F211CBF8683AE2A" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Aircraft Leasing Hourly Rate</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_AircraftLeasingHourlyRate" xlink:label="loc_ubnt_AircraftLeasingHourlyRate_E245C598ABE33ADD4F211CBF8683AE2A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_AircraftLeasingHourlyRate_E245C598ABE33ADD4F211CBF8683AE2A" xlink:to="lab_ubnt_AircraftLeasingHourlyRate_E245C598ABE33ADD4F211CBF8683AE2A" xlink:type="arc" />
    <link:label id="lab_us-gaap_AircraftRental_0899C3C8A57791A924221CBF868493A0_terseLabel_en-US" xlink:label="lab_us-gaap_AircraftRental_0899C3C8A57791A924221CBF868493A0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aircraft leasing expenses</link:label>
    <link:label id="lab_us-gaap_AircraftRental_0899C3C8A57791A924221CBF868493A0_label_en-US" xlink:label="lab_us-gaap_AircraftRental_0899C3C8A57791A924221CBF868493A0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Aircraft Rental</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AircraftRental" xlink:label="loc_us-gaap_AircraftRental_0899C3C8A57791A924221CBF868493A0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AircraftRental_0899C3C8A57791A924221CBF868493A0" xlink:to="lab_us-gaap_AircraftRental_0899C3C8A57791A924221CBF868493A0" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtDisclosureTextBlock_26B8BCA60E08A17CC27B1CBF864605AF_terseLabel_en-US" xlink:label="lab_us-gaap_DebtDisclosureTextBlock_26B8BCA60E08A17CC27B1CBF864605AF" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">DEBT</link:label>
    <link:label id="lab_us-gaap_DebtDisclosureTextBlock_26B8BCA60E08A17CC27B1CBF864605AF_label_en-US" xlink:label="lab_us-gaap_DebtDisclosureTextBlock_26B8BCA60E08A17CC27B1CBF864605AF" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Disclosure [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtDisclosureTextBlock" xlink:label="loc_us-gaap_DebtDisclosureTextBlock_26B8BCA60E08A17CC27B1CBF864605AF" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtDisclosureTextBlock_26B8BCA60E08A17CC27B1CBF864605AF" xlink:to="lab_us-gaap_DebtDisclosureTextBlock_26B8BCA60E08A17CC27B1CBF864605AF" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_D819BE3D928F9D5206EE1CBF860F7201_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_D819BE3D928F9D5206EE1CBF860F7201" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_D819BE3D928F9D5206EE1CBF860F7201_label_en-US" xlink:label="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_D819BE3D928F9D5206EE1CBF860F7201" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_D819BE3D928F9D5206EE1CBF860F7201" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_D819BE3D928F9D5206EE1CBF860F7201" xlink:to="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_D819BE3D928F9D5206EE1CBF860F7201" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeStatementLocationAxis_F9C23E7724EF503B6C021CBF8610CA8B_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeStatementLocationAxis_F9C23E7724EF503B6C021CBF8610CA8B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Employee Service Share-based Compensation, Allocation of Recognized Period Costs, by Report Line [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_F9C23E7724EF503B6C021CBF8610CA8B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_F9C23E7724EF503B6C021CBF8610CA8B" xlink:to="lab_us-gaap_IncomeStatementLocationAxis_F9C23E7724EF503B6C021CBF8610CA8B" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeStatementLocationDomain_D1ED7BCAD7F1F20DE7701CBF8610FFE0_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeStatementLocationDomain_D1ED7BCAD7F1F20DE7701CBF8610FFE0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Employee Service Share-based Compensation, Allocation of Recognized Period Costs, Report Line [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_D1ED7BCAD7F1F20DE7701CBF8610FFE0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_D1ED7BCAD7F1F20DE7701CBF8610FFE0" xlink:to="lab_us-gaap_IncomeStatementLocationDomain_D1ED7BCAD7F1F20DE7701CBF8610FFE0" xlink:type="arc" />
    <link:label id="lab_us-gaap_CostOfSalesMember_BCD222AC6943E2B20BA71CBF86105829_terseLabel_en-US" xlink:label="lab_us-gaap_CostOfSalesMember_BCD222AC6943E2B20BA71CBF86105829" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cost of revenues</link:label>
    <link:label id="lab_us-gaap_CostOfSalesMember_BCD222AC6943E2B20BA71CBF86105829_label_en-US" xlink:label="lab_us-gaap_CostOfSalesMember_BCD222AC6943E2B20BA71CBF86105829" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cost of Sales [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_BCD222AC6943E2B20BA71CBF86105829" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CostOfSalesMember_BCD222AC6943E2B20BA71CBF86105829" xlink:to="lab_us-gaap_CostOfSalesMember_BCD222AC6943E2B20BA71CBF86105829" xlink:type="arc" />
    <link:label id="lab_us-gaap_ResearchAndDevelopmentExpenseMember_E4161543C22EC2C3DB471CBF86117AB4_terseLabel_en-US" xlink:label="lab_us-gaap_ResearchAndDevelopmentExpenseMember_E4161543C22EC2C3DB471CBF86117AB4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Research and development</link:label>
    <link:label id="lab_us-gaap_ResearchAndDevelopmentExpenseMember_E4161543C22EC2C3DB471CBF86117AB4_label_en-US" xlink:label="lab_us-gaap_ResearchAndDevelopmentExpenseMember_E4161543C22EC2C3DB471CBF86117AB4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Research and Development Expense [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_E4161543C22EC2C3DB471CBF86117AB4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpenseMember_E4161543C22EC2C3DB471CBF86117AB4" xlink:to="lab_us-gaap_ResearchAndDevelopmentExpenseMember_E4161543C22EC2C3DB471CBF86117AB4" xlink:type="arc" />
    <link:label id="lab_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_B41833E4E6CD57ABD6461CBF8611E15A_terseLabel_en-US" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_B41833E4E6CD57ABD6461CBF8611E15A" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Line Items]</link:label>
    <link:label id="lab_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_B41833E4E6CD57ABD6461CBF8611E15A_label_en-US" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_B41833E4E6CD57ABD6461CBF8611E15A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_B41833E4E6CD57ABD6461CBF8611E15A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_B41833E4E6CD57ABD6461CBF8611E15A" xlink:to="lab_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_B41833E4E6CD57ABD6461CBF8611E15A" xlink:type="arc" />
    <link:label id="lab_us-gaap_AllocatedShareBasedCompensationExpense_85010089E80D2CD32B241CBF8611B8CD_verboseLabel_en-US" xlink:label="lab_us-gaap_AllocatedShareBasedCompensationExpense_85010089E80D2CD32B241CBF8611B8CD" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Stock-based compensation expense</link:label>
    <link:label id="lab_us-gaap_AllocatedShareBasedCompensationExpense_85010089E80D2CD32B241CBF8611B8CD_label_en-US" xlink:label="lab_us-gaap_AllocatedShareBasedCompensationExpense_85010089E80D2CD32B241CBF8611B8CD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Allocated Share-based Compensation Expense</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_85010089E80D2CD32B241CBF8611B8CD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllocatedShareBasedCompensationExpense_85010089E80D2CD32B241CBF8611B8CD" xlink:to="lab_us-gaap_AllocatedShareBasedCompensationExpense_85010089E80D2CD32B241CBF8611B8CD" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeTaxDisclosureAbstract_055A14344E972D5FC079E9FFD6F9D8C1_label_en-US" xlink:label="lab_us-gaap_IncomeTaxDisclosureAbstract_055A14344E972D5FC079E9FFD6F9D8C1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Tax Disclosure [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_055A14344E972D5FC079E9FFD6F9D8C1" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_055A14344E972D5FC079E9FFD6F9D8C1" xlink:to="lab_us-gaap_IncomeTaxDisclosureAbstract_055A14344E972D5FC079E9FFD6F9D8C1" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeTaxExpenseBenefit_CCC1C5E2044AFA230507E9FFD6F96C2A_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit_CCC1C5E2044AFA230507E9FFD6F96C2A" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Provisions for income taxes</link:label>
    <link:label id="lab_us-gaap_IncomeTaxExpenseBenefit_CCC1C5E2044AFA230507E9FFD6F96C2A_label_en-US" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit_CCC1C5E2044AFA230507E9FFD6F96C2A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Tax Expense (Benefit)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_CCC1C5E2044AFA230507E9FFD6F96C2A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_CCC1C5E2044AFA230507E9FFD6F96C2A" xlink:to="lab_us-gaap_IncomeTaxExpenseBenefit_CCC1C5E2044AFA230507E9FFD6F96C2A" xlink:type="arc" />
    <link:label id="lab_us-gaap_UnrecognizedTaxBenefits_05FC0032726FBFEEFA31E9FFD6FA0AEA_terseLabel_en-US" xlink:label="lab_us-gaap_UnrecognizedTaxBenefits_05FC0032726FBFEEFA31E9FFD6FA0AEA" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Unrecognized tax benefits</link:label>
    <link:label id="lab_us-gaap_UnrecognizedTaxBenefits_05FC0032726FBFEEFA31E9FFD6FA0AEA_label_en-US" xlink:label="lab_us-gaap_UnrecognizedTaxBenefits_05FC0032726FBFEEFA31E9FFD6FA0AEA" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Unrecognized Tax Benefits</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrecognizedTaxBenefits" xlink:label="loc_us-gaap_UnrecognizedTaxBenefits_05FC0032726FBFEEFA31E9FFD6FA0AEA" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnrecognizedTaxBenefits_05FC0032726FBFEEFA31E9FFD6FA0AEA" xlink:to="lab_us-gaap_UnrecognizedTaxBenefits_05FC0032726FBFEEFA31E9FFD6FA0AEA" xlink:type="arc" />
    <link:label id="lab_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_BCC98BDA2A6FEC0A48CFE9FFD6FA070C_terseLabel_en-US" xlink:label="lab_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_BCC98BDA2A6FEC0A48CFE9FFD6FA070C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net increase (decrease) in unrecognized tax benefits</link:label>
    <link:label id="lab_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_BCC98BDA2A6FEC0A48CFE9FFD6FA070C_label_en-US" xlink:label="lab_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_BCC98BDA2A6FEC0A48CFE9FFD6FA070C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Unrecognized Tax Benefits, Period Increase (Decrease)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_BCC98BDA2A6FEC0A48CFE9FFD6FA070C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_BCC98BDA2A6FEC0A48CFE9FFD6FA070C" xlink:to="lab_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_BCC98BDA2A6FEC0A48CFE9FFD6FA070C" xlink:type="arc" />
    <link:label id="lab_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_8AFDE03B52E3FE3BA8DBE9FFD6FA7B1F_terseLabel_en-US" xlink:label="lab_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_8AFDE03B52E3FE3BA8DBE9FFD6FA7B1F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest accrued related to uncertain tax matters</link:label>
    <link:label id="lab_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_8AFDE03B52E3FE3BA8DBE9FFD6FA7B1F_label_en-US" xlink:label="lab_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_8AFDE03B52E3FE3BA8DBE9FFD6FA7B1F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Unrecognized Tax Benefits, Interest on Income Taxes Accrued</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_8AFDE03B52E3FE3BA8DBE9FFD6FA7B1F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_8AFDE03B52E3FE3BA8DBE9FFD6FA7B1F" xlink:to="lab_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_8AFDE03B52E3FE3BA8DBE9FFD6FA7B1F" xlink:type="arc" />
    <link:label id="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleTable_62902E345A20A3591110E9FFD6FA2ACD_terseLabel_en-US" xlink:label="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleTable_62902E345A20A3591110E9FFD6FA2ACD" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Table]</link:label>
    <link:label id="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleTable_62902E345A20A3591110E9FFD6FA2ACD_label_en-US" xlink:label="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleTable_62902E345A20A3591110E9FFD6FA2ACD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleTable" xlink:label="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleTable_62902E345A20A3591110E9FFD6FA2ACD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleTable_62902E345A20A3591110E9FFD6FA2ACD" xlink:to="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleTable_62902E345A20A3591110E9FFD6FA2ACD" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeTaxAuthorityAxis_07871C4203F1A22A723DEA4030A59A83_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxAuthorityAxis_07871C4203F1A22A723DEA4030A59A83" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Income Tax Authority [Axis]</link:label>
    <link:label id="lab_us-gaap_IncomeTaxAuthorityAxis_07871C4203F1A22A723DEA4030A59A83_label_en-US" xlink:label="lab_us-gaap_IncomeTaxAuthorityAxis_07871C4203F1A22A723DEA4030A59A83" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Tax Authority [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_07871C4203F1A22A723DEA4030A59A83" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_07871C4203F1A22A723DEA4030A59A83" xlink:to="lab_us-gaap_IncomeTaxAuthorityAxis_07871C4203F1A22A723DEA4030A59A83" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeTaxAuthorityDomain_F2834B1FDFA300059208EA414966D695_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxAuthorityDomain_F2834B1FDFA300059208EA414966D695" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Income Tax Authority [Domain]</link:label>
    <link:label id="lab_us-gaap_IncomeTaxAuthorityDomain_F2834B1FDFA300059208EA414966D695_label_en-US" xlink:label="lab_us-gaap_IncomeTaxAuthorityDomain_F2834B1FDFA300059208EA414966D695" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Tax Authority [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_F2834B1FDFA300059208EA414966D695" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_F2834B1FDFA300059208EA414966D695" xlink:to="lab_us-gaap_IncomeTaxAuthorityDomain_F2834B1FDFA300059208EA414966D695" xlink:type="arc" />
    <link:label id="lab_us-gaap_InternalRevenueServiceIRSMember_7DA2F397D1E7F7793FA8EA403197992A_terseLabel_en-US" xlink:label="lab_us-gaap_InternalRevenueServiceIRSMember_7DA2F397D1E7F7793FA8EA403197992A" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">IIRS</link:label>
    <link:label id="lab_us-gaap_InternalRevenueServiceIRSMember_7DA2F397D1E7F7793FA8EA403197992A_label_en-US" xlink:label="lab_us-gaap_InternalRevenueServiceIRSMember_7DA2F397D1E7F7793FA8EA403197992A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Internal Revenue Service (IRS) [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember_7DA2F397D1E7F7793FA8EA403197992A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InternalRevenueServiceIRSMember_7DA2F397D1E7F7793FA8EA403197992A" xlink:to="lab_us-gaap_InternalRevenueServiceIRSMember_7DA2F397D1E7F7793FA8EA403197992A" xlink:type="arc" />
    <link:label id="lab_us-gaap_ReasonablyPossibleSignificantChangeInUnrecognizedTaxBenefitsByItemAxis_7EC2F2B006E05991C939E9FFD6FBB5CE_terseLabel_en-US" xlink:label="lab_us-gaap_ReasonablyPossibleSignificantChangeInUnrecognizedTaxBenefitsByItemAxis_7EC2F2B006E05991C939E9FFD6FBB5CE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Nature of Uncertainty [Axis]</link:label>
    <link:label id="lab_us-gaap_ReasonablyPossibleSignificantChangeInUnrecognizedTaxBenefitsByItemAxis_7EC2F2B006E05991C939E9FFD6FBB5CE_label_en-US" xlink:label="lab_us-gaap_ReasonablyPossibleSignificantChangeInUnrecognizedTaxBenefitsByItemAxis_7EC2F2B006E05991C939E9FFD6FBB5CE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Nature of Uncertainty [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ReasonablyPossibleSignificantChangeInUnrecognizedTaxBenefitsByItemAxis" xlink:label="loc_us-gaap_ReasonablyPossibleSignificantChangeInUnrecognizedTaxBenefitsByItemAxis_7EC2F2B006E05991C939E9FFD6FBB5CE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReasonablyPossibleSignificantChangeInUnrecognizedTaxBenefitsByItemAxis_7EC2F2B006E05991C939E9FFD6FBB5CE" xlink:to="lab_us-gaap_ReasonablyPossibleSignificantChangeInUnrecognizedTaxBenefitsByItemAxis_7EC2F2B006E05991C939E9FFD6FBB5CE" xlink:type="arc" />
    <link:label id="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleNatureOfUncertaintyDomain_E7612BF6CC726249D44BE9FFD6FB0441_terseLabel_en-US" xlink:label="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleNatureOfUncertaintyDomain_E7612BF6CC726249D44BE9FFD6FB0441" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Significant Change in Unrecognized Tax Benefits is Reasonably Possible, Nature of Uncertainty [Domain]</link:label>
    <link:label id="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleNatureOfUncertaintyDomain_E7612BF6CC726249D44BE9FFD6FB0441_label_en-US" xlink:label="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleNatureOfUncertaintyDomain_E7612BF6CC726249D44BE9FFD6FB0441" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Significant Change in Unrecognized Tax Benefits is Reasonably Possible, Nature of Uncertainty [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleNatureOfUncertaintyDomain" xlink:label="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleNatureOfUncertaintyDomain_E7612BF6CC726249D44BE9FFD6FB0441" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleNatureOfUncertaintyDomain_E7612BF6CC726249D44BE9FFD6FB0441" xlink:to="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleNatureOfUncertaintyDomain_E7612BF6CC726249D44BE9FFD6FB0441" xlink:type="arc" />
    <link:label id="lab_ubnt_SettlementWithTaxingAuthorityofStatuteLapsesMember_92FEF498B4B9B973A9B0EA40313156CE_terseLabel_en-US" xlink:label="lab_ubnt_SettlementWithTaxingAuthorityofStatuteLapsesMember_92FEF498B4B9B973A9B0EA40313156CE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Settlement With Taxing Authority of Statute Lapses</link:label>
    <link:label id="lab_ubnt_SettlementWithTaxingAuthorityofStatuteLapsesMember_92FEF498B4B9B973A9B0EA40313156CE_label_en-US" xlink:label="lab_ubnt_SettlementWithTaxingAuthorityofStatuteLapsesMember_92FEF498B4B9B973A9B0EA40313156CE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Settlement With Taxing Authority of Statute Lapses [Member]</link:label>
    <link:label id="lab_ubnt_SettlementWithTaxingAuthorityofStatuteLapsesMember_92FEF498B4B9B973A9B0EA40313156CE_documentation_en-US" xlink:label="lab_ubnt_SettlementWithTaxingAuthorityofStatuteLapsesMember_92FEF498B4B9B973A9B0EA40313156CE" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Settlement With Taxing Authority of Statute Lapses [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_SettlementWithTaxingAuthorityofStatuteLapsesMember" xlink:label="loc_ubnt_SettlementWithTaxingAuthorityofStatuteLapsesMember_92FEF498B4B9B973A9B0EA40313156CE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_SettlementWithTaxingAuthorityofStatuteLapsesMember_92FEF498B4B9B973A9B0EA40313156CE" xlink:to="lab_ubnt_SettlementWithTaxingAuthorityofStatuteLapsesMember_92FEF498B4B9B973A9B0EA40313156CE" xlink:type="arc" />
    <link:label id="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleLineItems_A650B9F1DDE410FC7A35E9FFD6FCF356_terseLabel_en-US" xlink:label="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleLineItems_A650B9F1DDE410FC7A35E9FFD6FCF356" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items]</link:label>
    <link:label id="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleLineItems_A650B9F1DDE410FC7A35E9FFD6FCF356_label_en-US" xlink:label="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleLineItems_A650B9F1DDE410FC7A35E9FFD6FCF356" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleLineItems" xlink:label="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleLineItems_A650B9F1DDE410FC7A35E9FFD6FCF356" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleLineItems_A650B9F1DDE410FC7A35E9FFD6FCF356" xlink:to="lab_us-gaap_SignificantChangeInUnrecognizedTaxBenefitsIsReasonablyPossibleLineItems_A650B9F1DDE410FC7A35E9FFD6FCF356" xlink:type="arc" />
    <link:label id="lab_us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible_400C64D17B36F5803F76E9FFD6FCE343_terseLabel_en-US" xlink:label="lab_us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible_400C64D17B36F5803F76E9FFD6FCE343" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Unrecognized tax benefits, decrease is reasonably possible</link:label>
    <link:label id="lab_us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible_400C64D17B36F5803F76E9FFD6FCE343_label_en-US" xlink:label="lab_us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible_400C64D17B36F5803F76E9FFD6FCE343" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Decrease in Unrecognized Tax Benefits is Reasonably Possible</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible" xlink:label="loc_us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible_400C64D17B36F5803F76E9FFD6FCE343" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible_400C64D17B36F5803F76E9FFD6FCE343" xlink:to="lab_us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible_400C64D17B36F5803F76E9FFD6FCE343" xlink:type="arc" />
    <link:label id="lab_us-gaap_LossContingencyEstimateOfPossibleLoss_9CED5440597F1BC1F9FBEA402F618D07_terseLabel_en-US" xlink:label="lab_us-gaap_LossContingencyEstimateOfPossibleLoss_9CED5440597F1BC1F9FBEA402F618D07" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loss Contingency, Estimate of Possible Loss</link:label>
    <link:label id="lab_us-gaap_LossContingencyEstimateOfPossibleLoss_9CED5440597F1BC1F9FBEA402F618D07_label_en-US" xlink:label="lab_us-gaap_LossContingencyEstimateOfPossibleLoss_9CED5440597F1BC1F9FBEA402F618D07" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loss Contingency, Estimate of Possible Loss</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LossContingencyEstimateOfPossibleLoss" xlink:label="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_9CED5440597F1BC1F9FBEA402F618D07" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LossContingencyEstimateOfPossibleLoss_9CED5440597F1BC1F9FBEA402F618D07" xlink:to="lab_us-gaap_LossContingencyEstimateOfPossibleLoss_9CED5440597F1BC1F9FBEA402F618D07" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_BEE3219AD859B30C3E5E1CBF870926EC_verboseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_BEE3219AD859B30C3E5E1CBF870926EC" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Property, Plant and Equipment [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_BEE3219AD859B30C3E5E1CBF870926EC_label_en-US" xlink:label="lab_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_BEE3219AD859B30C3E5E1CBF870926EC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Property, Plant and Equipment [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_BEE3219AD859B30C3E5E1CBF870926EC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_BEE3219AD859B30C3E5E1CBF870926EC" xlink:to="lab_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_BEE3219AD859B30C3E5E1CBF870926EC" xlink:type="arc" />
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentByTypeAxis_51C6D59D5A4B2246CA7F1CBF870A8F19_terseLabel_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentByTypeAxis_51C6D59D5A4B2246CA7F1CBF870A8F19" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Property, Plant and Equipment, Type [Axis]</link:label>
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentByTypeAxis_51C6D59D5A4B2246CA7F1CBF870A8F19_label_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentByTypeAxis_51C6D59D5A4B2246CA7F1CBF870A8F19" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Property, Plant and Equipment, Type [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_51C6D59D5A4B2246CA7F1CBF870A8F19" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_51C6D59D5A4B2246CA7F1CBF870A8F19" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentByTypeAxis_51C6D59D5A4B2246CA7F1CBF870A8F19" xlink:type="arc" />
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentTypeDomain_492FBBDB5E09B23F7B291CBF870AE480_terseLabel_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentTypeDomain_492FBBDB5E09B23F7B291CBF870AE480" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Property, Plant and Equipment, Type [Domain]</link:label>
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentTypeDomain_492FBBDB5E09B23F7B291CBF870AE480_label_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentTypeDomain_492FBBDB5E09B23F7B291CBF870AE480" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Property, Plant and Equipment, Type [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_492FBBDB5E09B23F7B291CBF870AE480" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_492FBBDB5E09B23F7B291CBF870AE480" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentTypeDomain_492FBBDB5E09B23F7B291CBF870AE480" xlink:type="arc" />
    <link:label id="lab_ubnt_TestingEquipmentMember_13C38C8633B11788511F1CBF870AADA5_terseLabel_en-US" xlink:label="lab_ubnt_TestingEquipmentMember_13C38C8633B11788511F1CBF870AADA5" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Testing equipment</link:label>
    <link:label id="lab_ubnt_TestingEquipmentMember_13C38C8633B11788511F1CBF870AADA5_label_en-US" xlink:label="lab_ubnt_TestingEquipmentMember_13C38C8633B11788511F1CBF870AADA5" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Testing Equipment [Member]</link:label>
    <link:label id="lab_ubnt_TestingEquipmentMember_13C38C8633B11788511F1CBF870AADA5_documentation_en-US" xlink:label="lab_ubnt_TestingEquipmentMember_13C38C8633B11788511F1CBF870AADA5" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Testing Equipment [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_TestingEquipmentMember" xlink:label="loc_ubnt_TestingEquipmentMember_13C38C8633B11788511F1CBF870AADA5" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_TestingEquipmentMember_13C38C8633B11788511F1CBF870AADA5" xlink:to="lab_ubnt_TestingEquipmentMember_13C38C8633B11788511F1CBF870AADA5" xlink:type="arc" />
    <link:label id="lab_ubnt_ComputerAndOtherEquipmentMember_C9370D9373FAA4AFEF8E1CBF870BE463_terseLabel_en-US" xlink:label="lab_ubnt_ComputerAndOtherEquipmentMember_C9370D9373FAA4AFEF8E1CBF870BE463" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Computer and other equipment</link:label>
    <link:label id="lab_ubnt_ComputerAndOtherEquipmentMember_C9370D9373FAA4AFEF8E1CBF870BE463_label_en-US" xlink:label="lab_ubnt_ComputerAndOtherEquipmentMember_C9370D9373FAA4AFEF8E1CBF870BE463" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Computer And Other Equipment [Member]</link:label>
    <link:label id="lab_ubnt_ComputerAndOtherEquipmentMember_C9370D9373FAA4AFEF8E1CBF870BE463_documentation_en-US" xlink:label="lab_ubnt_ComputerAndOtherEquipmentMember_C9370D9373FAA4AFEF8E1CBF870BE463" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Computer And Other Equipment [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_ComputerAndOtherEquipmentMember" xlink:label="loc_ubnt_ComputerAndOtherEquipmentMember_C9370D9373FAA4AFEF8E1CBF870BE463" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_ComputerAndOtherEquipmentMember_C9370D9373FAA4AFEF8E1CBF870BE463" xlink:to="lab_ubnt_ComputerAndOtherEquipmentMember_C9370D9373FAA4AFEF8E1CBF870BE463" xlink:type="arc" />
    <link:label id="lab_ubnt_ToolingEquipmentMember_824D837C1550583A5D1D1CBF870B495B_terseLabel_en-US" xlink:label="lab_ubnt_ToolingEquipmentMember_824D837C1550583A5D1D1CBF870B495B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Tooling equipment</link:label>
    <link:label id="lab_ubnt_ToolingEquipmentMember_824D837C1550583A5D1D1CBF870B495B_label_en-US" xlink:label="lab_ubnt_ToolingEquipmentMember_824D837C1550583A5D1D1CBF870B495B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Tooling Equipment [Member]</link:label>
    <link:label id="lab_ubnt_ToolingEquipmentMember_824D837C1550583A5D1D1CBF870B495B_documentation_en-US" xlink:label="lab_ubnt_ToolingEquipmentMember_824D837C1550583A5D1D1CBF870B495B" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Tooling Equipment [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_ToolingEquipmentMember" xlink:label="loc_ubnt_ToolingEquipmentMember_824D837C1550583A5D1D1CBF870B495B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_ToolingEquipmentMember_824D837C1550583A5D1D1CBF870B495B" xlink:to="lab_ubnt_ToolingEquipmentMember_824D837C1550583A5D1D1CBF870B495B" xlink:type="arc" />
    <link:label id="lab_us-gaap_FurnitureAndFixturesMember_1120367F36D1736BED011CBF870BDE5C_terseLabel_en-US" xlink:label="lab_us-gaap_FurnitureAndFixturesMember_1120367F36D1736BED011CBF870BDE5C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Furniture and fixtures</link:label>
    <link:label id="lab_us-gaap_FurnitureAndFixturesMember_1120367F36D1736BED011CBF870BDE5C_label_en-US" xlink:label="lab_us-gaap_FurnitureAndFixturesMember_1120367F36D1736BED011CBF870BDE5C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Furniture and Fixtures [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_1120367F36D1736BED011CBF870BDE5C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FurnitureAndFixturesMember_1120367F36D1736BED011CBF870BDE5C" xlink:to="lab_us-gaap_FurnitureAndFixturesMember_1120367F36D1736BED011CBF870BDE5C" xlink:type="arc" />
    <link:label id="lab_us-gaap_LeaseholdImprovementsMember_C3B20C7C8B8DC18065561CBF870BF2A2_terseLabel_en-US" xlink:label="lab_us-gaap_LeaseholdImprovementsMember_C3B20C7C8B8DC18065561CBF870BF2A2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Leasehold improvements</link:label>
    <link:label id="lab_us-gaap_LeaseholdImprovementsMember_C3B20C7C8B8DC18065561CBF870BF2A2_label_en-US" xlink:label="lab_us-gaap_LeaseholdImprovementsMember_C3B20C7C8B8DC18065561CBF870BF2A2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Leasehold Improvements [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_C3B20C7C8B8DC18065561CBF870BF2A2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LeaseholdImprovementsMember_C3B20C7C8B8DC18065561CBF870BF2A2" xlink:to="lab_us-gaap_LeaseholdImprovementsMember_C3B20C7C8B8DC18065561CBF870BF2A2" xlink:type="arc" />
    <link:label id="lab_us-gaap_ComputerSoftwareIntangibleAssetMember_C6B8688ED2E699FE38761CBF870B1D8F_terseLabel_en-US" xlink:label="lab_us-gaap_ComputerSoftwareIntangibleAssetMember_C6B8688ED2E699FE38761CBF870B1D8F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Software</link:label>
    <link:label id="lab_us-gaap_ComputerSoftwareIntangibleAssetMember_C6B8688ED2E699FE38761CBF870B1D8F_label_en-US" xlink:label="lab_us-gaap_ComputerSoftwareIntangibleAssetMember_C6B8688ED2E699FE38761CBF870B1D8F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Computer Software, Intangible Asset [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_C6B8688ED2E699FE38761CBF870B1D8F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_C6B8688ED2E699FE38761CBF870B1D8F" xlink:to="lab_us-gaap_ComputerSoftwareIntangibleAssetMember_C6B8688ED2E699FE38761CBF870B1D8F" xlink:type="arc" />
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentLineItems_83EEC01029838E1EA3DA1CBF870B34F7_terseLabel_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentLineItems_83EEC01029838E1EA3DA1CBF870B34F7" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Property, Plant and Equipment [Line Items]</link:label>
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentLineItems_83EEC01029838E1EA3DA1CBF870B34F7_label_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentLineItems_83EEC01029838E1EA3DA1CBF870B34F7" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Property, Plant and Equipment [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_83EEC01029838E1EA3DA1CBF870B34F7" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_83EEC01029838E1EA3DA1CBF870B34F7" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentLineItems_83EEC01029838E1EA3DA1CBF870B34F7" xlink:type="arc" />
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentGross_882C0A347CE597DC9C781CBF870C45C4_terseLabel_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentGross_882C0A347CE597DC9C781CBF870C45C4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Property and Equipment, Gross</link:label>
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentGross_882C0A347CE597DC9C781CBF870C45C4_label_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentGross_882C0A347CE597DC9C781CBF870C45C4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Property, Plant and Equipment, Gross</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_882C0A347CE597DC9C781CBF870C45C4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentGross_882C0A347CE597DC9C781CBF870C45C4" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentGross_882C0A347CE597DC9C781CBF870C45C4" xlink:type="arc" />
    <link:label id="lab_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_C16A1AC018448DF1D1CA1CBF870C1109_negatedLabel_en-US" xlink:label="lab_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_C16A1AC018448DF1D1CA1CBF870C1109" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Less: Accumulated depreciation</link:label>
    <link:label id="lab_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_C16A1AC018448DF1D1CA1CBF870C1109_label_en-US" xlink:label="lab_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_C16A1AC018448DF1D1CA1CBF870C1109" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_C16A1AC018448DF1D1CA1CBF870C1109" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_C16A1AC018448DF1D1CA1CBF870C1109" xlink:to="lab_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_C16A1AC018448DF1D1CA1CBF870C1109" xlink:type="arc" />
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentNet_C1C1F0FCC0BD3909582F1CBF870C60D1_totalLabel_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentNet_C1C1F0FCC0BD3909582F1CBF870C60D1" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Property and Equipment, Net</link:label>
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentNet_C1C1F0FCC0BD3909582F1CBF870C60D1_label_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentNet_C1C1F0FCC0BD3909582F1CBF870C60D1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Property, Plant and Equipment, Net</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_C1C1F0FCC0BD3909582F1CBF870C60D1" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_C1C1F0FCC0BD3909582F1CBF870C60D1" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentNet_C1C1F0FCC0BD3909582F1CBF870C60D1" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeTaxDisclosureTextBlock_BA751445302D9C69016D1CBF876B5C89_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxDisclosureTextBlock_BA751445302D9C69016D1CBF876B5C89" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">INCOME TAXES</link:label>
    <link:label id="lab_us-gaap_IncomeTaxDisclosureTextBlock_BA751445302D9C69016D1CBF876B5C89_label_en-US" xlink:label="lab_us-gaap_IncomeTaxDisclosureTextBlock_BA751445302D9C69016D1CBF876B5C89" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Tax Disclosure [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock" xlink:label="loc_us-gaap_IncomeTaxDisclosureTextBlock_BA751445302D9C69016D1CBF876B5C89" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxDisclosureTextBlock_BA751445302D9C69016D1CBF876B5C89" xlink:to="lab_us-gaap_IncomeTaxDisclosureTextBlock_BA751445302D9C69016D1CBF876B5C89" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_46AF05E9EB73968FF850D6003EF6777F_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_46AF05E9EB73968FF850D6003EF6777F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Revenue by Major Customers, by Reporting Segments [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_46AF05E9EB73968FF850D6003EF6777F_label_en-US" xlink:label="lab_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_46AF05E9EB73968FF850D6003EF6777F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Revenue by Major Customers, by Reporting Segments [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable" xlink:label="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_46AF05E9EB73968FF850D6003EF6777F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_46AF05E9EB73968FF850D6003EF6777F" xlink:to="lab_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_46AF05E9EB73968FF850D6003EF6777F" xlink:type="arc" />
    <link:label id="lab_us-gaap_AccountsReceivableMember_022499273CA75985DAB9D6003EF7AD77_terseLabel_en-US" xlink:label="lab_us-gaap_AccountsReceivableMember_022499273CA75985DAB9D6003EF7AD77" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accounts Receivable</link:label>
    <link:label id="lab_us-gaap_AccountsReceivableMember_022499273CA75985DAB9D6003EF7AD77_label_en-US" xlink:label="lab_us-gaap_AccountsReceivableMember_022499273CA75985DAB9D6003EF7AD77" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accounts Receivable [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableMember" xlink:label="loc_us-gaap_AccountsReceivableMember_022499273CA75985DAB9D6003EF7AD77" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsReceivableMember_022499273CA75985DAB9D6003EF7AD77" xlink:to="lab_us-gaap_AccountsReceivableMember_022499273CA75985DAB9D6003EF7AD77" xlink:type="arc" />
    <link:label id="lab_srt_MajorCustomersAxis_480BF986357028F20C61D6003EF7D89F_terseLabel_en-US" xlink:label="lab_srt_MajorCustomersAxis_480BF986357028F20C61D6003EF7D89F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Major Customers [Axis]</link:label>
    <link:label id="lab_srt_MajorCustomersAxis_480BF986357028F20C61D6003EF7D89F_label_en-US" xlink:label="lab_srt_MajorCustomersAxis_480BF986357028F20C61D6003EF7D89F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Customer [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MajorCustomersAxis" xlink:label="loc_srt_MajorCustomersAxis_480BF986357028F20C61D6003EF7D89F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MajorCustomersAxis_480BF986357028F20C61D6003EF7D89F" xlink:to="lab_srt_MajorCustomersAxis_480BF986357028F20C61D6003EF7D89F" xlink:type="arc" />
    <link:label id="lab_srt_NameOfMajorCustomerDomain_96D6E6674AF740D0A2BFD6003EF7F4D9_terseLabel_en-US" xlink:label="lab_srt_NameOfMajorCustomerDomain_96D6E6674AF740D0A2BFD6003EF7F4D9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Name of Major Customer [Domain]</link:label>
    <link:label id="lab_srt_NameOfMajorCustomerDomain_96D6E6674AF740D0A2BFD6003EF7F4D9_label_en-US" xlink:label="lab_srt_NameOfMajorCustomerDomain_96D6E6674AF740D0A2BFD6003EF7F4D9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Customer [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_NameOfMajorCustomerDomain" xlink:label="loc_srt_NameOfMajorCustomerDomain_96D6E6674AF740D0A2BFD6003EF7F4D9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_NameOfMajorCustomerDomain_96D6E6674AF740D0A2BFD6003EF7F4D9" xlink:to="lab_srt_NameOfMajorCustomerDomain_96D6E6674AF740D0A2BFD6003EF7F4D9" xlink:type="arc" />
    <link:label id="lab_ubnt_CustomerAMember_9E76A67D5117BF32D8FBD6003EF804A9_terseLabel_en-US" xlink:label="lab_ubnt_CustomerAMember_9E76A67D5117BF32D8FBD6003EF804A9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Customer A</link:label>
    <link:label id="lab_ubnt_CustomerAMember_9E76A67D5117BF32D8FBD6003EF804A9_label_en-US" xlink:label="lab_ubnt_CustomerAMember_9E76A67D5117BF32D8FBD6003EF804A9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Customer A [Member]</link:label>
    <link:label id="lab_ubnt_CustomerAMember_9E76A67D5117BF32D8FBD6003EF804A9_documentation_en-US" xlink:label="lab_ubnt_CustomerAMember_9E76A67D5117BF32D8FBD6003EF804A9" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Customer A [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_CustomerAMember" xlink:label="loc_ubnt_CustomerAMember_9E76A67D5117BF32D8FBD6003EF804A9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_CustomerAMember_9E76A67D5117BF32D8FBD6003EF804A9" xlink:to="lab_ubnt_CustomerAMember_9E76A67D5117BF32D8FBD6003EF804A9" xlink:type="arc" />
    <link:label id="lab_ubnt_CustomerBMember_AF09F1A6E26E7470628BD6003EFF7F3C_terseLabel_en-US" xlink:label="lab_ubnt_CustomerBMember_AF09F1A6E26E7470628BD6003EFF7F3C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Customer B</link:label>
    <link:label id="lab_ubnt_CustomerBMember_AF09F1A6E26E7470628BD6003EFF7F3C_label_en-US" xlink:label="lab_ubnt_CustomerBMember_AF09F1A6E26E7470628BD6003EFF7F3C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Customer B [Member]</link:label>
    <link:label id="lab_ubnt_CustomerBMember_AF09F1A6E26E7470628BD6003EFF7F3C_documentation_en-US" xlink:label="lab_ubnt_CustomerBMember_AF09F1A6E26E7470628BD6003EFF7F3C" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Customer B [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_CustomerBMember" xlink:label="loc_ubnt_CustomerBMember_AF09F1A6E26E7470628BD6003EFF7F3C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_CustomerBMember_AF09F1A6E26E7470628BD6003EFF7F3C" xlink:to="lab_ubnt_CustomerBMember_AF09F1A6E26E7470628BD6003EFF7F3C" xlink:type="arc" />
    <link:label id="lab_us-gaap_EntityWideRevenueMajorCustomerLineItems_916D6CBA7EE1A241A9F2D6003F0025B2_terseLabel_en-US" xlink:label="lab_us-gaap_EntityWideRevenueMajorCustomerLineItems_916D6CBA7EE1A241A9F2D6003F0025B2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Revenue, Major Customer [Line Items]</link:label>
    <link:label id="lab_us-gaap_EntityWideRevenueMajorCustomerLineItems_916D6CBA7EE1A241A9F2D6003F0025B2_label_en-US" xlink:label="lab_us-gaap_EntityWideRevenueMajorCustomerLineItems_916D6CBA7EE1A241A9F2D6003F0025B2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Revenue, Major Customer [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EntityWideRevenueMajorCustomerLineItems" xlink:label="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_916D6CBA7EE1A241A9F2D6003F0025B2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_916D6CBA7EE1A241A9F2D6003F0025B2" xlink:to="lab_us-gaap_EntityWideRevenueMajorCustomerLineItems_916D6CBA7EE1A241A9F2D6003F0025B2" xlink:type="arc" />
    <link:label id="lab_us-gaap_ConcentrationRiskPercentage1_AEE464EBDF1FB566647FD6003F004CA2_verboseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskPercentage1_AEE464EBDF1FB566647FD6003F004CA2" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Concentration percentage</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskPercentage1" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_AEE464EBDF1FB566647FD6003F004CA2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskPercentage1_AEE464EBDF1FB566647FD6003F004CA2" xlink:to="lab_us-gaap_ConcentrationRiskPercentage1_AEE464EBDF1FB566647FD6003F004CA2" xlink:type="arc" />
    <link:label id="lab_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_EB0BE7EA72A5CC38B50C1CBF86AD2953_label_en-US" xlink:label="lab_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_EB0BE7EA72A5CC38B50C1CBF86AD2953" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Organization, Consolidation and Presentation of Financial Statements [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_EB0BE7EA72A5CC38B50C1CBF86AD2953" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_EB0BE7EA72A5CC38B50C1CBF86AD2953" xlink:to="lab_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_EB0BE7EA72A5CC38B50C1CBF86AD2953" xlink:type="arc" />
    <link:label id="lab_us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock_090283261C558679E1321CBF86ADA3F0_terseLabel_en-US" xlink:label="lab_us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock_090283261C558679E1321CBF86ADA3F0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">BUSINESS AND BASIS OF PRESENTATION</link:label>
    <link:label id="lab_us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock_090283261C558679E1321CBF86ADA3F0_label_en-US" xlink:label="lab_us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock_090283261C558679E1321CBF86ADA3F0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Business Description and Basis of Presentation [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock" xlink:label="loc_us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock_090283261C558679E1321CBF86ADA3F0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock_090283261C558679E1321CBF86ADA3F0" xlink:to="lab_us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock_090283261C558679E1321CBF86ADA3F0" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock_8362F10C1A52B3998B4DD6219ABB70CE_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock_8362F10C1A52B3998B4DD6219ABB70CE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial instruments' amortized cost, gross unrealized gains and losses, and fair value</link:label>
    <link:label id="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock_8362F10C1A52B3998B4DD6219ABB70CE_label_en-US" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock_8362F10C1A52B3998B4DD6219ABB70CE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Assets Measured on Recurring Basis [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock_8362F10C1A52B3998B4DD6219ABB70CE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock_8362F10C1A52B3998B4DD6219ABB70CE" xlink:to="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisTextBlock_8362F10C1A52B3998B4DD6219ABB70CE" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock_4F094CC20FF9F9E15F78D6219ABB6DD4_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock_4F094CC20FF9F9E15F78D6219ABB6DD4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Marketable securities in continuous unrealized loss position</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock_4F094CC20FF9F9E15F78D6219ABB6DD4_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock_4F094CC20FF9F9E15F78D6219ABB6DD4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Available-for-sale Securities, Continuous Unrealized Loss Position, Fair Value [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock_4F094CC20FF9F9E15F78D6219ABB6DD4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock_4F094CC20FF9F9E15F78D6219ABB6DD4" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock_4F094CC20FF9F9E15F78D6219ABB6DD4" xlink:type="arc" />
    <link:label id="lab_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_025C1CDD9FCEEB8417B0D6219ABBFE42_terseLabel_en-US" xlink:label="lab_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_025C1CDD9FCEEB8417B0D6219ABBFE42" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Amortized costs and fair value of investment securities by contractual maturity</link:label>
    <link:label id="lab_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_025C1CDD9FCEEB8417B0D6219ABBFE42_label_en-US" xlink:label="lab_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_025C1CDD9FCEEB8417B0D6219ABBFE42" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Investments Classified by Contractual Maturity Date [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" xlink:label="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_025C1CDD9FCEEB8417B0D6219ABBFE42" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_025C1CDD9FCEEB8417B0D6219ABBFE42" xlink:to="lab_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_025C1CDD9FCEEB8417B0D6219ABBFE42" xlink:type="arc" />
    <link:label id="lab_us-gaap_EquityAbstract_9C02AD2D96A1BFF3CD3BE9FFD78F3404_label_en-US" xlink:label="lab_us-gaap_EquityAbstract_9C02AD2D96A1BFF3CD3BE9FFD78F3404" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityAbstract" xlink:label="loc_us-gaap_EquityAbstract_9C02AD2D96A1BFF3CD3BE9FFD78F3404" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityAbstract_9C02AD2D96A1BFF3CD3BE9FFD78F3404" xlink:to="lab_us-gaap_EquityAbstract_9C02AD2D96A1BFF3CD3BE9FFD78F3404" xlink:type="arc" />
    <link:label id="lab_us-gaap_ClassOfTreasuryStockTable_AB468608B1A26A39FCFBE9FFD78F3F05_terseLabel_en-US" xlink:label="lab_us-gaap_ClassOfTreasuryStockTable_AB468608B1A26A39FCFBE9FFD78F3F05" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Class of Treasury Stock [Table]</link:label>
    <link:label id="lab_us-gaap_ClassOfTreasuryStockTable_AB468608B1A26A39FCFBE9FFD78F3F05_label_en-US" xlink:label="lab_us-gaap_ClassOfTreasuryStockTable_AB468608B1A26A39FCFBE9FFD78F3F05" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Class of Treasury Stock [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfTreasuryStockTable" xlink:label="loc_us-gaap_ClassOfTreasuryStockTable_AB468608B1A26A39FCFBE9FFD78F3F05" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_AB468608B1A26A39FCFBE9FFD78F3F05" xlink:to="lab_us-gaap_ClassOfTreasuryStockTable_AB468608B1A26A39FCFBE9FFD78F3F05" xlink:type="arc" />
    <link:label id="lab_ubnt_MarchRepurchaseProgramMember_69F33A1367E845BB2AA5E9FFD7902C62_terseLabel_en-US" xlink:label="lab_ubnt_MarchRepurchaseProgramMember_69F33A1367E845BB2AA5E9FFD7902C62" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">March Repurchase Program</link:label>
    <link:label id="lab_ubnt_MarchRepurchaseProgramMember_69F33A1367E845BB2AA5E9FFD7902C62_label_en-US" xlink:label="lab_ubnt_MarchRepurchaseProgramMember_69F33A1367E845BB2AA5E9FFD7902C62" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">March Repurchase Program [Member]</link:label>
    <link:label id="lab_ubnt_MarchRepurchaseProgramMember_69F33A1367E845BB2AA5E9FFD7902C62_documentation_en-US" xlink:label="lab_ubnt_MarchRepurchaseProgramMember_69F33A1367E845BB2AA5E9FFD7902C62" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">March Repurchase Program [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_MarchRepurchaseProgramMember" xlink:label="loc_ubnt_MarchRepurchaseProgramMember_69F33A1367E845BB2AA5E9FFD7902C62" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_MarchRepurchaseProgramMember_69F33A1367E845BB2AA5E9FFD7902C62" xlink:to="lab_ubnt_MarchRepurchaseProgramMember_69F33A1367E845BB2AA5E9FFD7902C62" xlink:type="arc" />
    <link:label id="lab_us-gaap_EquityClassOfTreasuryStockLineItems_AC56114CEE77A716A0BBE9FFD792FA61_terseLabel_en-US" xlink:label="lab_us-gaap_EquityClassOfTreasuryStockLineItems_AC56114CEE77A716A0BBE9FFD792FA61" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Equity, Class of Treasury Stock [Line Items]</link:label>
    <link:label id="lab_us-gaap_EquityClassOfTreasuryStockLineItems_AC56114CEE77A716A0BBE9FFD792FA61_label_en-US" xlink:label="lab_us-gaap_EquityClassOfTreasuryStockLineItems_AC56114CEE77A716A0BBE9FFD792FA61" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity, Class of Treasury Stock [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityClassOfTreasuryStockLineItems" xlink:label="loc_us-gaap_EquityClassOfTreasuryStockLineItems_AC56114CEE77A716A0BBE9FFD792FA61" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_AC56114CEE77A716A0BBE9FFD792FA61" xlink:to="lab_us-gaap_EquityClassOfTreasuryStockLineItems_AC56114CEE77A716A0BBE9FFD792FA61" xlink:type="arc" />
    <link:label id="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_B0FF122201D390C86847E9FFD797CBFC_verboseLabel_en-US" xlink:label="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_B0FF122201D390C86847E9FFD797CBFC" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Number of shares repurchased and retired (in shares)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_B0FF122201D390C86847E9FFD797CBFC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_B0FF122201D390C86847E9FFD797CBFC" xlink:to="lab_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_B0FF122201D390C86847E9FFD797CBFC" xlink:type="arc" />
    <link:label id="lab_ubnt_StockRepurchaseCostIncurredButNotYetPaid_40E7C98D5D18F14B0076E9FFD798E14A_verboseLabel_en-US" xlink:label="lab_ubnt_StockRepurchaseCostIncurredButNotYetPaid_40E7C98D5D18F14B0076E9FFD798E14A" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Stock repurchase cost incurred but not yet paid</link:label>
    <link:label id="lab_ubnt_StockRepurchaseCostIncurredButNotYetPaid_40E7C98D5D18F14B0076E9FFD798E14A_label_en-US" xlink:label="lab_ubnt_StockRepurchaseCostIncurredButNotYetPaid_40E7C98D5D18F14B0076E9FFD798E14A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stock Repurchase Cost Incurred But Not Yet Paid</link:label>
    <link:label id="lab_ubnt_StockRepurchaseCostIncurredButNotYetPaid_40E7C98D5D18F14B0076E9FFD798E14A_documentation_en-US" xlink:label="lab_ubnt_StockRepurchaseCostIncurredButNotYetPaid_40E7C98D5D18F14B0076E9FFD798E14A" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Stock Repurchase Cost Incurred But Not Yet Paid</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_StockRepurchaseCostIncurredButNotYetPaid" xlink:label="loc_ubnt_StockRepurchaseCostIncurredButNotYetPaid_40E7C98D5D18F14B0076E9FFD798E14A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_StockRepurchaseCostIncurredButNotYetPaid_40E7C98D5D18F14B0076E9FFD798E14A" xlink:to="lab_ubnt_StockRepurchaseCostIncurredButNotYetPaid_40E7C98D5D18F14B0076E9FFD798E14A" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88832F03630F678726BEEAC7CC664BF8_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88832F03630F678726BEEAC7CC664BF8" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Measurements, Recurring and Nonrecurring [Table]</link:label>
    <link:label id="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88832F03630F678726BEEAC7CC664BF8_label_en-US" xlink:label="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88832F03630F678726BEEAC7CC664BF8" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Measurements, Recurring and Nonrecurring [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88832F03630F678726BEEAC7CC664BF8" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88832F03630F678726BEEAC7CC664BF8" xlink:to="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88832F03630F678726BEEAC7CC664BF8" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis_012ED6C6AFCD01A7046AEAC7CC6609BD_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis_012ED6C6AFCD01A7046AEAC7CC6609BD" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Hierarchy and NAV [Axis]</link:label>
    <link:label id="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis_012ED6C6AFCD01A7046AEAC7CC6609BD_label_en-US" xlink:label="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis_012ED6C6AFCD01A7046AEAC7CC6609BD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Hierarchy and NAV [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_012ED6C6AFCD01A7046AEAC7CC6609BD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_012ED6C6AFCD01A7046AEAC7CC6609BD" xlink:to="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis_012ED6C6AFCD01A7046AEAC7CC6609BD" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62926B1943928C576378EAC7CC67064D_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62926B1943928C576378EAC7CC67064D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Hierarchy and NAV [Domain]</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62926B1943928C576378EAC7CC67064D_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62926B1943928C576378EAC7CC67064D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Hierarchy and NAV [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62926B1943928C576378EAC7CC67064D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62926B1943928C576378EAC7CC67064D" xlink:to="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_62926B1943928C576378EAC7CC67064D" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueInputsLevel2Member_A295C429110C590E1DACEAC7CC673418_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueInputsLevel2Member_A295C429110C590E1DACEAC7CC673418" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair value, inputs, level 2</link:label>
    <link:label id="lab_us-gaap_FairValueInputsLevel2Member_A295C429110C590E1DACEAC7CC673418_label_en-US" xlink:label="lab_us-gaap_FairValueInputsLevel2Member_A295C429110C590E1DACEAC7CC673418" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Inputs, Level 2 [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_A295C429110C590E1DACEAC7CC673418" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueInputsLevel2Member_A295C429110C590E1DACEAC7CC673418" xlink:to="lab_us-gaap_FairValueInputsLevel2Member_A295C429110C590E1DACEAC7CC673418" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C096D3D8DCB4BBD22BA3EAC7CC673C72_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C096D3D8DCB4BBD22BA3EAC7CC673C72" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]</link:label>
    <link:label id="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C096D3D8DCB4BBD22BA3EAC7CC673C72_label_en-US" xlink:label="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C096D3D8DCB4BBD22BA3EAC7CC673C72" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C096D3D8DCB4BBD22BA3EAC7CC673C72" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C096D3D8DCB4BBD22BA3EAC7CC673C72" xlink:to="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_C096D3D8DCB4BBD22BA3EAC7CC673C72" xlink:type="arc" />
    <link:label id="lab_us-gaap_DebtInstrumentFairValue_19AF737ABAE6632EB18AEAC7CC684441_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentFairValue_19AF737ABAE6632EB18AEAC7CC684441" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentFairValue_19AF737ABAE6632EB18AEAC7CC684441_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentFairValue_19AF737ABAE6632EB18AEAC7CC684441" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument, Fair Value Disclosure</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentFairValue" xlink:label="loc_us-gaap_DebtInstrumentFairValue_19AF737ABAE6632EB18AEAC7CC684441" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentFairValue_19AF737ABAE6632EB18AEAC7CC684441" xlink:to="lab_us-gaap_DebtInstrumentFairValue_19AF737ABAE6632EB18AEAC7CC684441" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_8B238762D8D18E7EACD71CBF868B6ABC_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_8B238762D8D18E7EACD71CBF868B6ABC" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Warranty obligations</link:label>
    <link:label id="lab_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_8B238762D8D18E7EACD71CBF868B6ABC_label_en-US" xlink:label="lab_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_8B238762D8D18E7EACD71CBF868B6ABC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Product Warranty Liability [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_8B238762D8D18E7EACD71CBF868B6ABC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_8B238762D8D18E7EACD71CBF868B6ABC" xlink:to="lab_us-gaap_ScheduleOfProductWarrantyLiabilityTableTextBlock_8B238762D8D18E7EACD71CBF868B6ABC" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AA6B3A92D3E2A69F92331CBF871D63DB_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AA6B3A92D3E2A69F92331CBF871D63DB" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AA6B3A92D3E2A69F92331CBF871D63DB_label_en-US" xlink:label="lab_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AA6B3A92D3E2A69F92331CBF871D63DB" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AA6B3A92D3E2A69F92331CBF871D63DB" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AA6B3A92D3E2A69F92331CBF871D63DB" xlink:to="lab_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_AA6B3A92D3E2A69F92331CBF871D63DB" xlink:type="arc" />
    <link:label id="lab_us-gaap_AwardTypeAxis_1C70B3B9052B5C8659221CBF871D63F2_terseLabel_en-US" xlink:label="lab_us-gaap_AwardTypeAxis_1C70B3B9052B5C8659221CBF871D63F2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Award Type [Axis]</link:label>
    <link:label id="lab_us-gaap_AwardTypeAxis_1C70B3B9052B5C8659221CBF871D63F2_label_en-US" xlink:label="lab_us-gaap_AwardTypeAxis_1C70B3B9052B5C8659221CBF871D63F2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Type [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_1C70B3B9052B5C8659221CBF871D63F2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AwardTypeAxis_1C70B3B9052B5C8659221CBF871D63F2" xlink:to="lab_us-gaap_AwardTypeAxis_1C70B3B9052B5C8659221CBF871D63F2" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_46D69E37EFCFB70469171CBF871DE546_verboseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_46D69E37EFCFB70469171CBF871DE546" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Equity Award [Domain]</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_46D69E37EFCFB70469171CBF871DE546_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_46D69E37EFCFB70469171CBF871DE546" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity Award [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_46D69E37EFCFB70469171CBF871DE546" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_46D69E37EFCFB70469171CBF871DE546" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_46D69E37EFCFB70469171CBF871DE546" xlink:type="arc" />
    <link:label id="lab_us-gaap_RestrictedStockUnitsRSUMember_FB02D7CE5A5A8A0461751CBF871E81B4_terseLabel_en-US" xlink:label="lab_us-gaap_RestrictedStockUnitsRSUMember_FB02D7CE5A5A8A0461751CBF871E81B4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Restricted stock units</link:label>
    <link:label id="lab_us-gaap_RestrictedStockUnitsRSUMember_FB02D7CE5A5A8A0461751CBF871E81B4_label_en-US" xlink:label="lab_us-gaap_RestrictedStockUnitsRSUMember_FB02D7CE5A5A8A0461751CBF871E81B4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Restricted Stock Units (RSUs) [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_FB02D7CE5A5A8A0461751CBF871E81B4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RestrictedStockUnitsRSUMember_FB02D7CE5A5A8A0461751CBF871E81B4" xlink:to="lab_us-gaap_RestrictedStockUnitsRSUMember_FB02D7CE5A5A8A0461751CBF871E81B4" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_75A8F73B84037207FAF71CBF871E27A3_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_75A8F73B84037207FAF71CBF871E27A3" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_75A8F73B84037207FAF71CBF871E27A3_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_75A8F73B84037207FAF71CBF871E27A3" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_75A8F73B84037207FAF71CBF871E27A3" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_75A8F73B84037207FAF71CBF871E27A3" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_75A8F73B84037207FAF71CBF871E27A3" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E0FF4D8C1D55487677231CBF871E9590_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E0FF4D8C1D55487677231CBF871E9590" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Number of Shares</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E0FF4D8C1D55487677231CBF871E9590_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E0FF4D8C1D55487677231CBF871E9590" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E0FF4D8C1D55487677231CBF871E9590" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E0FF4D8C1D55487677231CBF871E9590" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_E0FF4D8C1D55487677231CBF871E9590" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9BE8601913E8E23162E61CBF871E3C42_periodStartLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9BE8601913E8E23162E61CBF871E3C42" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:type="resource" xml:lang="en-US">Non-vested RSUs, beginning balance (in shares)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9BE8601913E8E23162E61CBF871E3C42_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9BE8601913E8E23162E61CBF871E3C42" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9BE8601913E8E23162E61CBF871E3C42" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9BE8601913E8E23162E61CBF871E3C42" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9BE8601913E8E23162E61CBF871E3C42" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_420291C1B9E2618534981CBF871F1580_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_420291C1B9E2618534981CBF871F1580" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">RSUs granted (in shares)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_420291C1B9E2618534981CBF871F1580_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_420291C1B9E2618534981CBF871F1580" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_420291C1B9E2618534981CBF871F1580" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_420291C1B9E2618534981CBF871F1580" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_420291C1B9E2618534981CBF871F1580" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_29458C1612E49C61D6671CBF871F8941_negatedLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_29458C1612E49C61D6671CBF871F8941" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">RSUs vested (in shares)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_29458C1612E49C61D6671CBF871F8941_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_29458C1612E49C61D6671CBF871F8941" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_29458C1612E49C61D6671CBF871F8941" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_29458C1612E49C61D6671CBF871F8941" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_29458C1612E49C61D6671CBF871F8941" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_449D0DDC7BEE0D6386A81CBF871FE6FD_negatedLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_449D0DDC7BEE0D6386A81CBF871FE6FD" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">RSUs canceled (in shares)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_449D0DDC7BEE0D6386A81CBF871FE6FD_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_449D0DDC7BEE0D6386A81CBF871FE6FD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_449D0DDC7BEE0D6386A81CBF871FE6FD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_449D0DDC7BEE0D6386A81CBF871FE6FD" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_449D0DDC7BEE0D6386A81CBF871FE6FD" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9CC150D7C7941CEE54D61CBF871F9707_periodEndLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9CC150D7C7941CEE54D61CBF871F9707" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:type="resource" xml:lang="en-US">Non-vested RSUs, ending balance (in shares)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9CC150D7C7941CEE54D61CBF871F9707" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9CC150D7C7941CEE54D61CBF871F9707" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9CC150D7C7941CEE54D61CBF871F9707" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D5CDCC6DBC62E06173771CBF871FC50F_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D5CDCC6DBC62E06173771CBF871FC50F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Weighted Average Grant Date Fair Value Per Share</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D5CDCC6DBC62E06173771CBF871FC50F_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D5CDCC6DBC62E06173771CBF871FC50F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D5CDCC6DBC62E06173771CBF871FC50F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D5CDCC6DBC62E06173771CBF871FC50F" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_D5CDCC6DBC62E06173771CBF871FC50F" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_6C3944F2ACFEE366A1C11CBF87207FF3_periodStartLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_6C3944F2ACFEE366A1C11CBF87207FF3" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:type="resource" xml:lang="en-US">Non-vested RSUs, weighted average grant date fair value, beginning balance (in usd per share)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_6C3944F2ACFEE366A1C11CBF87207FF3_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_6C3944F2ACFEE366A1C11CBF87207FF3" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_6C3944F2ACFEE366A1C11CBF87207FF3" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_6C3944F2ACFEE366A1C11CBF87207FF3" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_6C3944F2ACFEE366A1C11CBF87207FF3" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_2A3447B1C0EF37148E8C1CBF872046A4_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_2A3447B1C0EF37148E8C1CBF872046A4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">RSUs granted, weighted average grant date fair value (in usd per share)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_2A3447B1C0EF37148E8C1CBF872046A4_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_2A3447B1C0EF37148E8C1CBF872046A4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_2A3447B1C0EF37148E8C1CBF872046A4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_2A3447B1C0EF37148E8C1CBF872046A4" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_2A3447B1C0EF37148E8C1CBF872046A4" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_05AC40CEBEB1EFB7B4741CBF87209B73_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_05AC40CEBEB1EFB7B4741CBF87209B73" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">RSUs vested, weighted average grant date fair value (in usd per share)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_05AC40CEBEB1EFB7B4741CBF87209B73_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_05AC40CEBEB1EFB7B4741CBF87209B73" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_05AC40CEBEB1EFB7B4741CBF87209B73" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_05AC40CEBEB1EFB7B4741CBF87209B73" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_05AC40CEBEB1EFB7B4741CBF87209B73" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_5FC08A4648F797FE986E1CBF8720EDB7_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_5FC08A4648F797FE986E1CBF8720EDB7" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">RSUs canceled, weighted average grant date fair value (in usd per share)</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_5FC08A4648F797FE986E1CBF8720EDB7_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_5FC08A4648F797FE986E1CBF8720EDB7" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_5FC08A4648F797FE986E1CBF8720EDB7" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_5FC08A4648F797FE986E1CBF8720EDB7" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_5FC08A4648F797FE986E1CBF8720EDB7" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_DF7EC305286AFFAF31271CBF87203651_periodEndLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_DF7EC305286AFFAF31271CBF87203651" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:type="resource" xml:lang="en-US">Non-vested RSUs, weighted average grant date fair value, ending balance (in usd per share)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_DF7EC305286AFFAF31271CBF87203651" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_DF7EC305286AFFAF31271CBF87203651" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_DF7EC305286AFFAF31271CBF87203651" xlink:type="arc" />
    <link:label id="lab_us-gaap_RelatedPartyTransactionsDisclosureTextBlock_898F8678695B369DF90F1CBF8768B6C2_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionsDisclosureTextBlock_898F8678695B369DF90F1CBF8768B6C2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">RELATED PARTY TRANSACTIONS AND CERTAIN OTHER TRANSACTIONS</link:label>
    <link:label id="lab_us-gaap_RelatedPartyTransactionsDisclosureTextBlock_898F8678695B369DF90F1CBF8768B6C2_label_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionsDisclosureTextBlock_898F8678695B369DF90F1CBF8768B6C2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party Transactions Disclosure [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:label="loc_us-gaap_RelatedPartyTransactionsDisclosureTextBlock_898F8678695B369DF90F1CBF8768B6C2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionsDisclosureTextBlock_898F8678695B369DF90F1CBF8768B6C2" xlink:to="lab_us-gaap_RelatedPartyTransactionsDisclosureTextBlock_898F8678695B369DF90F1CBF8768B6C2" xlink:type="arc" />
    <link:label id="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_76AD89854B9BDDBE060F82A2D450C490_label_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_76AD89854B9BDDBE060F82A2D450C490" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Commitments and Contingencies Disclosure [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_76AD89854B9BDDBE060F82A2D450C490" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_76AD89854B9BDDBE060F82A2D450C490" xlink:to="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_76AD89854B9BDDBE060F82A2D450C490" xlink:type="arc" />
    <link:label id="lab_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable_7826091F08B7B54DA13382A2D450E23D_terseLabel_en-US" xlink:label="lab_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable_7826091F08B7B54DA13382A2D450E23D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Property Subject to or Available for Operating Lease, by Major Property Class [Table]</link:label>
    <link:label id="lab_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable_7826091F08B7B54DA13382A2D450E23D_label_en-US" xlink:label="lab_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable_7826091F08B7B54DA13382A2D450E23D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Property Subject to or Available for Operating Lease, by Major Property Class [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable_7826091F08B7B54DA13382A2D450E23D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable_7826091F08B7B54DA13382A2D450E23D" xlink:to="lab_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable_7826091F08B7B54DA13382A2D450E23D" xlink:type="arc" />
    <link:label id="lab_srt_CounterpartyNameAxis_D8655012ED8C65C6328882FEA33AD646_terseLabel_en-US" xlink:label="lab_srt_CounterpartyNameAxis_D8655012ED8C65C6328882FEA33AD646" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Counterparty Name [Axis]</link:label>
    <link:label id="lab_srt_CounterpartyNameAxis_D8655012ED8C65C6328882FEA33AD646_label_en-US" xlink:label="lab_srt_CounterpartyNameAxis_D8655012ED8C65C6328882FEA33AD646" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Counterparty Name [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CounterpartyNameAxis" xlink:label="loc_srt_CounterpartyNameAxis_D8655012ED8C65C6328882FEA33AD646" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CounterpartyNameAxis_D8655012ED8C65C6328882FEA33AD646" xlink:to="lab_srt_CounterpartyNameAxis_D8655012ED8C65C6328882FEA33AD646" xlink:type="arc" />
    <link:label id="lab_srt_RepurchaseAgreementCounterpartyNameDomain_58B37ADD69A27619FD6882FEA34071F6_terseLabel_en-US" xlink:label="lab_srt_RepurchaseAgreementCounterpartyNameDomain_58B37ADD69A27619FD6882FEA34071F6" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Counterparty Name [Domain]</link:label>
    <link:label id="lab_srt_RepurchaseAgreementCounterpartyNameDomain_58B37ADD69A27619FD6882FEA34071F6_label_en-US" xlink:label="lab_srt_RepurchaseAgreementCounterpartyNameDomain_58B37ADD69A27619FD6882FEA34071F6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Counterparty Name [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_58B37ADD69A27619FD6882FEA34071F6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_58B37ADD69A27619FD6882FEA34071F6" xlink:to="lab_srt_RepurchaseAgreementCounterpartyNameDomain_58B37ADD69A27619FD6882FEA34071F6" xlink:type="arc" />
    <link:label id="lab_ubnt_FrontRowMember_47AA4D19AE6818F46A2882FEA4A03CC2_terseLabel_en-US" xlink:label="lab_ubnt_FrontRowMember_47AA4D19AE6818F46A2882FEA4A03CC2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">FrontRow</link:label>
    <link:label id="lab_ubnt_FrontRowMember_47AA4D19AE6818F46A2882FEA4A03CC2_label_en-US" xlink:label="lab_ubnt_FrontRowMember_47AA4D19AE6818F46A2882FEA4A03CC2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">FrontRow [Member]</link:label>
    <link:label id="lab_ubnt_FrontRowMember_47AA4D19AE6818F46A2882FEA4A03CC2_documentation_en-US" xlink:label="lab_ubnt_FrontRowMember_47AA4D19AE6818F46A2882FEA4A03CC2" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">FrontRow [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_FrontRowMember" xlink:label="loc_ubnt_FrontRowMember_47AA4D19AE6818F46A2882FEA4A03CC2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_FrontRowMember_47AA4D19AE6818F46A2882FEA4A03CC2" xlink:to="lab_ubnt_FrontRowMember_47AA4D19AE6818F46A2882FEA4A03CC2" xlink:type="arc" />
    <link:label id="lab_us-gaap_PublicUtilitiesInventoryAxis_759A033170D021C4C32B82A2D450ABEB_terseLabel_en-US" xlink:label="lab_us-gaap_PublicUtilitiesInventoryAxis_759A033170D021C4C32B82A2D450ABEB" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Inventory [Axis]</link:label>
    <link:label id="lab_us-gaap_PublicUtilitiesInventoryAxis_759A033170D021C4C32B82A2D450ABEB_label_en-US" xlink:label="lab_us-gaap_PublicUtilitiesInventoryAxis_759A033170D021C4C32B82A2D450ABEB" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Inventory [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PublicUtilitiesInventoryAxis" xlink:label="loc_us-gaap_PublicUtilitiesInventoryAxis_759A033170D021C4C32B82A2D450ABEB" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PublicUtilitiesInventoryAxis_759A033170D021C4C32B82A2D450ABEB" xlink:to="lab_us-gaap_PublicUtilitiesInventoryAxis_759A033170D021C4C32B82A2D450ABEB" xlink:type="arc" />
    <link:label id="lab_us-gaap_PublicUtilitiesInventoryTypeDomain_A529912FA9701F055DBA82A2D451E7FD_terseLabel_en-US" xlink:label="lab_us-gaap_PublicUtilitiesInventoryTypeDomain_A529912FA9701F055DBA82A2D451E7FD" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Inventory [Domain]</link:label>
    <link:label id="lab_us-gaap_PublicUtilitiesInventoryTypeDomain_A529912FA9701F055DBA82A2D451E7FD_label_en-US" xlink:label="lab_us-gaap_PublicUtilitiesInventoryTypeDomain_A529912FA9701F055DBA82A2D451E7FD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Inventory [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PublicUtilitiesInventoryTypeDomain" xlink:label="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_A529912FA9701F055DBA82A2D451E7FD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_A529912FA9701F055DBA82A2D451E7FD" xlink:to="lab_us-gaap_PublicUtilitiesInventoryTypeDomain_A529912FA9701F055DBA82A2D451E7FD" xlink:type="arc" />
    <link:label id="lab_ubnt_FinishedGoodsMember_164F03794B7A95C58C3482A2D45103CA_terseLabel_en-US" xlink:label="lab_ubnt_FinishedGoodsMember_164F03794B7A95C58C3482A2D45103CA" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Finished goods</link:label>
    <link:label id="lab_ubnt_FinishedGoodsMember_164F03794B7A95C58C3482A2D45103CA_label_en-US" xlink:label="lab_ubnt_FinishedGoodsMember_164F03794B7A95C58C3482A2D45103CA" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Finished Goods [Member]</link:label>
    <link:label id="lab_ubnt_FinishedGoodsMember_164F03794B7A95C58C3482A2D45103CA_documentation_en-US" xlink:label="lab_ubnt_FinishedGoodsMember_164F03794B7A95C58C3482A2D45103CA" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Finished Goods [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_FinishedGoodsMember" xlink:label="loc_ubnt_FinishedGoodsMember_164F03794B7A95C58C3482A2D45103CA" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_FinishedGoodsMember_164F03794B7A95C58C3482A2D45103CA" xlink:to="lab_ubnt_FinishedGoodsMember_164F03794B7A95C58C3482A2D45103CA" xlink:type="arc" />
    <link:label id="lab_us-gaap_PublicUtilitiesInventoryRawMaterialsMember_E38CF423E7D831501E6882A2D452A66D_terseLabel_en-US" xlink:label="lab_us-gaap_PublicUtilitiesInventoryRawMaterialsMember_E38CF423E7D831501E6882A2D452A66D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Raw materials</link:label>
    <link:label id="lab_us-gaap_PublicUtilitiesInventoryRawMaterialsMember_E38CF423E7D831501E6882A2D452A66D_label_en-US" xlink:label="lab_us-gaap_PublicUtilitiesInventoryRawMaterialsMember_E38CF423E7D831501E6882A2D452A66D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Raw Materials [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PublicUtilitiesInventoryRawMaterialsMember" xlink:label="loc_us-gaap_PublicUtilitiesInventoryRawMaterialsMember_E38CF423E7D831501E6882A2D452A66D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PublicUtilitiesInventoryRawMaterialsMember_E38CF423E7D831501E6882A2D452A66D" xlink:to="lab_us-gaap_PublicUtilitiesInventoryRawMaterialsMember_E38CF423E7D831501E6882A2D452A66D" xlink:type="arc" />
    <link:label id="lab_ubnt_ComponentsMember_0BD4F681D38E5F9FC04982FEA6C9D76D_terseLabel_en-US" xlink:label="lab_ubnt_ComponentsMember_0BD4F681D38E5F9FC04982FEA6C9D76D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Components</link:label>
    <link:label id="lab_ubnt_ComponentsMember_0BD4F681D38E5F9FC04982FEA6C9D76D_label_en-US" xlink:label="lab_ubnt_ComponentsMember_0BD4F681D38E5F9FC04982FEA6C9D76D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Components [Member]</link:label>
    <link:label id="lab_ubnt_ComponentsMember_0BD4F681D38E5F9FC04982FEA6C9D76D_documentation_en-US" xlink:label="lab_ubnt_ComponentsMember_0BD4F681D38E5F9FC04982FEA6C9D76D" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Components [Member]</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_ComponentsMember" xlink:label="loc_ubnt_ComponentsMember_0BD4F681D38E5F9FC04982FEA6C9D76D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_ComponentsMember_0BD4F681D38E5F9FC04982FEA6C9D76D" xlink:to="lab_ubnt_ComponentsMember_0BD4F681D38E5F9FC04982FEA6C9D76D" xlink:type="arc" />
    <link:label id="lab_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems_CF9421E786A2F48312C882A2D4526508_terseLabel_en-US" xlink:label="lab_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems_CF9421E786A2F48312C882A2D4526508" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Property Subject to or Available for Operating Lease [Line Items]</link:label>
    <link:label id="lab_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems_CF9421E786A2F48312C882A2D4526508_label_en-US" xlink:label="lab_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems_CF9421E786A2F48312C882A2D4526508" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Property Subject to or Available for Operating Lease [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems_CF9421E786A2F48312C882A2D4526508" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems_CF9421E786A2F48312C882A2D4526508" xlink:to="lab_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems_CF9421E786A2F48312C882A2D4526508" xlink:type="arc" />
    <link:label id="lab_us-gaap_PurchaseObligation_51CFD6754889A7AC221C82A2D453777D_terseLabel_en-US" xlink:label="lab_us-gaap_PurchaseObligation_51CFD6754889A7AC221C82A2D453777D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Inventory purchase obligation</link:label>
    <link:label id="lab_us-gaap_PurchaseObligation_51CFD6754889A7AC221C82A2D453777D_label_en-US" xlink:label="lab_us-gaap_PurchaseObligation_51CFD6754889A7AC221C82A2D453777D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Purchase Obligation</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PurchaseObligation" xlink:label="loc_us-gaap_PurchaseObligation_51CFD6754889A7AC221C82A2D453777D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PurchaseObligation_51CFD6754889A7AC221C82A2D453777D" xlink:to="lab_us-gaap_PurchaseObligation_51CFD6754889A7AC221C82A2D453777D" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherCommitment_43DA6B49B4884A725AA082A2D4534632_terseLabel_en-US" xlink:label="lab_us-gaap_OtherCommitment_43DA6B49B4884A725AA082A2D4534632" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other obligations</link:label>
    <link:label id="lab_us-gaap_OtherCommitment_43DA6B49B4884A725AA082A2D4534632_label_en-US" xlink:label="lab_us-gaap_OtherCommitment_43DA6B49B4884A725AA082A2D4534632" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Commitment</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherCommitment" xlink:label="loc_us-gaap_OtherCommitment_43DA6B49B4884A725AA082A2D4534632" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherCommitment_43DA6B49B4884A725AA082A2D4534632" xlink:to="lab_us-gaap_OtherCommitment_43DA6B49B4884A725AA082A2D4534632" xlink:type="arc" />
    <link:label id="lab_us-gaap_SegmentReportingDisclosureTextBlock_463945FB2EE2835AB00A1CBF87384CF6_terseLabel_en-US" xlink:label="lab_us-gaap_SegmentReportingDisclosureTextBlock_463945FB2EE2835AB00A1CBF87384CF6" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">SEGMENT INFORMATION, REVENUES BY GEOGRAPHY AND SIGNIFICANT CUSTOMERS</link:label>
    <link:label id="lab_us-gaap_SegmentReportingDisclosureTextBlock_463945FB2EE2835AB00A1CBF87384CF6_label_en-US" xlink:label="lab_us-gaap_SegmentReportingDisclosureTextBlock_463945FB2EE2835AB00A1CBF87384CF6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Segment Reporting Disclosure [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingDisclosureTextBlock" xlink:label="loc_us-gaap_SegmentReportingDisclosureTextBlock_463945FB2EE2835AB00A1CBF87384CF6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingDisclosureTextBlock_463945FB2EE2835AB00A1CBF87384CF6" xlink:to="lab_us-gaap_SegmentReportingDisclosureTextBlock_463945FB2EE2835AB00A1CBF87384CF6" xlink:type="arc" />
    <link:label id="lab_us-gaap_NumberOfOperatingSegments_049DBF33F5C3B8D6ED11D61EE15BEAAF_terseLabel_en-US" xlink:label="lab_us-gaap_NumberOfOperatingSegments_049DBF33F5C3B8D6ED11D61EE15BEAAF" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Number of operating segments</link:label>
    <link:label id="lab_us-gaap_NumberOfOperatingSegments_049DBF33F5C3B8D6ED11D61EE15BEAAF_label_en-US" xlink:label="lab_us-gaap_NumberOfOperatingSegments_049DBF33F5C3B8D6ED11D61EE15BEAAF" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Number of Operating Segments</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfOperatingSegments" xlink:label="loc_us-gaap_NumberOfOperatingSegments_049DBF33F5C3B8D6ED11D61EE15BEAAF" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NumberOfOperatingSegments_049DBF33F5C3B8D6ED11D61EE15BEAAF" xlink:to="lab_us-gaap_NumberOfOperatingSegments_049DBF33F5C3B8D6ED11D61EE15BEAAF" xlink:type="arc" />
    <link:label id="lab_us-gaap_NumberOfReportableSegments_73A150E22160A7D18081D6217DA4DC75_terseLabel_en-US" xlink:label="lab_us-gaap_NumberOfReportableSegments_73A150E22160A7D18081D6217DA4DC75" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Number of reportable segments</link:label>
    <link:label id="lab_us-gaap_NumberOfReportableSegments_73A150E22160A7D18081D6217DA4DC75_label_en-US" xlink:label="lab_us-gaap_NumberOfReportableSegments_73A150E22160A7D18081D6217DA4DC75" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Number of Reportable Segments</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfReportableSegments" xlink:label="loc_us-gaap_NumberOfReportableSegments_73A150E22160A7D18081D6217DA4DC75" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NumberOfReportableSegments_73A150E22160A7D18081D6217DA4DC75" xlink:to="lab_us-gaap_NumberOfReportableSegments_73A150E22160A7D18081D6217DA4DC75" xlink:type="arc" />
    <link:label id="lab_ubnt_NumberofSubsegments_2FE9885183666180258AD61EE15C5512_terseLabel_en-US" xlink:label="lab_ubnt_NumberofSubsegments_2FE9885183666180258AD61EE15C5512" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Number of primary categories</link:label>
    <link:label id="lab_ubnt_NumberofSubsegments_2FE9885183666180258AD61EE15C5512_label_en-US" xlink:label="lab_ubnt_NumberofSubsegments_2FE9885183666180258AD61EE15C5512" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Number of Subsegments</link:label>
    <link:label id="lab_ubnt_NumberofSubsegments_2FE9885183666180258AD61EE15C5512_documentation_en-US" xlink:label="lab_ubnt_NumberofSubsegments_2FE9885183666180258AD61EE15C5512" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Number of Subsegments</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_NumberofSubsegments" xlink:label="loc_ubnt_NumberofSubsegments_2FE9885183666180258AD61EE15C5512" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_NumberofSubsegments_2FE9885183666180258AD61EE15C5512" xlink:to="lab_ubnt_NumberofSubsegments_2FE9885183666180258AD61EE15C5512" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeStatementAbstract_D4034968BD58E323E2B8EAFDF1D7167B_label_en-US" xlink:label="lab_us-gaap_IncomeStatementAbstract_D4034968BD58E323E2B8EAFDF1D7167B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Statement [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementAbstract" xlink:label="loc_us-gaap_IncomeStatementAbstract_D4034968BD58E323E2B8EAFDF1D7167B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeStatementAbstract_D4034968BD58E323E2B8EAFDF1D7167B" xlink:to="lab_us-gaap_IncomeStatementAbstract_D4034968BD58E323E2B8EAFDF1D7167B" xlink:type="arc" />
    <link:label id="lab_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_65F39078F0FDF676E3B4EAFDF1D8C592_terseLabel_en-US" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_65F39078F0FDF676E3B4EAFDF1D8C592" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Revenues</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_65F39078F0FDF676E3B4EAFDF1D8C592" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_65F39078F0FDF676E3B4EAFDF1D8C592" xlink:to="lab_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_65F39078F0FDF676E3B4EAFDF1D8C592" xlink:type="arc" />
    <link:label id="lab_us-gaap_CostOfGoodsAndServicesSold_77CC2373F98B915021EFEAFDF1D8514C_terseLabel_en-US" xlink:label="lab_us-gaap_CostOfGoodsAndServicesSold_77CC2373F98B915021EFEAFDF1D8514C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cost of revenues</link:label>
    <link:label id="lab_us-gaap_CostOfGoodsAndServicesSold_77CC2373F98B915021EFEAFDF1D8514C_label_en-US" xlink:label="lab_us-gaap_CostOfGoodsAndServicesSold_77CC2373F98B915021EFEAFDF1D8514C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cost of Goods and Services Sold</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_77CC2373F98B915021EFEAFDF1D8514C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CostOfGoodsAndServicesSold_77CC2373F98B915021EFEAFDF1D8514C" xlink:to="lab_us-gaap_CostOfGoodsAndServicesSold_77CC2373F98B915021EFEAFDF1D8514C" xlink:type="arc" />
    <link:label id="lab_us-gaap_GrossProfit_689F21C9F9C60FEC9BCDEAFDF1D8423C_totalLabel_en-US" xlink:label="lab_us-gaap_GrossProfit_689F21C9F9C60FEC9BCDEAFDF1D8423C" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Gross profit</link:label>
    <link:label id="lab_us-gaap_GrossProfit_689F21C9F9C60FEC9BCDEAFDF1D8423C_label_en-US" xlink:label="lab_us-gaap_GrossProfit_689F21C9F9C60FEC9BCDEAFDF1D8423C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Gross Profit</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_689F21C9F9C60FEC9BCDEAFDF1D8423C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GrossProfit_689F21C9F9C60FEC9BCDEAFDF1D8423C" xlink:to="lab_us-gaap_GrossProfit_689F21C9F9C60FEC9BCDEAFDF1D8423C" xlink:type="arc" />
    <link:label id="lab_us-gaap_OperatingExpensesAbstract_A47C7A8090D28D2222A0EAFDF1D8CABE_terseLabel_en-US" xlink:label="lab_us-gaap_OperatingExpensesAbstract_A47C7A8090D28D2222A0EAFDF1D8CABE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Operating expenses:</link:label>
    <link:label id="lab_us-gaap_OperatingExpensesAbstract_A47C7A8090D28D2222A0EAFDF1D8CABE_label_en-US" xlink:label="lab_us-gaap_OperatingExpensesAbstract_A47C7A8090D28D2222A0EAFDF1D8CABE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Operating Expenses [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_A47C7A8090D28D2222A0EAFDF1D8CABE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingExpensesAbstract_A47C7A8090D28D2222A0EAFDF1D8CABE" xlink:to="lab_us-gaap_OperatingExpensesAbstract_A47C7A8090D28D2222A0EAFDF1D8CABE" xlink:type="arc" />
    <link:label id="lab_us-gaap_ResearchAndDevelopmentExpense_7779E8CE65EEDA0DC348EAFDF1D9AA3F_terseLabel_en-US" xlink:label="lab_us-gaap_ResearchAndDevelopmentExpense_7779E8CE65EEDA0DC348EAFDF1D9AA3F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Research and development</link:label>
    <link:label id="lab_us-gaap_ResearchAndDevelopmentExpense_7779E8CE65EEDA0DC348EAFDF1D9AA3F_label_en-US" xlink:label="lab_us-gaap_ResearchAndDevelopmentExpense_7779E8CE65EEDA0DC348EAFDF1D9AA3F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Research and Development Expense</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_7779E8CE65EEDA0DC348EAFDF1D9AA3F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpense_7779E8CE65EEDA0DC348EAFDF1D9AA3F" xlink:to="lab_us-gaap_ResearchAndDevelopmentExpense_7779E8CE65EEDA0DC348EAFDF1D9AA3F" xlink:type="arc" />
    <link:label id="lab_us-gaap_SellingGeneralAndAdministrativeExpense_6E12F1409E937AAC908FEAFDF1D955A9_terseLabel_en-US" xlink:label="lab_us-gaap_SellingGeneralAndAdministrativeExpense_6E12F1409E937AAC908FEAFDF1D955A9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Sales, general and administrative</link:label>
    <link:label id="lab_us-gaap_SellingGeneralAndAdministrativeExpense_6E12F1409E937AAC908FEAFDF1D955A9_label_en-US" xlink:label="lab_us-gaap_SellingGeneralAndAdministrativeExpense_6E12F1409E937AAC908FEAFDF1D955A9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Selling, General and Administrative Expense</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_6E12F1409E937AAC908FEAFDF1D955A9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SellingGeneralAndAdministrativeExpense_6E12F1409E937AAC908FEAFDF1D955A9" xlink:to="lab_us-gaap_SellingGeneralAndAdministrativeExpense_6E12F1409E937AAC908FEAFDF1D955A9" xlink:type="arc" />
    <link:label id="lab_us-gaap_OperatingExpenses_87A9E0657FABE8BBB149EAFDF1D94652_totalLabel_en-US" xlink:label="lab_us-gaap_OperatingExpenses_87A9E0657FABE8BBB149EAFDF1D94652" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total operating expenses</link:label>
    <link:label id="lab_us-gaap_OperatingExpenses_87A9E0657FABE8BBB149EAFDF1D94652_label_en-US" xlink:label="lab_us-gaap_OperatingExpenses_87A9E0657FABE8BBB149EAFDF1D94652" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Operating Expenses</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_87A9E0657FABE8BBB149EAFDF1D94652" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingExpenses_87A9E0657FABE8BBB149EAFDF1D94652" xlink:to="lab_us-gaap_OperatingExpenses_87A9E0657FABE8BBB149EAFDF1D94652" xlink:type="arc" />
    <link:label id="lab_us-gaap_OperatingIncomeLoss_8A351AD9DB1B9E7C63F9EAFDF1DE9385_totalLabel_en-US" xlink:label="lab_us-gaap_OperatingIncomeLoss_8A351AD9DB1B9E7C63F9EAFDF1DE9385" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Income from operations</link:label>
    <link:label id="lab_us-gaap_OperatingIncomeLoss_8A351AD9DB1B9E7C63F9EAFDF1DE9385_label_en-US" xlink:label="lab_us-gaap_OperatingIncomeLoss_8A351AD9DB1B9E7C63F9EAFDF1DE9385" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Operating Income (Loss)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_8A351AD9DB1B9E7C63F9EAFDF1DE9385" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingIncomeLoss_8A351AD9DB1B9E7C63F9EAFDF1DE9385" xlink:to="lab_us-gaap_OperatingIncomeLoss_8A351AD9DB1B9E7C63F9EAFDF1DE9385" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherNonoperatingIncomeExpense_67B9F02A2BE1EFF52C9CEAFDF1DE67CE_terseLabel_en-US" xlink:label="lab_us-gaap_OtherNonoperatingIncomeExpense_67B9F02A2BE1EFF52C9CEAFDF1DE67CE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest expense and other, net</link:label>
    <link:label id="lab_us-gaap_OtherNonoperatingIncomeExpense_67B9F02A2BE1EFF52C9CEAFDF1DE67CE_label_en-US" xlink:label="lab_us-gaap_OtherNonoperatingIncomeExpense_67B9F02A2BE1EFF52C9CEAFDF1DE67CE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Nonoperating Income (Expense)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_67B9F02A2BE1EFF52C9CEAFDF1DE67CE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_67B9F02A2BE1EFF52C9CEAFDF1DE67CE" xlink:to="lab_us-gaap_OtherNonoperatingIncomeExpense_67B9F02A2BE1EFF52C9CEAFDF1DE67CE" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_A783B10AF12C80FC0FE9EAFDF1DFC178_totalLabel_en-US" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_A783B10AF12C80FC0FE9EAFDF1DFC178" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Income before income taxes</link:label>
    <link:label id="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_A783B10AF12C80FC0FE9EAFDF1DFC178_label_en-US" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_A783B10AF12C80FC0FE9EAFDF1DFC178" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_A783B10AF12C80FC0FE9EAFDF1DFC178" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_A783B10AF12C80FC0FE9EAFDF1DFC178" xlink:to="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_A783B10AF12C80FC0FE9EAFDF1DFC178" xlink:type="arc" />
    <link:label id="lab_us-gaap_NetIncomeLoss_2A72A098BF5FA8C065DFEAFDF1DF9748_totalLabel_en-US" xlink:label="lab_us-gaap_NetIncomeLoss_2A72A098BF5FA8C065DFEAFDF1DF9748" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net income</link:label>
    <link:label id="lab_us-gaap_NetIncomeLoss_2A72A098BF5FA8C065DFEAFDF1DF9748_label_en-US" xlink:label="lab_us-gaap_NetIncomeLoss_2A72A098BF5FA8C065DFEAFDF1DF9748" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Income (Loss) Attributable to Parent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_2A72A098BF5FA8C065DFEAFDF1DF9748" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetIncomeLoss_2A72A098BF5FA8C065DFEAFDF1DF9748" xlink:to="lab_us-gaap_NetIncomeLoss_2A72A098BF5FA8C065DFEAFDF1DF9748" xlink:type="arc" />
    <link:label id="lab_us-gaap_EarningsPerShareAbstract_2A881D7FC0060271217AEAFDF1DF3987_terseLabel_en-US" xlink:label="lab_us-gaap_EarningsPerShareAbstract_2A881D7FC0060271217AEAFDF1DF3987" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net income per share of common stock:</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_2A881D7FC0060271217AEAFDF1DF3987" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareAbstract_2A881D7FC0060271217AEAFDF1DF3987" xlink:to="lab_us-gaap_EarningsPerShareAbstract_2A881D7FC0060271217AEAFDF1DF3987" xlink:type="arc" />
    <link:label id="lab_us-gaap_EarningsPerShareBasic_709158448F7385177147EAFDF1DF06F6_verboseLabel_en-US" xlink:label="lab_us-gaap_EarningsPerShareBasic_709158448F7385177147EAFDF1DF06F6" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Basic (in usd per share)</link:label>
    <link:label id="lab_us-gaap_EarningsPerShareBasic_709158448F7385177147EAFDF1DF06F6_label_en-US" xlink:label="lab_us-gaap_EarningsPerShareBasic_709158448F7385177147EAFDF1DF06F6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Earnings Per Share, Basic</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_709158448F7385177147EAFDF1DF06F6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareBasic_709158448F7385177147EAFDF1DF06F6" xlink:to="lab_us-gaap_EarningsPerShareBasic_709158448F7385177147EAFDF1DF06F6" xlink:type="arc" />
    <link:label id="lab_us-gaap_EarningsPerShareDiluted_3B1B45F45F5AEC552F4FEAFDF1E0085B_verboseLabel_en-US" xlink:label="lab_us-gaap_EarningsPerShareDiluted_3B1B45F45F5AEC552F4FEAFDF1E0085B" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Diluted (in usd per share)</link:label>
    <link:label id="lab_us-gaap_EarningsPerShareDiluted_3B1B45F45F5AEC552F4FEAFDF1E0085B_label_en-US" xlink:label="lab_us-gaap_EarningsPerShareDiluted_3B1B45F45F5AEC552F4FEAFDF1E0085B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Earnings Per Share, Diluted</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_3B1B45F45F5AEC552F4FEAFDF1E0085B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareDiluted_3B1B45F45F5AEC552F4FEAFDF1E0085B" xlink:to="lab_us-gaap_EarningsPerShareDiluted_3B1B45F45F5AEC552F4FEAFDF1E0085B" xlink:type="arc" />
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_01DC0CC62458B3F5071FEAFDF1E08369_verboseLabel_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_01DC0CC62458B3F5071FEAFDF1E08369" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Weighted average shares used in computing net income per share of common stock:</link:label>
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_01DC0CC62458B3F5071FEAFDF1E08369_label_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_01DC0CC62458B3F5071FEAFDF1E08369" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Diluted [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_01DC0CC62458B3F5071FEAFDF1E08369" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_01DC0CC62458B3F5071FEAFDF1E08369" xlink:to="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_01DC0CC62458B3F5071FEAFDF1E08369" xlink:type="arc" />
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_3CB3CB2BD136F2BF4DD4EAFDF1E0A12C_verboseLabel_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_3CB3CB2BD136F2BF4DD4EAFDF1E0A12C" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Basic (in shares)</link:label>
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_3CB3CB2BD136F2BF4DD4EAFDF1E0A12C_label_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_3CB3CB2BD136F2BF4DD4EAFDF1E0A12C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Basic</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_3CB3CB2BD136F2BF4DD4EAFDF1E0A12C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_3CB3CB2BD136F2BF4DD4EAFDF1E0A12C" xlink:to="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_3CB3CB2BD136F2BF4DD4EAFDF1E0A12C" xlink:type="arc" />
    <link:label id="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_20362BFD6A6FEDDDB70BEAFDF1E1FCAE_terseLabel_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_20362BFD6A6FEDDDB70BEAFDF1E1FCAE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Diluted (in shares)</link:label>
    <link:label id="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_20362BFD6A6FEDDDB70BEAFDF1E1FCAE_label_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_20362BFD6A6FEDDDB70BEAFDF1E1FCAE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Diluted</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_20362BFD6A6FEDDDB70BEAFDF1E1FCAE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_20362BFD6A6FEDDDB70BEAFDF1E1FCAE" xlink:to="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_20362BFD6A6FEDDDB70BEAFDF1E1FCAE" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_0B5E94AF466C7E119D7DEAFDF1E17434_label_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_0B5E94AF466C7E119D7DEAFDF1E17434" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_0B5E94AF466C7E119D7DEAFDF1E17434" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_0B5E94AF466C7E119D7DEAFDF1E17434" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_0B5E94AF466C7E119D7DEAFDF1E17434" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_A55DC9F546B27748607DEAFDF1E15286_terseLabel_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_A55DC9F546B27748607DEAFDF1E15286" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Unrealized (loss) on available-for-sale securities</link:label>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_A55DC9F546B27748607DEAFDF1E15286_label_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_A55DC9F546B27748607DEAFDF1E15286" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax, Portion Attributable to Parent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_A55DC9F546B27748607DEAFDF1E15286" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_A55DC9F546B27748607DEAFDF1E15286" xlink:to="lab_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_A55DC9F546B27748607DEAFDF1E15286" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_186CA3281E601D2079EBEAFDF1E100D0_totalLabel_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_186CA3281E601D2079EBEAFDF1E100D0" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Other comprehensive income (loss)</link:label>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_186CA3281E601D2079EBEAFDF1E100D0_label_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_186CA3281E601D2079EBEAFDF1E100D0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_186CA3281E601D2079EBEAFDF1E100D0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_186CA3281E601D2079EBEAFDF1E100D0" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_186CA3281E601D2079EBEAFDF1E100D0" xlink:type="arc" />
    <link:label id="lab_us-gaap_ComprehensiveIncomeNetOfTax_BDD8D4A4EA37593E3731EAFDF1E1FAD2_totalLabel_en-US" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTax_BDD8D4A4EA37593E3731EAFDF1E1FAD2" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Comprehensive income</link:label>
    <link:label id="lab_us-gaap_ComprehensiveIncomeNetOfTax_BDD8D4A4EA37593E3731EAFDF1E1FAD2_label_en-US" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTax_BDD8D4A4EA37593E3731EAFDF1E1FAD2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Comprehensive Income (Loss), Net of Tax, Attributable to Parent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_BDD8D4A4EA37593E3731EAFDF1E1FAD2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_BDD8D4A4EA37593E3731EAFDF1E1FAD2" xlink:to="lab_us-gaap_ComprehensiveIncomeNetOfTax_BDD8D4A4EA37593E3731EAFDF1E1FAD2" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8F6F7DAA82EDCAD25BAD10A591ABA2F_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8F6F7DAA82EDCAD25BAD10A591ABA2F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Award Type [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8F6F7DAA82EDCAD25BAD10A591ABA2F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8F6F7DAA82EDCAD25BAD10A591ABA2F" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_D8F6F7DAA82EDCAD25BAD10A591ABA2F" xlink:type="arc" />
    <link:label id="lab_us-gaap_EmployeeStockOptionMember_8E4C69791132372B8437D10A591A43AC_terseLabel_en-US" xlink:label="lab_us-gaap_EmployeeStockOptionMember_8E4C69791132372B8437D10A591A43AC" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Stock options</link:label>
    <link:label id="lab_us-gaap_EmployeeStockOptionMember_8E4C69791132372B8437D10A591A43AC_label_en-US" xlink:label="lab_us-gaap_EmployeeStockOptionMember_8E4C69791132372B8437D10A591A43AC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Employee Stock Option [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_8E4C69791132372B8437D10A591A43AC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EmployeeStockOptionMember_8E4C69791132372B8437D10A591A43AC" xlink:to="lab_us-gaap_EmployeeStockOptionMember_8E4C69791132372B8437D10A591A43AC" xlink:type="arc" />
    <link:label id="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_7111A007EC8A3EA36001D10A591B93CE_terseLabel_en-US" xlink:label="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_7111A007EC8A3EA36001D10A591B93CE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Numerator:</link:label>
    <link:label id="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_7111A007EC8A3EA36001D10A591B93CE_label_en-US" xlink:label="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_7111A007EC8A3EA36001D10A591B93CE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Income (Loss) Available to Common Stockholders, Diluted [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_7111A007EC8A3EA36001D10A591B93CE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_7111A007EC8A3EA36001D10A591B93CE" xlink:to="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_7111A007EC8A3EA36001D10A591B93CE" xlink:type="arc" />
    <link:label id="lab_us-gaap_NetIncomeLoss_CA138749E198FCCA0EE5D10A591BFA4A_verboseLabel_en-US" xlink:label="lab_us-gaap_NetIncomeLoss_CA138749E198FCCA0EE5D10A591BFA4A" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Net income</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_CA138749E198FCCA0EE5D10A591BFA4A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetIncomeLoss_CA138749E198FCCA0EE5D10A591BFA4A" xlink:to="lab_us-gaap_NetIncomeLoss_CA138749E198FCCA0EE5D10A591BFA4A" xlink:type="arc" />
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_B556A374169694FCEA60D10A591C355C_terseLabel_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_B556A374169694FCEA60D10A591C355C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Denominator:</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_B556A374169694FCEA60D10A591C355C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_B556A374169694FCEA60D10A591C355C" xlink:to="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_B556A374169694FCEA60D10A591C355C" xlink:type="arc" />
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_36E7ABACAC7BE8FCFE94D10A591C409B_terseLabel_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_36E7ABACAC7BE8FCFE94D10A591C409B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Weighted-average shares used in computing basic net income per share (in shares)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_36E7ABACAC7BE8FCFE94D10A591C409B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_36E7ABACAC7BE8FCFE94D10A591C409B" xlink:to="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_36E7ABACAC7BE8FCFE94D10A591C409B" xlink:type="arc" />
    <link:label id="lab_ubnt_DilutivePotentialCommonSharesAbstract_F4F3880EBE373707DE30D10A591C0A93_terseLabel_en-US" xlink:label="lab_ubnt_DilutivePotentialCommonSharesAbstract_F4F3880EBE373707DE30D10A591C0A93" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Add&#8212;dilutive potential common shares:</link:label>
    <link:label id="lab_ubnt_DilutivePotentialCommonSharesAbstract_F4F3880EBE373707DE30D10A591C0A93_label_en-US" xlink:label="lab_ubnt_DilutivePotentialCommonSharesAbstract_F4F3880EBE373707DE30D10A591C0A93" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Dilutive Potential Common Shares [Abstract]</link:label>
    <link:label id="lab_ubnt_DilutivePotentialCommonSharesAbstract_F4F3880EBE373707DE30D10A591C0A93_documentation_en-US" xlink:label="lab_ubnt_DilutivePotentialCommonSharesAbstract_F4F3880EBE373707DE30D10A591C0A93" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Dilutive potential common shares.</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_DilutivePotentialCommonSharesAbstract" xlink:label="loc_ubnt_DilutivePotentialCommonSharesAbstract_F4F3880EBE373707DE30D10A591C0A93" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_DilutivePotentialCommonSharesAbstract_F4F3880EBE373707DE30D10A591C0A93" xlink:to="lab_ubnt_DilutivePotentialCommonSharesAbstract_F4F3880EBE373707DE30D10A591C0A93" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_5894BFD1E72F7526F812D10A591C09B6_terseLabel_en-US" xlink:label="lab_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_5894BFD1E72F7526F812D10A591C09B6" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Dilutive potential common shares (in shares)</link:label>
    <link:label id="lab_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_5894BFD1E72F7526F812D10A591C09B6_label_en-US" xlink:label="lab_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_5894BFD1E72F7526F812D10A591C09B6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Incremental Common Shares Attributable to Dilutive Effect of Share-based Payment Arrangements</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_5894BFD1E72F7526F812D10A591C09B6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_5894BFD1E72F7526F812D10A591C09B6" xlink:to="lab_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_5894BFD1E72F7526F812D10A591C09B6" xlink:type="arc" />
    <link:label id="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_968F200A57CC3D2CCC1BD10A591D15D4_verboseLabel_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_968F200A57CC3D2CCC1BD10A591D15D4" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Weighted-average shares used in computing diluted net income per share (in shares)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_968F200A57CC3D2CCC1BD10A591D15D4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_968F200A57CC3D2CCC1BD10A591D15D4" xlink:to="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_968F200A57CC3D2CCC1BD10A591D15D4" xlink:type="arc" />
    <link:label id="lab_us-gaap_EarningsPerShareBasicAndDilutedAbstract_11F0F8ACD3727B540AC7D10A591DDA9A_terseLabel_en-US" xlink:label="lab_us-gaap_EarningsPerShareBasicAndDilutedAbstract_11F0F8ACD3727B540AC7D10A591DDA9A" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net income per share of common stock:</link:label>
    <link:label id="lab_us-gaap_EarningsPerShareBasicAndDilutedAbstract_11F0F8ACD3727B540AC7D10A591DDA9A_label_en-US" xlink:label="lab_us-gaap_EarningsPerShareBasicAndDilutedAbstract_11F0F8ACD3727B540AC7D10A591DDA9A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Earnings Per Share, Basic and Diluted [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasicAndDilutedAbstract" xlink:label="loc_us-gaap_EarningsPerShareBasicAndDilutedAbstract_11F0F8ACD3727B540AC7D10A591DDA9A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareBasicAndDilutedAbstract_11F0F8ACD3727B540AC7D10A591DDA9A" xlink:to="lab_us-gaap_EarningsPerShareBasicAndDilutedAbstract_11F0F8ACD3727B540AC7D10A591DDA9A" xlink:type="arc" />
    <link:label id="lab_us-gaap_ContractWithCustomerLiabilityNoncurrent_BDD6D8AEB64F39722755D10A58E27944_terseLabel_en-US" xlink:label="lab_us-gaap_ContractWithCustomerLiabilityNoncurrent_BDD6D8AEB64F39722755D10A58E27944" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Deferred Revenue &#8212; long-term</link:label>
    <link:label id="lab_us-gaap_ContractWithCustomerLiabilityNoncurrent_BDD6D8AEB64F39722755D10A58E27944_label_en-US" xlink:label="lab_us-gaap_ContractWithCustomerLiabilityNoncurrent_BDD6D8AEB64F39722755D10A58E27944" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Contract with Customer, Liability, Noncurrent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_BDD6D8AEB64F39722755D10A58E27944" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_BDD6D8AEB64F39722755D10A58E27944" xlink:to="lab_us-gaap_ContractWithCustomerLiabilityNoncurrent_BDD6D8AEB64F39722755D10A58E27944" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherSundryLiabilitiesNoncurrent_1BA7F015581D6DAD82C5D10A58E30731_terseLabel_en-US" xlink:label="lab_us-gaap_OtherSundryLiabilitiesNoncurrent_1BA7F015581D6DAD82C5D10A58E30731" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other long-term liabilities</link:label>
    <link:label id="lab_us-gaap_OtherSundryLiabilitiesNoncurrent_1BA7F015581D6DAD82C5D10A58E30731_label_en-US" xlink:label="lab_us-gaap_OtherSundryLiabilitiesNoncurrent_1BA7F015581D6DAD82C5D10A58E30731" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Sundry Liabilities, Noncurrent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherSundryLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherSundryLiabilitiesNoncurrent_1BA7F015581D6DAD82C5D10A58E30731" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherSundryLiabilitiesNoncurrent_1BA7F015581D6DAD82C5D10A58E30731" xlink:to="lab_us-gaap_OtherSundryLiabilitiesNoncurrent_1BA7F015581D6DAD82C5D10A58E30731" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherLiabilitiesNoncurrent_24EDAD3D51EFF84A417BD10A58E37119_totalLabel_en-US" xlink:label="lab_us-gaap_OtherLiabilitiesNoncurrent_24EDAD3D51EFF84A417BD10A58E37119" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total</link:label>
    <link:label id="lab_us-gaap_OtherLiabilitiesNoncurrent_24EDAD3D51EFF84A417BD10A58E37119_label_en-US" xlink:label="lab_us-gaap_OtherLiabilitiesNoncurrent_24EDAD3D51EFF84A417BD10A58E37119" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Liabilities, Noncurrent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_24EDAD3D51EFF84A417BD10A58E37119" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_24EDAD3D51EFF84A417BD10A58E37119" xlink:to="lab_us-gaap_OtherLiabilitiesNoncurrent_24EDAD3D51EFF84A417BD10A58E37119" xlink:type="arc" />
    <link:label id="lab_us-gaap_AccruedLiabilitiesCurrent_839B64095BF1C9CB5334EAC7CBC540FE_terseLabel_en-US" xlink:label="lab_us-gaap_AccruedLiabilitiesCurrent_839B64095BF1C9CB5334EAC7CBC540FE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accrued expenses</link:label>
    <link:label id="lab_us-gaap_AccruedLiabilitiesCurrent_839B64095BF1C9CB5334EAC7CBC540FE_label_en-US" xlink:label="lab_us-gaap_AccruedLiabilitiesCurrent_839B64095BF1C9CB5334EAC7CBC540FE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accrued Liabilities, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_839B64095BF1C9CB5334EAC7CBC540FE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_839B64095BF1C9CB5334EAC7CBC540FE" xlink:to="lab_us-gaap_AccruedLiabilitiesCurrent_839B64095BF1C9CB5334EAC7CBC540FE" xlink:type="arc" />
    <link:label id="lab_us-gaap_AccruedEmployeeBenefitsCurrent_5662C137FB2F7CFE0ACAEAC7CBC6EF70_terseLabel_en-US" xlink:label="lab_us-gaap_AccruedEmployeeBenefitsCurrent_5662C137FB2F7CFE0ACAEAC7CBC6EF70" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accrued compensation and benefits</link:label>
    <link:label id="lab_us-gaap_AccruedEmployeeBenefitsCurrent_5662C137FB2F7CFE0ACAEAC7CBC6EF70_label_en-US" xlink:label="lab_us-gaap_AccruedEmployeeBenefitsCurrent_5662C137FB2F7CFE0ACAEAC7CBC6EF70" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accrued Employee Benefits, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedEmployeeBenefitsCurrent" xlink:label="loc_us-gaap_AccruedEmployeeBenefitsCurrent_5662C137FB2F7CFE0ACAEAC7CBC6EF70" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccruedEmployeeBenefitsCurrent_5662C137FB2F7CFE0ACAEAC7CBC6EF70" xlink:to="lab_us-gaap_AccruedEmployeeBenefitsCurrent_5662C137FB2F7CFE0ACAEAC7CBC6EF70" xlink:type="arc" />
    <link:label id="lab_us-gaap_StandardProductWarrantyAccrual_9585971F541E2E1E2A58EAC7CBC62BE3_terseLabel_en-US" xlink:label="lab_us-gaap_StandardProductWarrantyAccrual_9585971F541E2E1E2A58EAC7CBC62BE3" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Warranty accrual</link:label>
    <link:label id="lab_us-gaap_StandardProductWarrantyAccrual_9585971F541E2E1E2A58EAC7CBC62BE3_label_en-US" xlink:label="lab_us-gaap_StandardProductWarrantyAccrual_9585971F541E2E1E2A58EAC7CBC62BE3" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Standard Product Warranty Accrual</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_9585971F541E2E1E2A58EAC7CBC62BE3" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrual_9585971F541E2E1E2A58EAC7CBC62BE3" xlink:to="lab_us-gaap_StandardProductWarrantyAccrual_9585971F541E2E1E2A58EAC7CBC62BE3" xlink:type="arc" />
    <link:label id="lab_us-gaap_ContractWithCustomerLiabilityCurrent_21DDCA12D07EEDA000E9EAC7CBC65407_terseLabel_en-US" xlink:label="lab_us-gaap_ContractWithCustomerLiabilityCurrent_21DDCA12D07EEDA000E9EAC7CBC65407" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Deferred revenue &#8212; short-term</link:label>
    <link:label id="lab_us-gaap_ContractWithCustomerLiabilityCurrent_21DDCA12D07EEDA000E9EAC7CBC65407_label_en-US" xlink:label="lab_us-gaap_ContractWithCustomerLiabilityCurrent_21DDCA12D07EEDA000E9EAC7CBC65407" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Contract with Customer, Liability, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_21DDCA12D07EEDA000E9EAC7CBC65407" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ContractWithCustomerLiabilityCurrent_21DDCA12D07EEDA000E9EAC7CBC65407" xlink:to="lab_us-gaap_ContractWithCustomerLiabilityCurrent_21DDCA12D07EEDA000E9EAC7CBC65407" xlink:type="arc" />
    <link:label id="lab_us-gaap_CustomerDepositsCurrent_0BFCE59D9B2163467416EAD53D30B045_terseLabel_en-US" xlink:label="lab_us-gaap_CustomerDepositsCurrent_0BFCE59D9B2163467416EAD53D30B045" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Customer deposits</link:label>
    <link:label id="lab_us-gaap_CustomerDepositsCurrent_0BFCE59D9B2163467416EAD53D30B045_label_en-US" xlink:label="lab_us-gaap_CustomerDepositsCurrent_0BFCE59D9B2163467416EAD53D30B045" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Customer Deposits, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerDepositsCurrent" xlink:label="loc_us-gaap_CustomerDepositsCurrent_0BFCE59D9B2163467416EAD53D30B045" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CustomerDepositsCurrent_0BFCE59D9B2163467416EAD53D30B045" xlink:to="lab_us-gaap_CustomerDepositsCurrent_0BFCE59D9B2163467416EAD53D30B045" xlink:type="arc" />
    <link:label id="lab_ubnt_ReserveforSalesReturnsCurrent_E6C364130B8C2630D43BEAC7CBC6CDC6_terseLabel_en-US" xlink:label="lab_ubnt_ReserveforSalesReturnsCurrent_E6C364130B8C2630D43BEAC7CBC6CDC6" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Reserve for sales returns</link:label>
    <link:label id="lab_ubnt_ReserveforSalesReturnsCurrent_E6C364130B8C2630D43BEAC7CBC6CDC6_label_en-US" xlink:label="lab_ubnt_ReserveforSalesReturnsCurrent_E6C364130B8C2630D43BEAC7CBC6CDC6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Reserve for Sales Returns, Current</link:label>
    <link:label id="lab_ubnt_ReserveforSalesReturnsCurrent_E6C364130B8C2630D43BEAC7CBC6CDC6_documentation_en-US" xlink:label="lab_ubnt_ReserveforSalesReturnsCurrent_E6C364130B8C2630D43BEAC7CBC6CDC6" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Reserve for Sales Returns, Current</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_ReserveforSalesReturnsCurrent" xlink:label="loc_ubnt_ReserveforSalesReturnsCurrent_E6C364130B8C2630D43BEAC7CBC6CDC6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_ReserveforSalesReturnsCurrent_E6C364130B8C2630D43BEAC7CBC6CDC6" xlink:to="lab_ubnt_ReserveforSalesReturnsCurrent_E6C364130B8C2630D43BEAC7CBC6CDC6" xlink:type="arc" />
    <link:label id="lab_us-gaap_AccountsPayableOtherCurrent_360888A844654792A69EEAC7CBC6CBAB_terseLabel_en-US" xlink:label="lab_us-gaap_AccountsPayableOtherCurrent_360888A844654792A69EEAC7CBC6CBAB" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other payables</link:label>
    <link:label id="lab_us-gaap_AccountsPayableOtherCurrent_360888A844654792A69EEAC7CBC6CBAB_label_en-US" xlink:label="lab_us-gaap_AccountsPayableOtherCurrent_360888A844654792A69EEAC7CBC6CBAB" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accounts Payable, Other, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableOtherCurrent" xlink:label="loc_us-gaap_AccountsPayableOtherCurrent_360888A844654792A69EEAC7CBC6CBAB" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsPayableOtherCurrent_360888A844654792A69EEAC7CBC6CBAB" xlink:to="lab_us-gaap_AccountsPayableOtherCurrent_360888A844654792A69EEAC7CBC6CBAB" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherLiabilitiesCurrent_6E5E7B4F58AD01440A04EAC7CBC7824B_totalLabel_en-US" xlink:label="lab_us-gaap_OtherLiabilitiesCurrent_6E5E7B4F58AD01440A04EAC7CBC7824B" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total</link:label>
    <link:label id="lab_us-gaap_OtherLiabilitiesCurrent_6E5E7B4F58AD01440A04EAC7CBC7824B_label_en-US" xlink:label="lab_us-gaap_OtherLiabilitiesCurrent_6E5E7B4F58AD01440A04EAC7CBC7824B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Liabilities, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_6E5E7B4F58AD01440A04EAC7CBC7824B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_6E5E7B4F58AD01440A04EAC7CBC7824B" xlink:to="lab_us-gaap_OtherLiabilitiesCurrent_6E5E7B4F58AD01440A04EAC7CBC7824B" xlink:type="arc" />
    <link:label id="lab_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_E68DD04780240DA5732B318903AAD8E9_terseLabel_en-US" xlink:label="lab_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_E68DD04780240DA5732B318903AAD8E9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Authorized shares, stock incentive plans (in shares)</link:label>
    <link:label id="lab_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_E68DD04780240DA5732B318903AAD8E9_label_en-US" xlink:label="lab_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_E68DD04780240DA5732B318903AAD8E9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Stock, Capital Shares Reserved for Future Issuance</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_E68DD04780240DA5732B318903AAD8E9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_E68DD04780240DA5732B318903AAD8E9" xlink:to="lab_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_E68DD04780240DA5732B318903AAD8E9" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_9470E2A12A0D39815C013153A39D5AAB_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_9470E2A12A0D39815C013153A39D5AAB" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aggregate intrinsic value of options exercised</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_9470E2A12A0D39815C013153A39D5AAB_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_9470E2A12A0D39815C013153A39D5AAB" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_9470E2A12A0D39815C013153A39D5AAB" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_9470E2A12A0D39815C013153A39D5AAB" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_9470E2A12A0D39815C013153A39D5AAB" xlink:type="arc" />
    <link:label id="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_5834FE29F9895ED7FAD93153A39D8839_terseLabel_en-US" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_5834FE29F9895ED7FAD93153A39D8839" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Unrecognized compensation costs</link:label>
    <link:label id="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_5834FE29F9895ED7FAD93153A39D8839_label_en-US" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_5834FE29F9895ED7FAD93153A39D8839" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Stock Options</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_5834FE29F9895ED7FAD93153A39D8839" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_5834FE29F9895ED7FAD93153A39D8839" xlink:to="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_5834FE29F9895ED7FAD93153A39D8839" xlink:type="arc" />
    <link:label id="lab_ubnt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionVestedInPeriodIntrinsicValue_37461F44921E1B41C39D3153A39D0FED_terseLabel_en-US" xlink:label="lab_ubnt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionVestedInPeriodIntrinsicValue_37461F44921E1B41C39D3153A39D0FED" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Intrinsic value of RSUs vested</link:label>
    <link:label id="lab_ubnt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionVestedInPeriodIntrinsicValue_37461F44921E1B41C39D3153A39D0FED_label_en-US" xlink:label="lab_ubnt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionVestedInPeriodIntrinsicValue_37461F44921E1B41C39D3153A39D0FED" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Option Vested In Period Intrinsic Value</link:label>
    <link:label id="lab_ubnt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionVestedInPeriodIntrinsicValue_37461F44921E1B41C39D3153A39D0FED_documentation_en-US" xlink:label="lab_ubnt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionVestedInPeriodIntrinsicValue_37461F44921E1B41C39D3153A39D0FED" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Share based compensation arrangement by share based payment award equity instruments other than option vested in period intrinsic value.</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionVestedInPeriodIntrinsicValue" xlink:label="loc_ubnt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionVestedInPeriodIntrinsicValue_37461F44921E1B41C39D3153A39D0FED" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionVestedInPeriodIntrinsicValue_37461F44921E1B41C39D3153A39D0FED" xlink:to="lab_ubnt_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionVestedInPeriodIntrinsicValue_37461F44921E1B41C39D3153A39D0FED" xlink:type="arc" />
    <link:label id="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding_F6FFF616AB2B3A108F163153A39D143B_terseLabel_en-US" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding_F6FFF616AB2B3A108F163153A39D143B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Intrinsic value of RSUs outstanding</link:label>
    <link:label id="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding_F6FFF616AB2B3A108F163153A39D143B_label_en-US" xlink:label="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding_F6FFF616AB2B3A108F163153A39D143B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Outstanding</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding_F6FFF616AB2B3A108F163153A39D143B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding_F6FFF616AB2B3A108F163153A39D143B" xlink:to="lab_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding_F6FFF616AB2B3A108F163153A39D143B" xlink:type="arc" />
    <link:label id="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_DF14B38E6F6A70597BFF31942389A910_terseLabel_en-US" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_DF14B38E6F6A70597BFF31942389A910" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Share-based Awards Other than Options</link:label>
    <link:label id="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_DF14B38E6F6A70597BFF31942389A910_label_en-US" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_DF14B38E6F6A70597BFF31942389A910" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Share-based Awards Other than Options</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_DF14B38E6F6A70597BFF31942389A910" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_DF14B38E6F6A70597BFF31942389A910" xlink:to="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_DF14B38E6F6A70597BFF31942389A910" xlink:type="arc" />
    <link:label id="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_182460A4CF1D5AD724D83153A39D409F_terseLabel_en-US" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_182460A4CF1D5AD724D83153A39D409F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Weighted-average period recognized (in years)</link:label>
    <link:label id="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_182460A4CF1D5AD724D83153A39D409F_label_en-US" xlink:label="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_182460A4CF1D5AD724D83153A39D409F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized, Period for Recognition</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_182460A4CF1D5AD724D83153A39D409F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_182460A4CF1D5AD724D83153A39D409F" xlink:to="lab_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_182460A4CF1D5AD724D83153A39D409F" xlink:type="arc" />
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_A8B0D26F75D35AC830CD82A2D43FCE90_terseLabel_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_A8B0D26F75D35AC830CD82A2D43FCE90" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Operating leases, 2019 (remainder)</link:label>
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_A8B0D26F75D35AC830CD82A2D43FCE90_label_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_A8B0D26F75D35AC830CD82A2D43FCE90" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Operating Leases, Future Minimum Payments, Remainder of Fiscal Year</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_A8B0D26F75D35AC830CD82A2D43FCE90" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_A8B0D26F75D35AC830CD82A2D43FCE90" xlink:to="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_A8B0D26F75D35AC830CD82A2D43FCE90" xlink:type="arc" />
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_7E2C68F690880212765982A2D43F3272_terseLabel_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_7E2C68F690880212765982A2D43F3272" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Operating leases, 2020</link:label>
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_7E2C68F690880212765982A2D43F3272_label_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_7E2C68F690880212765982A2D43F3272" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Operating Leases, Future Minimum Payments, Due in Two Years</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_7E2C68F690880212765982A2D43F3272" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_7E2C68F690880212765982A2D43F3272" xlink:to="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_7E2C68F690880212765982A2D43F3272" xlink:type="arc" />
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_713F5BF8243F2DCB061382A2D43FAE84_terseLabel_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_713F5BF8243F2DCB061382A2D43FAE84" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Operating leases, 2021</link:label>
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_713F5BF8243F2DCB061382A2D43FAE84_label_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_713F5BF8243F2DCB061382A2D43FAE84" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Operating Leases, Future Minimum Payments, Due in Three Years</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_713F5BF8243F2DCB061382A2D43FAE84" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_713F5BF8243F2DCB061382A2D43FAE84" xlink:to="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_713F5BF8243F2DCB061382A2D43FAE84" xlink:type="arc" />
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_993CB41BB3822150A7AF82A2D440DE6F_terseLabel_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_993CB41BB3822150A7AF82A2D440DE6F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Operating leases, 2022</link:label>
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_993CB41BB3822150A7AF82A2D440DE6F_label_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_993CB41BB3822150A7AF82A2D440DE6F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Operating Leases, Future Minimum Payments, Due in Four Years</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_993CB41BB3822150A7AF82A2D440DE6F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_993CB41BB3822150A7AF82A2D440DE6F" xlink:to="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_993CB41BB3822150A7AF82A2D440DE6F" xlink:type="arc" />
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_B86AC00FE5DD8667F87D82A2D44030F0_terseLabel_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_B86AC00FE5DD8667F87D82A2D44030F0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Operating leases, 2023</link:label>
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_B86AC00FE5DD8667F87D82A2D44030F0_label_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_B86AC00FE5DD8667F87D82A2D44030F0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Operating Leases, Future Minimum Payments, Due in Five Years</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_B86AC00FE5DD8667F87D82A2D44030F0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_B86AC00FE5DD8667F87D82A2D44030F0" xlink:to="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_B86AC00FE5DD8667F87D82A2D44030F0" xlink:type="arc" />
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_61570BA18270818D896C82A2D44027C9_terseLabel_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_61570BA18270818D896C82A2D44027C9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Operating leases, thereafter</link:label>
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_61570BA18270818D896C82A2D44027C9_label_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_61570BA18270818D896C82A2D44027C9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Operating Leases, Future Minimum Payments, Due Thereafter</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_61570BA18270818D896C82A2D44027C9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_61570BA18270818D896C82A2D44027C9" xlink:to="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_61570BA18270818D896C82A2D44027C9" xlink:type="arc" />
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_61EDE3D9DF1B3FDF95C482A2D4404662_totalLabel_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_61EDE3D9DF1B3FDF95C482A2D4404662" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Operating leases, total</link:label>
    <link:label id="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_61EDE3D9DF1B3FDF95C482A2D4404662_label_en-US" xlink:label="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_61EDE3D9DF1B3FDF95C482A2D4404662" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Operating Leases, Future Minimum Payments Due</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_61EDE3D9DF1B3FDF95C482A2D4404662" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_61EDE3D9DF1B3FDF95C482A2D4404662" xlink:to="lab_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_61EDE3D9DF1B3FDF95C482A2D4404662" xlink:type="arc" />
    <link:label id="lab_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_A59835D4229474D4098F1CBF8674E95E_terseLabel_en-US" xlink:label="lab_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_A59835D4229474D4098F1CBF8674E95E" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">STOCK BASED COMPENSATION</link:label>
    <link:label id="lab_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_A59835D4229474D4098F1CBF8674E95E_label_en-US" xlink:label="lab_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_A59835D4229474D4098F1CBF8674E95E" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Disclosure of Compensation Related Costs, Share-based Payments [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock" xlink:label="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_A59835D4229474D4098F1CBF8674E95E" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_A59835D4229474D4098F1CBF8674E95E" xlink:to="lab_us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock_A59835D4229474D4098F1CBF8674E95E" xlink:type="arc" />
    <link:label id="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_6265E969C14A166AB2DC55BDB6BBDF1F_terseLabel_en-US" xlink:label="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_6265E969C14A166AB2DC55BDB6BBDF1F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Basis of Presentation</link:label>
    <link:label id="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_6265E969C14A166AB2DC55BDB6BBDF1F_label_en-US" xlink:label="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_6265E969C14A166AB2DC55BDB6BBDF1F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Basis of Accounting, Policy [Policy Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:label="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_6265E969C14A166AB2DC55BDB6BBDF1F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_6265E969C14A166AB2DC55BDB6BBDF1F" xlink:to="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_6265E969C14A166AB2DC55BDB6BBDF1F" xlink:type="arc" />
    <link:label id="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_1E170D641F7EA06379F355BDB6BCD70A_terseLabel_en-US" xlink:label="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_1E170D641F7EA06379F355BDB6BCD70A" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">New Accounting Updates Recently Adopted and Recent Accounting Standards or Updates Not Yet Effective</link:label>
    <link:label id="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_1E170D641F7EA06379F355BDB6BCD70A_label_en-US" xlink:label="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_1E170D641F7EA06379F355BDB6BCD70A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">New Accounting Pronouncements, Policy [Policy Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:label="loc_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_1E170D641F7EA06379F355BDB6BCD70A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_1E170D641F7EA06379F355BDB6BCD70A" xlink:to="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_1E170D641F7EA06379F355BDB6BCD70A" xlink:type="arc" />
    <link:label id="lab_us-gaap_RevenueFromContractWithCustomerPolicyTextBlock_1C88445F73FF4AC3734D55DB36D7A46D_terseLabel_en-US" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerPolicyTextBlock_1C88445F73FF4AC3734D55DB36D7A46D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Revenues</link:label>
    <link:label id="lab_us-gaap_RevenueFromContractWithCustomerPolicyTextBlock_1C88445F73FF4AC3734D55DB36D7A46D_label_en-US" xlink:label="lab_us-gaap_RevenueFromContractWithCustomerPolicyTextBlock_1C88445F73FF4AC3734D55DB36D7A46D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Revenue from Contract with Customer [Policy Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerPolicyTextBlock" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerPolicyTextBlock_1C88445F73FF4AC3734D55DB36D7A46D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenueFromContractWithCustomerPolicyTextBlock_1C88445F73FF4AC3734D55DB36D7A46D" xlink:to="lab_us-gaap_RevenueFromContractWithCustomerPolicyTextBlock_1C88445F73FF4AC3734D55DB36D7A46D" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_6F66518B8B87BF1CDD071CBF875B3295_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_6F66518B8B87BF1CDD071CBF875B3295" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_6F66518B8B87BF1CDD071CBF875B3295_label_en-US" xlink:label="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_6F66518B8B87BF1CDD071CBF875B3295" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_6F66518B8B87BF1CDD071CBF875B3295" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_6F66518B8B87BF1CDD071CBF875B3295" xlink:to="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_6F66518B8B87BF1CDD071CBF875B3295" xlink:type="arc" />
    <link:label id="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_98F360AC6732943608641CBF875C765F_terseLabel_en-US" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_98F360AC6732943608641CBF875C765F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Antidilutive Securities [Axis]</link:label>
    <link:label id="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_98F360AC6732943608641CBF875C765F_label_en-US" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_98F360AC6732943608641CBF875C765F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Antidilutive Securities [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_98F360AC6732943608641CBF875C765F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_98F360AC6732943608641CBF875C765F" xlink:to="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_98F360AC6732943608641CBF875C765F" xlink:type="arc" />
    <link:label id="lab_us-gaap_AntidilutiveSecuritiesNameDomain_0CBE15E3242C691497A41CBF875C2E18_terseLabel_en-US" xlink:label="lab_us-gaap_AntidilutiveSecuritiesNameDomain_0CBE15E3242C691497A41CBF875C2E18" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Antidilutive Securities, Name [Domain]</link:label>
    <link:label id="lab_us-gaap_AntidilutiveSecuritiesNameDomain_0CBE15E3242C691497A41CBF875C2E18_label_en-US" xlink:label="lab_us-gaap_AntidilutiveSecuritiesNameDomain_0CBE15E3242C691497A41CBF875C2E18" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Antidilutive Securities, Name [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_0CBE15E3242C691497A41CBF875C2E18" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_0CBE15E3242C691497A41CBF875C2E18" xlink:to="lab_us-gaap_AntidilutiveSecuritiesNameDomain_0CBE15E3242C691497A41CBF875C2E18" xlink:type="arc" />
    <link:label id="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B01B653E49EE76C663421CBF875C8C92_terseLabel_en-US" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B01B653E49EE76C663421CBF875C8C92" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]</link:label>
    <link:label id="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B01B653E49EE76C663421CBF875C8C92_label_en-US" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B01B653E49EE76C663421CBF875C8C92" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B01B653E49EE76C663421CBF875C8C92" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B01B653E49EE76C663421CBF875C8C92" xlink:to="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B01B653E49EE76C663421CBF875C8C92" xlink:type="arc" />
    <link:label id="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_32657EBE5715DB99CC691CBF875D4F3A_verboseLabel_en-US" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_32657EBE5715DB99CC691CBF875D4F3A" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Potential shares of common stock excluded from the EPS calculation (in shares)</link:label>
    <link:label id="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_32657EBE5715DB99CC691CBF875D4F3A_label_en-US" xlink:label="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_32657EBE5715DB99CC691CBF875D4F3A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_32657EBE5715DB99CC691CBF875D4F3A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_32657EBE5715DB99CC691CBF875D4F3A" xlink:to="lab_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_32657EBE5715DB99CC691CBF875D4F3A" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueDisclosuresTextBlock_2D9D06595C7271D733241CBF87492CD9_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueDisclosuresTextBlock_2D9D06595C7271D733241CBF87492CD9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">FAIR VALUE OF FINANCIAL INSTRUMENTS</link:label>
    <link:label id="lab_us-gaap_FairValueDisclosuresTextBlock_2D9D06595C7271D733241CBF87492CD9_label_en-US" xlink:label="lab_us-gaap_FairValueDisclosuresTextBlock_2D9D06595C7271D733241CBF87492CD9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Disclosures [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosuresTextBlock" xlink:label="loc_us-gaap_FairValueDisclosuresTextBlock_2D9D06595C7271D733241CBF87492CD9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueDisclosuresTextBlock_2D9D06595C7271D733241CBF87492CD9" xlink:to="lab_us-gaap_FairValueDisclosuresTextBlock_2D9D06595C7271D733241CBF87492CD9" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfInventoryCurrentTableTextBlock_FA940D369C8F5DAD1B471CBF86899780_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfInventoryCurrentTableTextBlock_FA940D369C8F5DAD1B471CBF86899780" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Inventories</link:label>
    <link:label id="lab_us-gaap_ScheduleOfInventoryCurrentTableTextBlock_FA940D369C8F5DAD1B471CBF86899780_label_en-US" xlink:label="lab_us-gaap_ScheduleOfInventoryCurrentTableTextBlock_FA940D369C8F5DAD1B471CBF86899780" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Inventory, Current [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfInventoryCurrentTableTextBlock_FA940D369C8F5DAD1B471CBF86899780" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfInventoryCurrentTableTextBlock_FA940D369C8F5DAD1B471CBF86899780" xlink:to="lab_us-gaap_ScheduleOfInventoryCurrentTableTextBlock_FA940D369C8F5DAD1B471CBF86899780" xlink:type="arc" />
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentTextBlock_9BE6BDA7865FE97462E91CBF86890A92_terseLabel_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentTextBlock_9BE6BDA7865FE97462E91CBF86890A92" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Property and equipment, net</link:label>
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentTextBlock_9BE6BDA7865FE97462E91CBF86890A92_label_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentTextBlock_9BE6BDA7865FE97462E91CBF86890A92" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Property, Plant and Equipment [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTextBlock_9BE6BDA7865FE97462E91CBF86890A92" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTextBlock_9BE6BDA7865FE97462E91CBF86890A92" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentTextBlock_9BE6BDA7865FE97462E91CBF86890A92" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock_882D572FF59862DB86251CBF86898850_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock_882D572FF59862DB86251CBF86898850" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other Long-term Assets</link:label>
    <link:label id="lab_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock_882D572FF59862DB86251CBF86898850_label_en-US" xlink:label="lab_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock_882D572FF59862DB86251CBF86898850" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Other Assets, Noncurrent [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock" xlink:label="loc_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock_882D572FF59862DB86251CBF86898850" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock_882D572FF59862DB86251CBF86898850" xlink:to="lab_us-gaap_ScheduleOfOtherAssetsNoncurrentTextBlock_882D572FF59862DB86251CBF86898850" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherCurrentLiabilitiesTableTextBlock_1875054D65D9FE86F8421CBF8689AB5A_terseLabel_en-US" xlink:label="lab_us-gaap_OtherCurrentLiabilitiesTableTextBlock_1875054D65D9FE86F8421CBF8689AB5A" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other Current Liabilities</link:label>
    <link:label id="lab_us-gaap_OtherCurrentLiabilitiesTableTextBlock_1875054D65D9FE86F8421CBF8689AB5A_label_en-US" xlink:label="lab_us-gaap_OtherCurrentLiabilitiesTableTextBlock_1875054D65D9FE86F8421CBF8689AB5A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Current Liabilities [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:label="loc_us-gaap_OtherCurrentLiabilitiesTableTextBlock_1875054D65D9FE86F8421CBF8689AB5A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherCurrentLiabilitiesTableTextBlock_1875054D65D9FE86F8421CBF8689AB5A" xlink:to="lab_us-gaap_OtherCurrentLiabilitiesTableTextBlock_1875054D65D9FE86F8421CBF8689AB5A" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_094444305E67701970E91CBF868AC7CE_terseLabel_en-US" xlink:label="lab_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_094444305E67701970E91CBF868AC7CE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other Long Term Liabilities</link:label>
    <link:label id="lab_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_094444305E67701970E91CBF868AC7CE_label_en-US" xlink:label="lab_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_094444305E67701970E91CBF868AC7CE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Noncurrent Liabilities [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNoncurrentLiabilitiesTableTextBlock" xlink:label="loc_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_094444305E67701970E91CBF868AC7CE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_094444305E67701970E91CBF868AC7CE" xlink:to="lab_us-gaap_OtherNoncurrentLiabilitiesTableTextBlock_094444305E67701970E91CBF868AC7CE" xlink:type="arc" />
    <link:label id="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_603569CFBA7B86ECBD001CBF85F05177_terseLabel_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_603569CFBA7B86ECBD001CBF85F05177" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">COMMITMENTS AND CONTINGENCIES</link:label>
    <link:label id="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_603569CFBA7B86ECBD001CBF85F05177_label_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_603569CFBA7B86ECBD001CBF85F05177" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Commitments and Contingencies Disclosure [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_603569CFBA7B86ECBD001CBF85F05177" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_603569CFBA7B86ECBD001CBF85F05177" xlink:to="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_603569CFBA7B86ECBD001CBF85F05177" xlink:type="arc" />
    <link:label id="lab_us-gaap_IntangibleAssetsNetExcludingGoodwill_9C6C23F356F63AE306FD1CBF87632DF6_terseLabel_en-US" xlink:label="lab_us-gaap_IntangibleAssetsNetExcludingGoodwill_9C6C23F356F63AE306FD1CBF87632DF6" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Intangible assets, net (1)</link:label>
    <link:label id="lab_us-gaap_IntangibleAssetsNetExcludingGoodwill_9C6C23F356F63AE306FD1CBF87632DF6_label_en-US" xlink:label="lab_us-gaap_IntangibleAssetsNetExcludingGoodwill_9C6C23F356F63AE306FD1CBF87632DF6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Intangible Assets, Net (Excluding Goodwill)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_9C6C23F356F63AE306FD1CBF87632DF6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_9C6C23F356F63AE306FD1CBF87632DF6" xlink:to="lab_us-gaap_IntangibleAssetsNetExcludingGoodwill_9C6C23F356F63AE306FD1CBF87632DF6" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherAssetsMiscellaneousNoncurrent_F4BE53D29C491679A9421CBF87632A99_terseLabel_en-US" xlink:label="lab_us-gaap_OtherAssetsMiscellaneousNoncurrent_F4BE53D29C491679A9421CBF87632A99" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other long-term assets</link:label>
    <link:label id="lab_us-gaap_OtherAssetsMiscellaneousNoncurrent_F4BE53D29C491679A9421CBF87632A99_label_en-US" xlink:label="lab_us-gaap_OtherAssetsMiscellaneousNoncurrent_F4BE53D29C491679A9421CBF87632A99" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Assets, Miscellaneous, Noncurrent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_F4BE53D29C491679A9421CBF87632A99" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_F4BE53D29C491679A9421CBF87632A99" xlink:to="lab_us-gaap_OtherAssetsMiscellaneousNoncurrent_F4BE53D29C491679A9421CBF87632A99" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherAssetsNoncurrent_16A686000E02AEB89CA51CBF876315B1_totalLabel_en-US" xlink:label="lab_us-gaap_OtherAssetsNoncurrent_16A686000E02AEB89CA51CBF876315B1" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total</link:label>
    <link:label id="lab_us-gaap_OtherAssetsNoncurrent_16A686000E02AEB89CA51CBF876315B1_label_en-US" xlink:label="lab_us-gaap_OtherAssetsNoncurrent_16A686000E02AEB89CA51CBF876315B1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Assets, Noncurrent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_16A686000E02AEB89CA51CBF876315B1" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_16A686000E02AEB89CA51CBF876315B1" xlink:to="lab_us-gaap_OtherAssetsNoncurrent_16A686000E02AEB89CA51CBF876315B1" xlink:type="arc" />
    <link:label id="lab_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_B42A438B2A3768255D2E1CBF8763B8F3_terseLabel_en-US" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_B42A438B2A3768255D2E1CBF8763B8F3" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accumulated amortization, intangible assets</link:label>
    <link:label id="lab_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_B42A438B2A3768255D2E1CBF8763B8F3_label_en-US" xlink:label="lab_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_B42A438B2A3768255D2E1CBF8763B8F3" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Finite-Lived Intangible Assets, Accumulated Amortization</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_B42A438B2A3768255D2E1CBF8763B8F3" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_B42A438B2A3768255D2E1CBF8763B8F3" xlink:to="lab_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_B42A438B2A3768255D2E1CBF8763B8F3" xlink:type="arc" />
    <link:label id="lab_ubnt_StandardProductWarrantyPeriod_BF90A4A47169D17206511CBF85EEF7AF_terseLabel_en-US" xlink:label="lab_ubnt_StandardProductWarrantyPeriod_BF90A4A47169D17206511CBF85EEF7AF" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Warranty period (in years)</link:label>
    <link:label id="lab_ubnt_StandardProductWarrantyPeriod_BF90A4A47169D17206511CBF85EEF7AF_label_en-US" xlink:label="lab_ubnt_StandardProductWarrantyPeriod_BF90A4A47169D17206511CBF85EEF7AF" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Standard Product Warranty Period</link:label>
    <link:label id="lab_ubnt_StandardProductWarrantyPeriod_BF90A4A47169D17206511CBF85EEF7AF_documentation_en-US" xlink:label="lab_ubnt_StandardProductWarrantyPeriod_BF90A4A47169D17206511CBF85EEF7AF" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Standard product warranty period.</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_StandardProductWarrantyPeriod" xlink:label="loc_ubnt_StandardProductWarrantyPeriod_BF90A4A47169D17206511CBF85EEF7AF" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_StandardProductWarrantyPeriod_BF90A4A47169D17206511CBF85EEF7AF" xlink:to="lab_ubnt_StandardProductWarrantyPeriod_BF90A4A47169D17206511CBF85EEF7AF" xlink:type="arc" />
    <link:label id="lab_us-gaap_StatementOfCashFlowsAbstract_D4EA739B07783D7E2A64EAF7DCB572F1_label_en-US" xlink:label="lab_us-gaap_StatementOfCashFlowsAbstract_D4EA739B07783D7E2A64EAF7DCB572F1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statement of Cash Flows [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract" xlink:label="loc_us-gaap_StatementOfCashFlowsAbstract_D4EA739B07783D7E2A64EAF7DCB572F1" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract_D4EA739B07783D7E2A64EAF7DCB572F1" xlink:to="lab_us-gaap_StatementOfCashFlowsAbstract_D4EA739B07783D7E2A64EAF7DCB572F1" xlink:type="arc" />
    <link:label id="lab_us-gaap_StatementTable_CCE6D1B6DEC9C2674F62EAF7DCB54680_terseLabel_en-US" xlink:label="lab_us-gaap_StatementTable_CCE6D1B6DEC9C2674F62EAF7DCB54680" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Statement [Table]</link:label>
    <link:label id="lab_us-gaap_StatementTable_CCE6D1B6DEC9C2674F62EAF7DCB54680_label_en-US" xlink:label="lab_us-gaap_StatementTable_CCE6D1B6DEC9C2674F62EAF7DCB54680" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statement [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_CCE6D1B6DEC9C2674F62EAF7DCB54680" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementTable_CCE6D1B6DEC9C2674F62EAF7DCB54680" xlink:to="lab_us-gaap_StatementTable_CCE6D1B6DEC9C2674F62EAF7DCB54680" xlink:type="arc" />
    <link:label id="lab_us-gaap_StatementLineItems_1AE92B4C20BD4140953BEAF7DCB843C2_terseLabel_en-US" xlink:label="lab_us-gaap_StatementLineItems_1AE92B4C20BD4140953BEAF7DCB843C2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Statement [Line Items]</link:label>
    <link:label id="lab_us-gaap_StatementLineItems_1AE92B4C20BD4140953BEAF7DCB843C2_label_en-US" xlink:label="lab_us-gaap_StatementLineItems_1AE92B4C20BD4140953BEAF7DCB843C2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statement [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_1AE92B4C20BD4140953BEAF7DCB843C2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementLineItems_1AE92B4C20BD4140953BEAF7DCB843C2" xlink:to="lab_us-gaap_StatementLineItems_1AE92B4C20BD4140953BEAF7DCB843C2" xlink:type="arc" />
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_993A6680D300950C0C56EAF7DCB8EFF7_terseLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_993A6680D300950C0C56EAF7DCB8EFF7" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash Flows from Operating Activities:</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_993A6680D300950C0C56EAF7DCB8EFF7_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_993A6680D300950C0C56EAF7DCB8EFF7" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Cash Provided by (Used in) Operating Activities [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_993A6680D300950C0C56EAF7DCB8EFF7" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_993A6680D300950C0C56EAF7DCB8EFF7" xlink:to="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_993A6680D300950C0C56EAF7DCB8EFF7" xlink:type="arc" />
    <link:label id="lab_us-gaap_NetIncomeLoss_5359DD3C0F732C60D475EAF7DCB84889_terseLabel_en-US" xlink:label="lab_us-gaap_NetIncomeLoss_5359DD3C0F732C60D475EAF7DCB84889" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net income</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_5359DD3C0F732C60D475EAF7DCB84889" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetIncomeLoss_5359DD3C0F732C60D475EAF7DCB84889" xlink:to="lab_us-gaap_NetIncomeLoss_5359DD3C0F732C60D475EAF7DCB84889" xlink:type="arc" />
    <link:label id="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_28706F134BA8E3A38662EAF7DCB9040F_terseLabel_en-US" xlink:label="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_28706F134BA8E3A38662EAF7DCB9040F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Adjustments to reconcile net income to net cash provided by operating activities:</link:label>
    <link:label id="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_28706F134BA8E3A38662EAF7DCB9040F_label_en-US" xlink:label="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_28706F134BA8E3A38662EAF7DCB9040F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_28706F134BA8E3A38662EAF7DCB9040F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_28706F134BA8E3A38662EAF7DCB9040F" xlink:to="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_28706F134BA8E3A38662EAF7DCB9040F" xlink:type="arc" />
    <link:label id="lab_us-gaap_DepreciationDepletionAndAmortization_34266059238074B742C1EAF7DCB9EA41_terseLabel_en-US" xlink:label="lab_us-gaap_DepreciationDepletionAndAmortization_34266059238074B742C1EAF7DCB9EA41" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Depreciation and amortization</link:label>
    <link:label id="lab_us-gaap_DepreciationDepletionAndAmortization_34266059238074B742C1EAF7DCB9EA41_label_en-US" xlink:label="lab_us-gaap_DepreciationDepletionAndAmortization_34266059238074B742C1EAF7DCB9EA41" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Depreciation, Depletion and Amortization</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_34266059238074B742C1EAF7DCB9EA41" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DepreciationDepletionAndAmortization_34266059238074B742C1EAF7DCB9EA41" xlink:to="lab_us-gaap_DepreciationDepletionAndAmortization_34266059238074B742C1EAF7DCB9EA41" xlink:type="arc" />
    <link:label id="lab_us-gaap_AmortizationOfFinancingCosts_858EB4C84D7467E22284EAF7DCB94FC3_terseLabel_en-US" xlink:label="lab_us-gaap_AmortizationOfFinancingCosts_858EB4C84D7467E22284EAF7DCB94FC3" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Amortization of debt issuance costs</link:label>
    <link:label id="lab_us-gaap_AmortizationOfFinancingCosts_858EB4C84D7467E22284EAF7DCB94FC3_label_en-US" xlink:label="lab_us-gaap_AmortizationOfFinancingCosts_858EB4C84D7467E22284EAF7DCB94FC3" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Amortization of Debt Issuance Costs</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_858EB4C84D7467E22284EAF7DCB94FC3" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AmortizationOfFinancingCosts_858EB4C84D7467E22284EAF7DCB94FC3" xlink:to="lab_us-gaap_AmortizationOfFinancingCosts_858EB4C84D7467E22284EAF7DCB94FC3" xlink:type="arc" />
    <link:label id="lab_us-gaap_AmortizationOfDebtDiscountPremium_8AC1264E336DC1449002EAF7DCB91901_terseLabel_en-US" xlink:label="lab_us-gaap_AmortizationOfDebtDiscountPremium_8AC1264E336DC1449002EAF7DCB91901" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Premium amortization and (discount accretion), net</link:label>
    <link:label id="lab_us-gaap_AmortizationOfDebtDiscountPremium_8AC1264E336DC1449002EAF7DCB91901_label_en-US" xlink:label="lab_us-gaap_AmortizationOfDebtDiscountPremium_8AC1264E336DC1449002EAF7DCB91901" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Amortization of Debt Discount (Premium)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfDebtDiscountPremium" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_8AC1264E336DC1449002EAF7DCB91901" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AmortizationOfDebtDiscountPremium_8AC1264E336DC1449002EAF7DCB91901" xlink:to="lab_us-gaap_AmortizationOfDebtDiscountPremium_8AC1264E336DC1449002EAF7DCB91901" xlink:type="arc" />
    <link:label id="lab_us-gaap_InventoryWriteDown_65F9B53E3F07CF4A924EEAF7DCB9DB74_terseLabel_en-US" xlink:label="lab_us-gaap_InventoryWriteDown_65F9B53E3F07CF4A924EEAF7DCB9DB74" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Provision for inventory obsolescence</link:label>
    <link:label id="lab_us-gaap_InventoryWriteDown_65F9B53E3F07CF4A924EEAF7DCB9DB74_label_en-US" xlink:label="lab_us-gaap_InventoryWriteDown_65F9B53E3F07CF4A924EEAF7DCB9DB74" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Inventory Write-down</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryWriteDown" xlink:label="loc_us-gaap_InventoryWriteDown_65F9B53E3F07CF4A924EEAF7DCB9DB74" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryWriteDown_65F9B53E3F07CF4A924EEAF7DCB9DB74" xlink:to="lab_us-gaap_InventoryWriteDown_65F9B53E3F07CF4A924EEAF7DCB9DB74" xlink:type="arc" />
    <link:label id="lab_ubnt_ProvisionforGainLossonVendorDeposit_889CCCEDF6A6297F194AEAF7DCBA7A71_terseLabel_en-US" xlink:label="lab_ubnt_ProvisionforGainLossonVendorDeposit_889CCCEDF6A6297F194AEAF7DCBA7A71" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Provision/(recovery) for loss on vendor deposits</link:label>
    <link:label id="lab_ubnt_ProvisionforGainLossonVendorDeposit_889CCCEDF6A6297F194AEAF7DCBA7A71_label_en-US" xlink:label="lab_ubnt_ProvisionforGainLossonVendorDeposit_889CCCEDF6A6297F194AEAF7DCBA7A71" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Provision for Gain (Loss) on Vendor Deposit</link:label>
    <link:label id="lab_ubnt_ProvisionforGainLossonVendorDeposit_889CCCEDF6A6297F194AEAF7DCBA7A71_documentation_en-US" xlink:label="lab_ubnt_ProvisionforGainLossonVendorDeposit_889CCCEDF6A6297F194AEAF7DCBA7A71" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Provision for Gain (Loss) on Vendor Deposit</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_ProvisionforGainLossonVendorDeposit" xlink:label="loc_ubnt_ProvisionforGainLossonVendorDeposit_889CCCEDF6A6297F194AEAF7DCBA7A71" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_ProvisionforGainLossonVendorDeposit_889CCCEDF6A6297F194AEAF7DCBA7A71" xlink:to="lab_ubnt_ProvisionforGainLossonVendorDeposit_889CCCEDF6A6297F194AEAF7DCBA7A71" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShareBasedCompensation_5EB0DE87C5227DA0FBD9EAF7DCBAA9BD_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensation_5EB0DE87C5227DA0FBD9EAF7DCBAA9BD" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Stock-based compensation</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensation_5EB0DE87C5227DA0FBD9EAF7DCBAA9BD_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensation_5EB0DE87C5227DA0FBD9EAF7DCBAA9BD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_5EB0DE87C5227DA0FBD9EAF7DCBAA9BD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensation_5EB0DE87C5227DA0FBD9EAF7DCBAA9BD" xlink:to="lab_us-gaap_ShareBasedCompensation_5EB0DE87C5227DA0FBD9EAF7DCBAA9BD" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherNoncashIncomeExpense_731423F059459AF45207EAF7DCBAE050_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_OtherNoncashIncomeExpense_731423F059459AF45207EAF7DCBAE050" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Other, net</link:label>
    <link:label id="lab_us-gaap_OtherNoncashIncomeExpense_731423F059459AF45207EAF7DCBAE050_label_en-US" xlink:label="lab_us-gaap_OtherNoncashIncomeExpense_731423F059459AF45207EAF7DCBAE050" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Noncash Income (Expense)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNoncashIncomeExpense" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_731423F059459AF45207EAF7DCBAE050" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherNoncashIncomeExpense_731423F059459AF45207EAF7DCBAE050" xlink:to="lab_us-gaap_OtherNoncashIncomeExpense_731423F059459AF45207EAF7DCBAE050" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_DCED82753A23897025F7EAF7DCBA73E5_terseLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_DCED82753A23897025F7EAF7DCBA73E5" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Changes in operating assets and liabilities:</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_DCED82753A23897025F7EAF7DCBA73E5_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_DCED82753A23897025F7EAF7DCBA73E5" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Operating Capital [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_DCED82753A23897025F7EAF7DCBA73E5" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_DCED82753A23897025F7EAF7DCBA73E5" xlink:to="lab_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_DCED82753A23897025F7EAF7DCBA73E5" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncreaseDecreaseInAccountsReceivable_FC9F67D15B655E57B7A0EAF7DCBAAEC2_negatedLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInAccountsReceivable_FC9F67D15B655E57B7A0EAF7DCBAAEC2" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Accounts receivable</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInAccountsReceivable_FC9F67D15B655E57B7A0EAF7DCBAAEC2_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInAccountsReceivable_FC9F67D15B655E57B7A0EAF7DCBAAEC2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Accounts Receivable</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_FC9F67D15B655E57B7A0EAF7DCBAAEC2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_FC9F67D15B655E57B7A0EAF7DCBAAEC2" xlink:to="lab_us-gaap_IncreaseDecreaseInAccountsReceivable_FC9F67D15B655E57B7A0EAF7DCBAAEC2" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncreaseDecreaseInInventories_C1073504E60653524612EAF7DCBB37D9_negatedLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInInventories_C1073504E60653524612EAF7DCBB37D9" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Inventories</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInInventories_C1073504E60653524612EAF7DCBB37D9_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInInventories_C1073504E60653524612EAF7DCBB37D9" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Inventories</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_C1073504E60653524612EAF7DCBB37D9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInInventories_C1073504E60653524612EAF7DCBB37D9" xlink:to="lab_us-gaap_IncreaseDecreaseInInventories_C1073504E60653524612EAF7DCBB37D9" xlink:type="arc" />
    <link:label id="lab_ubnt_IncreaseDecreaseinVendorDeposits_FB051F7D80CF58C74EF1EAF7DCBBAD28_negatedTerseLabel_en-US" xlink:label="lab_ubnt_IncreaseDecreaseinVendorDeposits_FB051F7D80CF58C74EF1EAF7DCBBAD28" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Vendor deposits</link:label>
    <link:label id="lab_ubnt_IncreaseDecreaseinVendorDeposits_FB051F7D80CF58C74EF1EAF7DCBBAD28_label_en-US" xlink:label="lab_ubnt_IncreaseDecreaseinVendorDeposits_FB051F7D80CF58C74EF1EAF7DCBBAD28" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Vendor Deposits</link:label>
    <link:label id="lab_ubnt_IncreaseDecreaseinVendorDeposits_FB051F7D80CF58C74EF1EAF7DCBBAD28_documentation_en-US" xlink:label="lab_ubnt_IncreaseDecreaseinVendorDeposits_FB051F7D80CF58C74EF1EAF7DCBBAD28" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Vendor Deposits</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_IncreaseDecreaseinVendorDeposits" xlink:label="loc_ubnt_IncreaseDecreaseinVendorDeposits_FB051F7D80CF58C74EF1EAF7DCBBAD28" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_IncreaseDecreaseinVendorDeposits_FB051F7D80CF58C74EF1EAF7DCBBAD28" xlink:to="lab_ubnt_IncreaseDecreaseinVendorDeposits_FB051F7D80CF58C74EF1EAF7DCBBAD28" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncreaseDecreaseInPrepaidTaxes_3BE127ED99B01F6251E7EAF7DCBBCDEA_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInPrepaidTaxes_3BE127ED99B01F6251E7EAF7DCBBCDEA" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Prepaid income taxes</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInPrepaidTaxes_3BE127ED99B01F6251E7EAF7DCBBCDEA_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInPrepaidTaxes_3BE127ED99B01F6251E7EAF7DCBBCDEA" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Prepaid Taxes</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidTaxes" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_3BE127ED99B01F6251E7EAF7DCBBCDEA" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_3BE127ED99B01F6251E7EAF7DCBBCDEA" xlink:to="lab_us-gaap_IncreaseDecreaseInPrepaidTaxes_3BE127ED99B01F6251E7EAF7DCBBCDEA" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_92B84153D7AD5FF3525FEAF7DCBB9915_negatedLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_92B84153D7AD5FF3525FEAF7DCBB9915" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Prepaid expenses and other assets</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_92B84153D7AD5FF3525FEAF7DCBB9915_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_92B84153D7AD5FF3525FEAF7DCBB9915" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Prepaid Expense and Other Assets</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_92B84153D7AD5FF3525FEAF7DCBB9915" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_92B84153D7AD5FF3525FEAF7DCBB9915" xlink:to="lab_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_92B84153D7AD5FF3525FEAF7DCBB9915" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncreaseDecreaseInAccountsPayable_59A984BD396B5B174CABEAF7DCBB26FC_terseLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInAccountsPayable_59A984BD396B5B174CABEAF7DCBB26FC" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accounts payable</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInAccountsPayable_59A984BD396B5B174CABEAF7DCBB26FC_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInAccountsPayable_59A984BD396B5B174CABEAF7DCBB26FC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Accounts Payable</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_59A984BD396B5B174CABEAF7DCBB26FC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInAccountsPayable_59A984BD396B5B174CABEAF7DCBB26FC" xlink:to="lab_us-gaap_IncreaseDecreaseInAccountsPayable_59A984BD396B5B174CABEAF7DCBB26FC" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_6FC22DFF6F809FB59B7EEAF7DCBCD54E_terseLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_6FC22DFF6F809FB59B7EEAF7DCBCD54E" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Income taxes payable</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_6FC22DFF6F809FB59B7EEAF7DCBCD54E_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_6FC22DFF6F809FB59B7EEAF7DCBCD54E" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Income Taxes Payable</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_6FC22DFF6F809FB59B7EEAF7DCBCD54E" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_6FC22DFF6F809FB59B7EEAF7DCBCD54E" xlink:to="lab_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_6FC22DFF6F809FB59B7EEAF7DCBCD54E" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_26AD5C9ABA6C9FB7958DEAF7DCBCAD74_terseLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_26AD5C9ABA6C9FB7958DEAF7DCBCAD74" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Deferred revenues</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_26AD5C9ABA6C9FB7958DEAF7DCBCAD74_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_26AD5C9ABA6C9FB7958DEAF7DCBCAD74" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Contract with Customer, Liability</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_26AD5C9ABA6C9FB7958DEAF7DCBCAD74" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_26AD5C9ABA6C9FB7958DEAF7DCBCAD74" xlink:to="lab_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_26AD5C9ABA6C9FB7958DEAF7DCBCAD74" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_F0C2E0D94D59569259DDEAF7DCBCEE83_terseLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_F0C2E0D94D59569259DDEAF7DCBCEE83" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accrued and other liabilities</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_F0C2E0D94D59569259DDEAF7DCBCEE83_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_F0C2E0D94D59569259DDEAF7DCBCEE83" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_F0C2E0D94D59569259DDEAF7DCBCEE83" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_F0C2E0D94D59569259DDEAF7DCBCEE83" xlink:to="lab_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_F0C2E0D94D59569259DDEAF7DCBCEE83" xlink:type="arc" />
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities_EA3AC6171844A7257B19EAF7DCBC0A73_totalLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities_EA3AC6171844A7257B19EAF7DCBC0A73" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net cash provided by operating activities</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities_EA3AC6171844A7257B19EAF7DCBC0A73_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities_EA3AC6171844A7257B19EAF7DCBC0A73" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Cash Provided by (Used in) Operating Activities</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_EA3AC6171844A7257B19EAF7DCBC0A73" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_EA3AC6171844A7257B19EAF7DCBC0A73" xlink:to="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities_EA3AC6171844A7257B19EAF7DCBC0A73" xlink:type="arc" />
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_D635F5203C2595A80212EAF7DCBC59FA_terseLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_D635F5203C2595A80212EAF7DCBC59FA" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash Flows from Investing Activities:</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_D635F5203C2595A80212EAF7DCBC59FA_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_D635F5203C2595A80212EAF7DCBC59FA" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Cash Provided by (Used in) Investing Activities [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_D635F5203C2595A80212EAF7DCBC59FA" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_D635F5203C2595A80212EAF7DCBC59FA" xlink:to="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_D635F5203C2595A80212EAF7DCBC59FA" xlink:type="arc" />
    <link:label id="lab_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_77E3D699CE1C1C613384EAF7DCBD9747_negatedLabel_en-US" xlink:label="lab_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_77E3D699CE1C1C613384EAF7DCBD9747" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Purchase of property and equipment and other long-term assets</link:label>
    <link:label id="lab_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_77E3D699CE1C1C613384EAF7DCBD9747_label_en-US" xlink:label="lab_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_77E3D699CE1C1C613384EAF7DCBD9747" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payments to Acquire Property, Plant, and Equipment</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_77E3D699CE1C1C613384EAF7DCBD9747" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_77E3D699CE1C1C613384EAF7DCBD9747" xlink:to="lab_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_77E3D699CE1C1C613384EAF7DCBD9747" xlink:type="arc" />
    <link:label id="lab_us-gaap_PaymentsToAcquireInvestments_5B17618624310237628BEAF7DCBDE904_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_PaymentsToAcquireInvestments_5B17618624310237628BEAF7DCBDE904" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Purchase of investments</link:label>
    <link:label id="lab_us-gaap_PaymentsToAcquireInvestments_5B17618624310237628BEAF7DCBDE904_label_en-US" xlink:label="lab_us-gaap_PaymentsToAcquireInvestments_5B17618624310237628BEAF7DCBDE904" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payments to Acquire Investments</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_5B17618624310237628BEAF7DCBDE904" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquireInvestments_5B17618624310237628BEAF7DCBDE904" xlink:to="lab_us-gaap_PaymentsToAcquireInvestments_5B17618624310237628BEAF7DCBDE904" xlink:type="arc" />
    <link:label id="lab_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3CAA5478AB355DA27A05EAF7DCC28CEE_terseLabel_en-US" xlink:label="lab_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3CAA5478AB355DA27A05EAF7DCC28CEE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Proceeds from sale of investments</link:label>
    <link:label id="lab_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3CAA5478AB355DA27A05EAF7DCC28CEE_label_en-US" xlink:label="lab_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3CAA5478AB355DA27A05EAF7DCC28CEE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds from Sale of Debt Securities, Available-for-sale</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3CAA5478AB355DA27A05EAF7DCC28CEE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3CAA5478AB355DA27A05EAF7DCC28CEE" xlink:to="lab_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_3CAA5478AB355DA27A05EAF7DCC28CEE" xlink:type="arc" />
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities_0373720D7117F3779088EAF7DCC32C4F_totalLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities_0373720D7117F3779088EAF7DCC32C4F" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net cash (used in) investing activities</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities_0373720D7117F3779088EAF7DCC32C4F_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities_0373720D7117F3779088EAF7DCC32C4F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Cash Provided by (Used in) Investing Activities</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0373720D7117F3779088EAF7DCC32C4F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0373720D7117F3779088EAF7DCC32C4F" xlink:to="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities_0373720D7117F3779088EAF7DCC32C4F" xlink:type="arc" />
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_742E0A84699D4E82DD4DEAF7DCC3BAFE_terseLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_742E0A84699D4E82DD4DEAF7DCC3BAFE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash Flows from Financing Activities:</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_742E0A84699D4E82DD4DEAF7DCC3BAFE_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_742E0A84699D4E82DD4DEAF7DCC3BAFE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Cash Provided by (Used in) Financing Activities [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_742E0A84699D4E82DD4DEAF7DCC3BAFE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_742E0A84699D4E82DD4DEAF7DCC3BAFE" xlink:to="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_742E0A84699D4E82DD4DEAF7DCC3BAFE" xlink:type="arc" />
    <link:label id="lab_us-gaap_ProceedsFromLongTermLinesOfCredit_3F1F8DFDFAE8D7860FEEEAF7DCC3B86B_terseLabel_en-US" xlink:label="lab_us-gaap_ProceedsFromLongTermLinesOfCredit_3F1F8DFDFAE8D7860FEEEAF7DCC3B86B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Proceeds from borrowing under the Amended Credit Facility- Revolver</link:label>
    <link:label id="lab_us-gaap_ProceedsFromLongTermLinesOfCredit_3F1F8DFDFAE8D7860FEEEAF7DCC3B86B_label_en-US" xlink:label="lab_us-gaap_ProceedsFromLongTermLinesOfCredit_3F1F8DFDFAE8D7860FEEEAF7DCC3B86B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds from Long-term Lines of Credit</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_3F1F8DFDFAE8D7860FEEEAF7DCC3B86B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_3F1F8DFDFAE8D7860FEEEAF7DCC3B86B" xlink:to="lab_us-gaap_ProceedsFromLongTermLinesOfCredit_3F1F8DFDFAE8D7860FEEEAF7DCC3B86B" xlink:type="arc" />
    <link:label id="lab_ubnt_RepaymentofLongTermLinesofCreditPrincipal_479F16C88780DA1AEE00EAF7DCC3F205_negatedLabel_en-US" xlink:label="lab_ubnt_RepaymentofLongTermLinesofCreditPrincipal_479F16C88780DA1AEE00EAF7DCC3F205" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Principal payment</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_RepaymentofLongTermLinesofCreditPrincipal" xlink:label="loc_ubnt_RepaymentofLongTermLinesofCreditPrincipal_479F16C88780DA1AEE00EAF7DCC3F205" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_RepaymentofLongTermLinesofCreditPrincipal_479F16C88780DA1AEE00EAF7DCC3F205" xlink:to="lab_ubnt_RepaymentofLongTermLinesofCreditPrincipal_479F16C88780DA1AEE00EAF7DCC3F205" xlink:type="arc" />
    <link:label id="lab_us-gaap_PaymentsForRepurchaseOfCommonStock_AB02B367D7E42AD3AB3DEAF7DCC3A3C7_negatedLabel_en-US" xlink:label="lab_us-gaap_PaymentsForRepurchaseOfCommonStock_AB02B367D7E42AD3AB3DEAF7DCC3A3C7" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Repurchases of common stock</link:label>
    <link:label id="lab_us-gaap_PaymentsForRepurchaseOfCommonStock_AB02B367D7E42AD3AB3DEAF7DCC3A3C7_label_en-US" xlink:label="lab_us-gaap_PaymentsForRepurchaseOfCommonStock_AB02B367D7E42AD3AB3DEAF7DCC3A3C7" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payments for Repurchase of Common Stock</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_AB02B367D7E42AD3AB3DEAF7DCC3A3C7" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_AB02B367D7E42AD3AB3DEAF7DCC3A3C7" xlink:to="lab_us-gaap_PaymentsForRepurchaseOfCommonStock_AB02B367D7E42AD3AB3DEAF7DCC3A3C7" xlink:type="arc" />
    <link:label id="lab_us-gaap_PaymentsOfDividends_78FA1526F1CCD8E4C7F9EAF7DCC47F7E_negatedLabel_en-US" xlink:label="lab_us-gaap_PaymentsOfDividends_78FA1526F1CCD8E4C7F9EAF7DCC47F7E" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Payment of common stock cash dividends</link:label>
    <link:label id="lab_us-gaap_PaymentsOfDividends_78FA1526F1CCD8E4C7F9EAF7DCC47F7E_label_en-US" xlink:label="lab_us-gaap_PaymentsOfDividends_78FA1526F1CCD8E4C7F9EAF7DCC47F7E" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payments of Dividends</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_78FA1526F1CCD8E4C7F9EAF7DCC47F7E" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsOfDividends_78FA1526F1CCD8E4C7F9EAF7DCC47F7E" xlink:to="lab_us-gaap_PaymentsOfDividends_78FA1526F1CCD8E4C7F9EAF7DCC47F7E" xlink:type="arc" />
    <link:label id="lab_us-gaap_ProceedsFromStockOptionsExercised_6713925D435B95FD56CBEAF7DCC4E6BC_terseLabel_en-US" xlink:label="lab_us-gaap_ProceedsFromStockOptionsExercised_6713925D435B95FD56CBEAF7DCC4E6BC" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Proceeds from exercise of stock options</link:label>
    <link:label id="lab_us-gaap_ProceedsFromStockOptionsExercised_6713925D435B95FD56CBEAF7DCC4E6BC_label_en-US" xlink:label="lab_us-gaap_ProceedsFromStockOptionsExercised_6713925D435B95FD56CBEAF7DCC4E6BC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds from Stock Options Exercised</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_6713925D435B95FD56CBEAF7DCC4E6BC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromStockOptionsExercised_6713925D435B95FD56CBEAF7DCC4E6BC" xlink:to="lab_us-gaap_ProceedsFromStockOptionsExercised_6713925D435B95FD56CBEAF7DCC4E6BC" xlink:type="arc" />
    <link:label id="lab_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_AECA0DC28AA92AAAB8B0EAF7DCC4A8FE_terseLabel_en-US" xlink:label="lab_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_AECA0DC28AA92AAAB8B0EAF7DCC4A8FE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Tax withholdings related to net share settlements of restricted stock units</link:label>
    <link:label id="lab_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_AECA0DC28AA92AAAB8B0EAF7DCC4A8FE_label_en-US" xlink:label="lab_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_AECA0DC28AA92AAAB8B0EAF7DCC4A8FE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Excess Tax Benefit from Share-based Compensation, Financing Activities</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_AECA0DC28AA92AAAB8B0EAF7DCC4A8FE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_AECA0DC28AA92AAAB8B0EAF7DCC4A8FE" xlink:to="lab_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_AECA0DC28AA92AAAB8B0EAF7DCC4A8FE" xlink:type="arc" />
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities_FA98C01AA73B41B1BB5EEAF7DCC4D90B_totalLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities_FA98C01AA73B41B1BB5EEAF7DCC4D90B" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net cash (used in) financing activities</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities_FA98C01AA73B41B1BB5EEAF7DCC4D90B_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities_FA98C01AA73B41B1BB5EEAF7DCC4D90B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Cash Provided by (Used in) Financing Activities</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_FA98C01AA73B41B1BB5EEAF7DCC4D90B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_FA98C01AA73B41B1BB5EEAF7DCC4D90B" xlink:to="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities_FA98C01AA73B41B1BB5EEAF7DCC4D90B" xlink:type="arc" />
    <link:label id="lab_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_D5D8048B6A7E94950776EAF7DCC5DE13_totalLabel_en-US" xlink:label="lab_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_D5D8048B6A7E94950776EAF7DCC5DE13" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net (decrease) increase in cash and cash equivalents</link:label>
    <link:label id="lab_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_D5D8048B6A7E94950776EAF7DCC5DE13_label_en-US" xlink:label="lab_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_D5D8048B6A7E94950776EAF7DCC5DE13" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash and Cash Equivalents, Period Increase (Decrease)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_D5D8048B6A7E94950776EAF7DCC5DE13" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_D5D8048B6A7E94950776EAF7DCC5DE13" xlink:to="lab_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_D5D8048B6A7E94950776EAF7DCC5DE13" xlink:type="arc" />
    <link:label id="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue_181CABE2A0BE6EF519C4EAF7DCC5EA63_periodStartLabel_en-US" xlink:label="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue_181CABE2A0BE6EF519C4EAF7DCC5EA63" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:type="resource" xml:lang="en-US">Cash and cash equivalents at beginning of period</link:label>
    <link:label id="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue_181CABE2A0BE6EF519C4EAF7DCC5EA63_label_en-US" xlink:label="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue_181CABE2A0BE6EF519C4EAF7DCC5EA63" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash and Cash Equivalents, at Carrying Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_181CABE2A0BE6EF519C4EAF7DCC5EA63" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_181CABE2A0BE6EF519C4EAF7DCC5EA63" xlink:to="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue_181CABE2A0BE6EF519C4EAF7DCC5EA63" xlink:type="arc" />
    <link:label id="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue_E26332060C6CA85A068FEAF7DCC509B6_periodEndLabel_en-US" xlink:label="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue_E26332060C6CA85A068FEAF7DCC509B6" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:type="resource" xml:lang="en-US">Cash and cash equivalents at end of period</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_E26332060C6CA85A068FEAF7DCC509B6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_E26332060C6CA85A068FEAF7DCC509B6" xlink:to="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue_E26332060C6CA85A068FEAF7DCC509B6" xlink:type="arc" />
    <link:label id="lab_us-gaap_SupplementalCashFlowInformationAbstract_33653D1D5D104AC520BBEAF7DCC5F306_terseLabel_en-US" xlink:label="lab_us-gaap_SupplementalCashFlowInformationAbstract_33653D1D5D104AC520BBEAF7DCC5F306" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Supplemental Disclosure of Cash Flow Information:</link:label>
    <link:label id="lab_us-gaap_SupplementalCashFlowInformationAbstract_33653D1D5D104AC520BBEAF7DCC5F306_label_en-US" xlink:label="lab_us-gaap_SupplementalCashFlowInformationAbstract_33653D1D5D104AC520BBEAF7DCC5F306" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Supplemental Cash Flow Information [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_33653D1D5D104AC520BBEAF7DCC5F306" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_33653D1D5D104AC520BBEAF7DCC5F306" xlink:to="lab_us-gaap_SupplementalCashFlowInformationAbstract_33653D1D5D104AC520BBEAF7DCC5F306" xlink:type="arc" />
    <link:label id="lab_us-gaap_IncomeTaxesPaidNet_F81E16ADDB7DC80C8C9BEAF7DCC57089_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxesPaidNet_F81E16ADDB7DC80C8C9BEAF7DCC57089" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Income taxes paid, net of refunds</link:label>
    <link:label id="lab_us-gaap_IncomeTaxesPaidNet_F81E16ADDB7DC80C8C9BEAF7DCC57089_label_en-US" xlink:label="lab_us-gaap_IncomeTaxesPaidNet_F81E16ADDB7DC80C8C9BEAF7DCC57089" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Taxes Paid, Net</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxesPaidNet" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_F81E16ADDB7DC80C8C9BEAF7DCC57089" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxesPaidNet_F81E16ADDB7DC80C8C9BEAF7DCC57089" xlink:to="lab_us-gaap_IncomeTaxesPaidNet_F81E16ADDB7DC80C8C9BEAF7DCC57089" xlink:type="arc" />
    <link:label id="lab_us-gaap_InterestPaidNet_BB3F89AADBE4C87E4507EAFFE87ACD81_terseLabel_en-US" xlink:label="lab_us-gaap_InterestPaidNet_BB3F89AADBE4C87E4507EAFFE87ACD81" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest paid</link:label>
    <link:label id="lab_us-gaap_InterestPaidNet_BB3F89AADBE4C87E4507EAFFE87ACD81_label_en-US" xlink:label="lab_us-gaap_InterestPaidNet_BB3F89AADBE4C87E4507EAFFE87ACD81" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Paid, Excluding Capitalized Interest, Operating Activities</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestPaidNet" xlink:label="loc_us-gaap_InterestPaidNet_BB3F89AADBE4C87E4507EAFFE87ACD81" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestPaidNet_BB3F89AADBE4C87E4507EAFFE87ACD81" xlink:to="lab_us-gaap_InterestPaidNet_BB3F89AADBE4C87E4507EAFFE87ACD81" xlink:type="arc" />
    <link:label id="lab_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_88D7DC643BCDC6E4EA36EAF7DCC69C35_terseLabel_en-US" xlink:label="lab_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_88D7DC643BCDC6E4EA36EAF7DCC69C35" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Non-Cash Investing and Financing Activities:</link:label>
    <link:label id="lab_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_88D7DC643BCDC6E4EA36EAF7DCC69C35_label_en-US" xlink:label="lab_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_88D7DC643BCDC6E4EA36EAF7DCC69C35" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Adjustments, Noncash Items, to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_88D7DC643BCDC6E4EA36EAF7DCC69C35" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_88D7DC643BCDC6E4EA36EAF7DCC69C35" xlink:to="lab_us-gaap_AdjustmentsNoncashItemsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_88D7DC643BCDC6E4EA36EAF7DCC69C35" xlink:type="arc" />
    <link:label id="lab_us-gaap_DividendsCash_D6DBD788E426985E957AEAF7DCC634AB_terseLabel_en-US" xlink:label="lab_us-gaap_DividendsCash_D6DBD788E426985E957AEAF7DCC634AB" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Unpaid stock repurchases</link:label>
    <link:label id="lab_us-gaap_DividendsCash_D6DBD788E426985E957AEAF7DCC634AB_label_en-US" xlink:label="lab_us-gaap_DividendsCash_D6DBD788E426985E957AEAF7DCC634AB" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Dividends, Cash</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsCash" xlink:label="loc_us-gaap_DividendsCash_D6DBD788E426985E957AEAF7DCC634AB" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DividendsCash_D6DBD788E426985E957AEAF7DCC634AB" xlink:to="lab_us-gaap_DividendsCash_D6DBD788E426985E957AEAF7DCC634AB" xlink:type="arc" />
    <link:label id="lab_us-gaap_CapitalExpendituresIncurredButNotYetPaid_D35781F6A0B85A4F39C3EAF7DCC664C1_terseLabel_en-US" xlink:label="lab_us-gaap_CapitalExpendituresIncurredButNotYetPaid_D35781F6A0B85A4F39C3EAF7DCC664C1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Unpaid property and equipment and other long-term assets</link:label>
    <link:label id="lab_us-gaap_CapitalExpendituresIncurredButNotYetPaid_D35781F6A0B85A4F39C3EAF7DCC664C1_label_en-US" xlink:label="lab_us-gaap_CapitalExpendituresIncurredButNotYetPaid_D35781F6A0B85A4F39C3EAF7DCC664C1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Capital Expenditures Incurred but Not yet Paid</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalExpendituresIncurredButNotYetPaid" xlink:label="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_D35781F6A0B85A4F39C3EAF7DCC664C1" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_D35781F6A0B85A4F39C3EAF7DCC664C1" xlink:to="lab_us-gaap_CapitalExpendituresIncurredButNotYetPaid_D35781F6A0B85A4F39C3EAF7DCC664C1" xlink:type="arc" />
    <link:label id="lab_us-gaap_LiabilitiesAssumed1_DA14F15A3FE2A9111F1CEAF7DCC6E9C2_terseLabel_en-US" xlink:label="lab_us-gaap_LiabilitiesAssumed1_DA14F15A3FE2A9111F1CEAF7DCC6E9C2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Unpaid investment purchases</link:label>
    <link:label id="lab_us-gaap_LiabilitiesAssumed1_DA14F15A3FE2A9111F1CEAF7DCC6E9C2_label_en-US" xlink:label="lab_us-gaap_LiabilitiesAssumed1_DA14F15A3FE2A9111F1CEAF7DCC6E9C2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities Assumed</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAssumed1" xlink:label="loc_us-gaap_LiabilitiesAssumed1_DA14F15A3FE2A9111F1CEAF7DCC6E9C2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesAssumed1_DA14F15A3FE2A9111F1CEAF7DCC6E9C2" xlink:to="lab_us-gaap_LiabilitiesAssumed1_DA14F15A3FE2A9111F1CEAF7DCC6E9C2" xlink:type="arc" />
    <link:label id="lab_us-gaap_MarketableSecuritiesTable_573C6ABD9073A40EAD63E9FFD948D684_terseLabel_en-US" xlink:label="lab_us-gaap_MarketableSecuritiesTable_573C6ABD9073A40EAD63E9FFD948D684" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Marketable Securities [Table]</link:label>
    <link:label id="lab_us-gaap_MarketableSecuritiesTable_573C6ABD9073A40EAD63E9FFD948D684_label_en-US" xlink:label="lab_us-gaap_MarketableSecuritiesTable_573C6ABD9073A40EAD63E9FFD948D684" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Marketable Securities [Table]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MarketableSecuritiesTable" xlink:label="loc_us-gaap_MarketableSecuritiesTable_573C6ABD9073A40EAD63E9FFD948D684" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MarketableSecuritiesTable_573C6ABD9073A40EAD63E9FFD948D684" xlink:to="lab_us-gaap_MarketableSecuritiesTable_573C6ABD9073A40EAD63E9FFD948D684" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueByMeasurementFrequencyAxis_934CCDC2EBE138DEA994E9FFD949AB70_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueByMeasurementFrequencyAxis_934CCDC2EBE138DEA994E9FFD949AB70" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Measurement Frequency [Axis]</link:label>
    <link:label id="lab_us-gaap_FairValueByMeasurementFrequencyAxis_934CCDC2EBE138DEA994E9FFD949AB70_label_en-US" xlink:label="lab_us-gaap_FairValueByMeasurementFrequencyAxis_934CCDC2EBE138DEA994E9FFD949AB70" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Measurement Frequency [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_934CCDC2EBE138DEA994E9FFD949AB70" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_934CCDC2EBE138DEA994E9FFD949AB70" xlink:to="lab_us-gaap_FairValueByMeasurementFrequencyAxis_934CCDC2EBE138DEA994E9FFD949AB70" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueMeasurementFrequencyDomain_0CAEBBB9C1E47342AFCAE9FFD949F62B_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementFrequencyDomain_0CAEBBB9C1E47342AFCAE9FFD949F62B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement Frequency [Domain]</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementFrequencyDomain_0CAEBBB9C1E47342AFCAE9FFD949F62B_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementFrequencyDomain_0CAEBBB9C1E47342AFCAE9FFD949F62B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement Frequency [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_0CAEBBB9C1E47342AFCAE9FFD949F62B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_0CAEBBB9C1E47342AFCAE9FFD949F62B" xlink:to="lab_us-gaap_FairValueMeasurementFrequencyDomain_0CAEBBB9C1E47342AFCAE9FFD949F62B" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueMeasurementsRecurringMember_AAFD8C7624794EE43C7CE9FFD94915F0_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementsRecurringMember_AAFD8C7624794EE43C7CE9FFD94915F0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair value, measurements, recurring</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementsRecurringMember_AAFD8C7624794EE43C7CE9FFD94915F0_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementsRecurringMember_AAFD8C7624794EE43C7CE9FFD94915F0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurements, Recurring [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_AAFD8C7624794EE43C7CE9FFD94915F0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementsRecurringMember_AAFD8C7624794EE43C7CE9FFD94915F0" xlink:to="lab_us-gaap_FairValueMeasurementsRecurringMember_AAFD8C7624794EE43C7CE9FFD94915F0" xlink:type="arc" />
    <link:label id="lab_us-gaap_FinancialInstrumentAxis_0F05BEA922397EA8CAABE9FFD94ADEAF_terseLabel_en-US" xlink:label="lab_us-gaap_FinancialInstrumentAxis_0F05BEA922397EA8CAABE9FFD94ADEAF" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial Instrument [Axis]</link:label>
    <link:label id="lab_us-gaap_FinancialInstrumentAxis_0F05BEA922397EA8CAABE9FFD94ADEAF_label_en-US" xlink:label="lab_us-gaap_FinancialInstrumentAxis_0F05BEA922397EA8CAABE9FFD94ADEAF" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Instrument [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_0F05BEA922397EA8CAABE9FFD94ADEAF" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialInstrumentAxis_0F05BEA922397EA8CAABE9FFD94ADEAF" xlink:to="lab_us-gaap_FinancialInstrumentAxis_0F05BEA922397EA8CAABE9FFD94ADEAF" xlink:type="arc" />
    <link:label id="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C03457C971DFA2F84BD5E9FFD94AF38F_terseLabel_en-US" xlink:label="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C03457C971DFA2F84BD5E9FFD94AF38F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Investment [Domain]</link:label>
    <link:label id="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C03457C971DFA2F84BD5E9FFD94AF38F_label_en-US" xlink:label="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C03457C971DFA2F84BD5E9FFD94AF38F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Instruments [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C03457C971DFA2F84BD5E9FFD94AF38F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C03457C971DFA2F84BD5E9FFD94AF38F" xlink:to="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C03457C971DFA2F84BD5E9FFD94AF38F" xlink:type="arc" />
    <link:label id="lab_us-gaap_MoneyMarketFundsMember_FF40B8BC960755718C8BE9FFD94A7918_terseLabel_en-US" xlink:label="lab_us-gaap_MoneyMarketFundsMember_FF40B8BC960755718C8BE9FFD94A7918" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Money market funds</link:label>
    <link:label id="lab_us-gaap_MoneyMarketFundsMember_FF40B8BC960755718C8BE9FFD94A7918_label_en-US" xlink:label="lab_us-gaap_MoneyMarketFundsMember_FF40B8BC960755718C8BE9FFD94A7918" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Money Market Funds [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_FF40B8BC960755718C8BE9FFD94A7918" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MoneyMarketFundsMember_FF40B8BC960755718C8BE9FFD94A7918" xlink:to="lab_us-gaap_MoneyMarketFundsMember_FF40B8BC960755718C8BE9FFD94A7918" xlink:type="arc" />
    <link:label id="lab_us-gaap_CommercialPaperMember_7F3D1CDB954BAD725150E9FFD94A6639_terseLabel_en-US" xlink:label="lab_us-gaap_CommercialPaperMember_7F3D1CDB954BAD725150E9FFD94A6639" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Commercial paper</link:label>
    <link:label id="lab_us-gaap_CommercialPaperMember_7F3D1CDB954BAD725150E9FFD94A6639_label_en-US" xlink:label="lab_us-gaap_CommercialPaperMember_7F3D1CDB954BAD725150E9FFD94A6639" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Commercial Paper [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_7F3D1CDB954BAD725150E9FFD94A6639" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommercialPaperMember_7F3D1CDB954BAD725150E9FFD94A6639" xlink:to="lab_us-gaap_CommercialPaperMember_7F3D1CDB954BAD725150E9FFD94A6639" xlink:type="arc" />
    <link:label id="lab_us-gaap_CorporateDebtSecuritiesMember_99AB8E52666FF0F18C1EE9FFD94B0C75_terseLabel_en-US" xlink:label="lab_us-gaap_CorporateDebtSecuritiesMember_99AB8E52666FF0F18C1EE9FFD94B0C75" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Corporate securities</link:label>
    <link:label id="lab_us-gaap_CorporateDebtSecuritiesMember_99AB8E52666FF0F18C1EE9FFD94B0C75_label_en-US" xlink:label="lab_us-gaap_CorporateDebtSecuritiesMember_99AB8E52666FF0F18C1EE9FFD94B0C75" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Corporate Debt Securities [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_99AB8E52666FF0F18C1EE9FFD94B0C75" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CorporateDebtSecuritiesMember_99AB8E52666FF0F18C1EE9FFD94B0C75" xlink:to="lab_us-gaap_CorporateDebtSecuritiesMember_99AB8E52666FF0F18C1EE9FFD94B0C75" xlink:type="arc" />
    <link:label id="lab_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C40A0F1E8CFF48126F4DE9FFD94B9BF3_terseLabel_en-US" xlink:label="lab_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C40A0F1E8CFF48126F4DE9FFD94B9BF3" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">U.S agency securities</link:label>
    <link:label id="lab_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C40A0F1E8CFF48126F4DE9FFD94B9BF3_label_en-US" xlink:label="lab_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C40A0F1E8CFF48126F4DE9FFD94B9BF3" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">US Government Agencies Debt Securities [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C40A0F1E8CFF48126F4DE9FFD94B9BF3" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C40A0F1E8CFF48126F4DE9FFD94B9BF3" xlink:to="lab_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C40A0F1E8CFF48126F4DE9FFD94B9BF3" xlink:type="arc" />
    <link:label id="lab_us-gaap_USTreasuryBondSecuritiesMember_E2BC8CA5CFC2EC5456BDE9FFD94BA0C6_terseLabel_en-US" xlink:label="lab_us-gaap_USTreasuryBondSecuritiesMember_E2BC8CA5CFC2EC5456BDE9FFD94BA0C6" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">US Government Bonds</link:label>
    <link:label id="lab_us-gaap_USTreasuryBondSecuritiesMember_E2BC8CA5CFC2EC5456BDE9FFD94BA0C6_label_en-US" xlink:label="lab_us-gaap_USTreasuryBondSecuritiesMember_E2BC8CA5CFC2EC5456BDE9FFD94BA0C6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">US Treasury Bond Securities [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USTreasuryBondSecuritiesMember" xlink:label="loc_us-gaap_USTreasuryBondSecuritiesMember_E2BC8CA5CFC2EC5456BDE9FFD94BA0C6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_USTreasuryBondSecuritiesMember_E2BC8CA5CFC2EC5456BDE9FFD94BA0C6" xlink:to="lab_us-gaap_USTreasuryBondSecuritiesMember_E2BC8CA5CFC2EC5456BDE9FFD94BA0C6" xlink:type="arc" />
    <link:label id="lab_us-gaap_FairValueInputsLevel1Member_0C54EC3777F694524BB4E9FFD94CFB08_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueInputsLevel1Member_0C54EC3777F694524BB4E9FFD94CFB08" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair value, inputs, level 1</link:label>
    <link:label id="lab_us-gaap_FairValueInputsLevel1Member_0C54EC3777F694524BB4E9FFD94CFB08_label_en-US" xlink:label="lab_us-gaap_FairValueInputsLevel1Member_0C54EC3777F694524BB4E9FFD94CFB08" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Inputs, Level 1 [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_0C54EC3777F694524BB4E9FFD94CFB08" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueInputsLevel1Member_0C54EC3777F694524BB4E9FFD94CFB08" xlink:to="lab_us-gaap_FairValueInputsLevel1Member_0C54EC3777F694524BB4E9FFD94CFB08" xlink:type="arc" />
    <link:label id="lab_us-gaap_MarketableSecuritiesLineItems_DE3F80D6C36992EA3D09E9FFD94CCF2D_terseLabel_en-US" xlink:label="lab_us-gaap_MarketableSecuritiesLineItems_DE3F80D6C36992EA3D09E9FFD94CCF2D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Marketable Securities [Line Items]</link:label>
    <link:label id="lab_us-gaap_MarketableSecuritiesLineItems_DE3F80D6C36992EA3D09E9FFD94CCF2D_label_en-US" xlink:label="lab_us-gaap_MarketableSecuritiesLineItems_DE3F80D6C36992EA3D09E9FFD94CCF2D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Marketable Securities [Line Items]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MarketableSecuritiesLineItems" xlink:label="loc_us-gaap_MarketableSecuritiesLineItems_DE3F80D6C36992EA3D09E9FFD94CCF2D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MarketableSecuritiesLineItems_DE3F80D6C36992EA3D09E9FFD94CCF2D" xlink:to="lab_us-gaap_MarketableSecuritiesLineItems_DE3F80D6C36992EA3D09E9FFD94CCF2D" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_A486FA05FE6F5426B815E9FFD94C2537_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_A486FA05FE6F5426B815E9FFD94C2537" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Amortized Cost</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_A486FA05FE6F5426B815E9FFD94C2537_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_A486FA05FE6F5426B815E9FFD94C2537" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Amortized Cost</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_A486FA05FE6F5426B815E9FFD94C2537" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_A486FA05FE6F5426B815E9FFD94C2537" xlink:to="lab_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_A486FA05FE6F5426B815E9FFD94C2537" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedGain_731EBE4763EF386CDAA2E9FFD94D0527_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedGain_731EBE4763EF386CDAA2E9FFD94D0527" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Gain</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedGain_731EBE4763EF386CDAA2E9FFD94D0527_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedGain_731EBE4763EF386CDAA2E9FFD94D0527" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Gain</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedGain" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedGain_731EBE4763EF386CDAA2E9FFD94D0527" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedGain_731EBE4763EF386CDAA2E9FFD94D0527" xlink:to="lab_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedGain_731EBE4763EF386CDAA2E9FFD94D0527" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss_9610E942606C28E05171E9FFD94D2CA6_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss_9610E942606C28E05171E9FFD94D2CA6" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Loss</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss_9610E942606C28E05171E9FFD94D2CA6_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss_9610E942606C28E05171E9FFD94D2CA6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Unrealized Loss</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss_9610E942606C28E05171E9FFD94D2CA6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss_9610E942606C28E05171E9FFD94D2CA6" xlink:to="lab_us-gaap_AvailableForSaleDebtSecuritiesGrossUnrealizedLoss_9610E942606C28E05171E9FFD94D2CA6" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities_69CC6F8E86B17E0364F2E9FFD94D83DE_verboseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities_69CC6F8E86B17E0364F2E9FFD94D83DE" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities_69CC6F8E86B17E0364F2E9FFD94D83DE_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities_69CC6F8E86B17E0364F2E9FFD94D83DE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_69CC6F8E86B17E0364F2E9FFD94D83DE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_69CC6F8E86B17E0364F2E9FFD94D83DE" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities_69CC6F8E86B17E0364F2E9FFD94D83DE" xlink:type="arc" />
    <link:label id="lab_us-gaap_CashAndCashEquivalentsFairValueDisclosure_28467E7EE0CE568281FAE9FFD94DAD0B_terseLabel_en-US" xlink:label="lab_us-gaap_CashAndCashEquivalentsFairValueDisclosure_28467E7EE0CE568281FAE9FFD94DAD0B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash and Cash Equivalents, Fair Value Disclosure</link:label>
    <link:label id="lab_us-gaap_CashAndCashEquivalentsFairValueDisclosure_28467E7EE0CE568281FAE9FFD94DAD0B_label_en-US" xlink:label="lab_us-gaap_CashAndCashEquivalentsFairValueDisclosure_28467E7EE0CE568281FAE9FFD94DAD0B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash and Cash Equivalents, Fair Value Disclosure</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_28467E7EE0CE568281FAE9FFD94DAD0B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_28467E7EE0CE568281FAE9FFD94DAD0B" xlink:to="lab_us-gaap_CashAndCashEquivalentsFairValueDisclosure_28467E7EE0CE568281FAE9FFD94DAD0B" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_C77B16F699772CA75DB8E9FFD94D3006_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_C77B16F699772CA75DB8E9FFD94D3006" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Short-Term Investments</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_C77B16F699772CA75DB8E9FFD94D3006_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_C77B16F699772CA75DB8E9FFD94D3006" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_C77B16F699772CA75DB8E9FFD94D3006" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_C77B16F699772CA75DB8E9FFD94D3006" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_C77B16F699772CA75DB8E9FFD94D3006" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_1E940FB4DF126E732837E9FFD94DB1EC_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_1E940FB4DF126E732837E9FFD94DB1EC" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Long-Term Investments</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_1E940FB4DF126E732837E9FFD94DB1EC_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_1E940FB4DF126E732837E9FFD94DB1EC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Noncurrent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_1E940FB4DF126E732837E9FFD94DB1EC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_1E940FB4DF126E732837E9FFD94DB1EC" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesNoncurrent_1E940FB4DF126E732837E9FFD94DB1EC" xlink:type="arc" />
    <link:label id="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock_BC647AF55BE590D6CEDC1CBF864980CF_terseLabel_en-US" xlink:label="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock_BC647AF55BE590D6CEDC1CBF864980CF" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">COMMON STOCK AND TREASURY STOCK</link:label>
    <link:label id="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock_BC647AF55BE590D6CEDC1CBF864980CF_label_en-US" xlink:label="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock_BC647AF55BE590D6CEDC1CBF864980CF" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stockholders' Equity Note Disclosure [Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:label="loc_us-gaap_StockholdersEquityNoteDisclosureTextBlock_BC647AF55BE590D6CEDC1CBF864980CF" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquityNoteDisclosureTextBlock_BC647AF55BE590D6CEDC1CBF864980CF" xlink:to="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock_BC647AF55BE590D6CEDC1CBF864980CF" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock_95B34009ED56AE39ECFA1CBF866824DD_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock_95B34009ED56AE39ECFA1CBF866824DD" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Stock-based compensation expense</link:label>
    <link:label id="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock_95B34009ED56AE39ECFA1CBF866824DD_label_en-US" xlink:label="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock_95B34009ED56AE39ECFA1CBF866824DD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock_95B34009ED56AE39ECFA1CBF866824DD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock_95B34009ED56AE39ECFA1CBF866824DD" xlink:to="lab_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock_95B34009ED56AE39ECFA1CBF866824DD" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_D90F2674FE4257CD12F31CBF86684189_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_D90F2674FE4257CD12F31CBF86684189" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Summary of option activity for the company's stock incentive plans</link:label>
    <link:label id="lab_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_D90F2674FE4257CD12F31CBF86684189_label_en-US" xlink:label="lab_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_D90F2674FE4257CD12F31CBF86684189" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-based Compensation, Stock Options, Activity [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_D90F2674FE4257CD12F31CBF86684189" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_D90F2674FE4257CD12F31CBF86684189" xlink:to="lab_us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock_D90F2674FE4257CD12F31CBF86684189" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock_2CB08A1DCCC39F602B551CBF866821A0_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock_2CB08A1DCCC39F602B551CBF866821A0" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Activity of RSUs</link:label>
    <link:label id="lab_us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock_2CB08A1DCCC39F602B551CBF866821A0_label_en-US" xlink:label="lab_us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock_2CB08A1DCCC39F602B551CBF866821A0" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Share-based Compensation, Restricted Stock Units Award Activity [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock_2CB08A1DCCC39F602B551CBF866821A0" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock_2CB08A1DCCC39F602B551CBF866821A0" xlink:to="lab_us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock_2CB08A1DCCC39F602B551CBF866821A0" xlink:type="arc" />
    <link:label id="lab_srt_ConsolidationItemsAxis_1DDB5C4F714F2BFAAF5FD6003F12D027_terseLabel_en-US" xlink:label="lab_srt_ConsolidationItemsAxis_1DDB5C4F714F2BFAAF5FD6003F12D027" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Consolidation Items [Axis]</link:label>
    <link:label id="lab_srt_ConsolidationItemsAxis_1DDB5C4F714F2BFAAF5FD6003F12D027_label_en-US" xlink:label="lab_srt_ConsolidationItemsAxis_1DDB5C4F714F2BFAAF5FD6003F12D027" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Consolidation Items [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_1DDB5C4F714F2BFAAF5FD6003F12D027" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidationItemsAxis_1DDB5C4F714F2BFAAF5FD6003F12D027" xlink:to="lab_srt_ConsolidationItemsAxis_1DDB5C4F714F2BFAAF5FD6003F12D027" xlink:type="arc" />
    <link:label id="lab_srt_ConsolidationItemsDomain_B75826CAE5C96AE117C4D6003F12EF8E_terseLabel_en-US" xlink:label="lab_srt_ConsolidationItemsDomain_B75826CAE5C96AE117C4D6003F12EF8E" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Consolidation Items [Domain]</link:label>
    <link:label id="lab_srt_ConsolidationItemsDomain_B75826CAE5C96AE117C4D6003F12EF8E_label_en-US" xlink:label="lab_srt_ConsolidationItemsDomain_B75826CAE5C96AE117C4D6003F12EF8E" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Consolidation Items [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_B75826CAE5C96AE117C4D6003F12EF8E" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidationItemsDomain_B75826CAE5C96AE117C4D6003F12EF8E" xlink:to="lab_srt_ConsolidationItemsDomain_B75826CAE5C96AE117C4D6003F12EF8E" xlink:type="arc" />
    <link:label id="lab_srt_ReportableGeographicalComponentsMember_F0EE6FBA63D9172D9CCED6003F13C392_terseLabel_en-US" xlink:label="lab_srt_ReportableGeographicalComponentsMember_F0EE6FBA63D9172D9CCED6003F13C392" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Reportable Geographical Components</link:label>
    <link:label id="lab_srt_ReportableGeographicalComponentsMember_F0EE6FBA63D9172D9CCED6003F13C392_label_en-US" xlink:label="lab_srt_ReportableGeographicalComponentsMember_F0EE6FBA63D9172D9CCED6003F13C392" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Reportable Geographical Components [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ReportableGeographicalComponentsMember" xlink:label="loc_srt_ReportableGeographicalComponentsMember_F0EE6FBA63D9172D9CCED6003F13C392" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ReportableGeographicalComponentsMember_F0EE6FBA63D9172D9CCED6003F13C392" xlink:to="lab_srt_ReportableGeographicalComponentsMember_F0EE6FBA63D9172D9CCED6003F13C392" xlink:type="arc" />
    <link:label id="lab_srt_StatementGeographicalAxis_CEDF45938130223C03A3D6003F139D17_terseLabel_en-US" xlink:label="lab_srt_StatementGeographicalAxis_CEDF45938130223C03A3D6003F139D17" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Geographical [Axis]</link:label>
    <link:label id="lab_srt_StatementGeographicalAxis_CEDF45938130223C03A3D6003F139D17_label_en-US" xlink:label="lab_srt_StatementGeographicalAxis_CEDF45938130223C03A3D6003F139D17" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Geographical [Axis]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_CEDF45938130223C03A3D6003F139D17" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_StatementGeographicalAxis_CEDF45938130223C03A3D6003F139D17" xlink:to="lab_srt_StatementGeographicalAxis_CEDF45938130223C03A3D6003F139D17" xlink:type="arc" />
    <link:label id="lab_srt_SegmentGeographicalDomain_566F3BD1643DF8902549D6003F13745A_verboseLabel_en-US" xlink:label="lab_srt_SegmentGeographicalDomain_566F3BD1643DF8902549D6003F13745A" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Segment, Geographical [Domain]</link:label>
    <link:label id="lab_srt_SegmentGeographicalDomain_566F3BD1643DF8902549D6003F13745A_label_en-US" xlink:label="lab_srt_SegmentGeographicalDomain_566F3BD1643DF8902549D6003F13745A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Geographical [Domain]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_566F3BD1643DF8902549D6003F13745A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_SegmentGeographicalDomain_566F3BD1643DF8902549D6003F13745A" xlink:to="lab_srt_SegmentGeographicalDomain_566F3BD1643DF8902549D6003F13745A" xlink:type="arc" />
    <link:label id="lab_srt_NorthAmericaMember_29C125E189EA48D143E3D6003F135935_terseLabel_en-US" xlink:label="lab_srt_NorthAmericaMember_29C125E189EA48D143E3D6003F135935" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">North America</link:label>
    <link:label id="lab_srt_NorthAmericaMember_29C125E189EA48D143E3D6003F135935_label_en-US" xlink:label="lab_srt_NorthAmericaMember_29C125E189EA48D143E3D6003F135935" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">North America [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_NorthAmericaMember" xlink:label="loc_srt_NorthAmericaMember_29C125E189EA48D143E3D6003F135935" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_NorthAmericaMember_29C125E189EA48D143E3D6003F135935" xlink:to="lab_srt_NorthAmericaMember_29C125E189EA48D143E3D6003F135935" xlink:type="arc" />
    <link:label id="lab_srt_SouthAmericaMember_AA67214A4EE96E56495CD6003F19DEB2_terseLabel_en-US" xlink:label="lab_srt_SouthAmericaMember_AA67214A4EE96E56495CD6003F19DEB2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">South America</link:label>
    <link:label id="lab_srt_SouthAmericaMember_AA67214A4EE96E56495CD6003F19DEB2_label_en-US" xlink:label="lab_srt_SouthAmericaMember_AA67214A4EE96E56495CD6003F19DEB2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">South America [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SouthAmericaMember" xlink:label="loc_srt_SouthAmericaMember_AA67214A4EE96E56495CD6003F19DEB2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_SouthAmericaMember_AA67214A4EE96E56495CD6003F19DEB2" xlink:to="lab_srt_SouthAmericaMember_AA67214A4EE96E56495CD6003F19DEB2" xlink:type="arc" />
    <link:label id="lab_us-gaap_EMEAMember_9BBE4C665D179D2F4187D6003F195224_terseLabel_en-US" xlink:label="lab_us-gaap_EMEAMember_9BBE4C665D179D2F4187D6003F195224" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Europe, the Middle East and Africa (EMEA)</link:label>
    <link:label id="lab_us-gaap_EMEAMember_9BBE4C665D179D2F4187D6003F195224_label_en-US" xlink:label="lab_us-gaap_EMEAMember_9BBE4C665D179D2F4187D6003F195224" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">EMEA [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EMEAMember" xlink:label="loc_us-gaap_EMEAMember_9BBE4C665D179D2F4187D6003F195224" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EMEAMember_9BBE4C665D179D2F4187D6003F195224" xlink:to="lab_us-gaap_EMEAMember_9BBE4C665D179D2F4187D6003F195224" xlink:type="arc" />
    <link:label id="lab_srt_AsiaPacificMember_2C580E85B2A2C8C6F78CD6003F19B53A_terseLabel_en-US" xlink:label="lab_srt_AsiaPacificMember_2C580E85B2A2C8C6F78CD6003F19B53A" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Asia Pacific</link:label>
    <link:label id="lab_srt_AsiaPacificMember_2C580E85B2A2C8C6F78CD6003F19B53A_label_en-US" xlink:label="lab_srt_AsiaPacificMember_2C580E85B2A2C8C6F78CD6003F19B53A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Asia Pacific [Member]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_AsiaPacificMember" xlink:label="loc_srt_AsiaPacificMember_2C580E85B2A2C8C6F78CD6003F19B53A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_AsiaPacificMember_2C580E85B2A2C8C6F78CD6003F19B53A" xlink:to="lab_srt_AsiaPacificMember_2C580E85B2A2C8C6F78CD6003F19B53A" xlink:type="arc" />
    <link:label id="lab_country_US_220A958C4F48BE8CAD85D6003F1A5341_terseLabel_en-US" xlink:label="lab_country_US_220A958C4F48BE8CAD85D6003F1A5341" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">United States</link:label>
    <link:label id="lab_country_US_220A958C4F48BE8CAD85D6003F1A5341_label_en-US" xlink:label="lab_country_US_220A958C4F48BE8CAD85D6003F1A5341" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">UNITED STATES</link:label>
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_220A958C4F48BE8CAD85D6003F1A5341" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_country_US_220A958C4F48BE8CAD85D6003F1A5341" xlink:to="lab_country_US_220A958C4F48BE8CAD85D6003F1A5341" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_6E85BB1C282313381E23D6219A8F3CEB_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_6E85BB1C282313381E23D6219A8F3CEB" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available-for-sale Securities, Debt Maturities [Abstract]</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_6E85BB1C282313381E23D6219A8F3CEB_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_6E85BB1C282313381E23D6219A8F3CEB" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Available-for-sale Securities, Debt Maturities [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_6E85BB1C282313381E23D6219A8F3CEB" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_6E85BB1C282313381E23D6219A8F3CEB" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_6E85BB1C282313381E23D6219A8F3CEB" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_77939D9C5647B4894798D6219A8F92CE_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_77939D9C5647B4894798D6219A8F92CE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Amortized Cost, Fiscal Year Maturity [Abstract]</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_77939D9C5647B4894798D6219A8F92CE_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_77939D9C5647B4894798D6219A8F92CE" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Amortized Cost, Fiscal Year Maturity [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_77939D9C5647B4894798D6219A8F92CE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_77939D9C5647B4894798D6219A8F92CE" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_77939D9C5647B4894798D6219A8F92CE" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_8AE4BEB712AEB448896DD6219A8F84C2_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_8AE4BEB712AEB448896DD6219A8F84C2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available-for-sale, amortized cost, due within 1 year</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_8AE4BEB712AEB448896DD6219A8F84C2_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_8AE4BEB712AEB448896DD6219A8F84C2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, within One Year, Amortized Cost</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_8AE4BEB712AEB448896DD6219A8F84C2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_8AE4BEB712AEB448896DD6219A8F84C2" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_8AE4BEB712AEB448896DD6219A8F84C2" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_47285C725961061BFE49D6219A8F8CAC_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_47285C725961061BFE49D6219A8F8CAC" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available-for-sale, amortized cost, due after 1 year through 5 years</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_47285C725961061BFE49D6219A8F8CAC_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_47285C725961061BFE49D6219A8F8CAC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after One Through Five Years, Amortized Cost</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_47285C725961061BFE49D6219A8F8CAC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_47285C725961061BFE49D6219A8F8CAC" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_47285C725961061BFE49D6219A8F8CAC" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_2B886674DF6CE794ADF2D6219A904A25_totalLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_2B886674DF6CE794ADF2D6219A904A25" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Available-for-sale, amortized cost, total</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_2B886674DF6CE794ADF2D6219A904A25" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_2B886674DF6CE794ADF2D6219A904A25" xlink:to="lab_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_2B886674DF6CE794ADF2D6219A904A25" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_4CE1C2CA3F05FCA566E9D6219A90BF5D_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_4CE1C2CA3F05FCA566E9D6219A90BF5D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Fair Value, Fiscal Year Maturity [Abstract]</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_4CE1C2CA3F05FCA566E9D6219A90BF5D_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_4CE1C2CA3F05FCA566E9D6219A90BF5D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Fair Value, Fiscal Year Maturity [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_4CE1C2CA3F05FCA566E9D6219A90BF5D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_4CE1C2CA3F05FCA566E9D6219A90BF5D" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_4CE1C2CA3F05FCA566E9D6219A90BF5D" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_3DA76C79BA1DDD1721A3D6219A90517A_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_3DA76C79BA1DDD1721A3D6219A90517A" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available-for-sale, fair value, due within 1 year</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_3DA76C79BA1DDD1721A3D6219A90517A_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_3DA76C79BA1DDD1721A3D6219A90517A" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, within One Year, Fair Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_3DA76C79BA1DDD1721A3D6219A90517A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_3DA76C79BA1DDD1721A3D6219A90517A" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_3DA76C79BA1DDD1721A3D6219A90517A" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_5AD186480557D346BD4DD6219A9108AC_terseLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_5AD186480557D346BD4DD6219A9108AC" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available-for-sale, fair value, due after 1 year through 5 years</link:label>
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_5AD186480557D346BD4DD6219A9108AC_label_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_5AD186480557D346BD4DD6219A9108AC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-sale, Maturity, Allocated and Single Maturity Date, after One Through Five Years, Fair Value</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_5AD186480557D346BD4DD6219A9108AC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_5AD186480557D346BD4DD6219A9108AC" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_5AD186480557D346BD4DD6219A9108AC" xlink:type="arc" />
    <link:label id="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities_17D4D15A0200739611C4D6219A91FD1A_totalLabel_en-US" xlink:label="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities_17D4D15A0200739611C4D6219A91FD1A" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Available-for-sale, fair value, total</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_17D4D15A0200739611C4D6219A91FD1A" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_17D4D15A0200739611C4D6219A91FD1A" xlink:to="lab_us-gaap_AvailableForSaleSecuritiesDebtSecurities_17D4D15A0200739611C4D6219A91FD1A" xlink:type="arc" />
    <link:label id="lab_us-gaap_AssetsAbstract_168C41FCF373F26F7DA3E9FFDA2266CC_terseLabel_en-US" xlink:label="lab_us-gaap_AssetsAbstract_168C41FCF373F26F7DA3E9FFDA2266CC" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Assets</link:label>
    <link:label id="lab_us-gaap_AssetsAbstract_168C41FCF373F26F7DA3E9FFDA2266CC_label_en-US" xlink:label="lab_us-gaap_AssetsAbstract_168C41FCF373F26F7DA3E9FFDA2266CC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Assets [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_168C41FCF373F26F7DA3E9FFDA2266CC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsAbstract_168C41FCF373F26F7DA3E9FFDA2266CC" xlink:to="lab_us-gaap_AssetsAbstract_168C41FCF373F26F7DA3E9FFDA2266CC" xlink:type="arc" />
    <link:label id="lab_us-gaap_AssetsCurrentAbstract_15E22766B099802B8605E9FFDA22458D_terseLabel_en-US" xlink:label="lab_us-gaap_AssetsCurrentAbstract_15E22766B099802B8605E9FFDA22458D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Current assets:</link:label>
    <link:label id="lab_us-gaap_AssetsCurrentAbstract_15E22766B099802B8605E9FFDA22458D_label_en-US" xlink:label="lab_us-gaap_AssetsCurrentAbstract_15E22766B099802B8605E9FFDA22458D" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Assets, Current [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_15E22766B099802B8605E9FFDA22458D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsCurrentAbstract_15E22766B099802B8605E9FFDA22458D" xlink:to="lab_us-gaap_AssetsCurrentAbstract_15E22766B099802B8605E9FFDA22458D" xlink:type="arc" />
    <link:label id="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue_6D4A944AB890EAACECDAE9FFDA227FEE_terseLabel_en-US" xlink:label="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue_6D4A944AB890EAACECDAE9FFDA227FEE" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash and cash equivalents</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6D4A944AB890EAACECDAE9FFDA227FEE" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6D4A944AB890EAACECDAE9FFDA227FEE" xlink:to="lab_us-gaap_CashAndCashEquivalentsAtCarryingValue_6D4A944AB890EAACECDAE9FFDA227FEE" xlink:type="arc" />
    <link:label id="lab_us-gaap_ShortTermInvestments_6DB9778E4EB83A0AED5DE9FFDA22E376_terseLabel_en-US" xlink:label="lab_us-gaap_ShortTermInvestments_6DB9778E4EB83A0AED5DE9FFDA22E376" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Investments &#8212; short-term</link:label>
    <link:label id="lab_us-gaap_ShortTermInvestments_6DB9778E4EB83A0AED5DE9FFDA22E376_label_en-US" xlink:label="lab_us-gaap_ShortTermInvestments_6DB9778E4EB83A0AED5DE9FFDA22E376" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Short-term Investments</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermInvestments" xlink:label="loc_us-gaap_ShortTermInvestments_6DB9778E4EB83A0AED5DE9FFDA22E376" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermInvestments_6DB9778E4EB83A0AED5DE9FFDA22E376" xlink:to="lab_us-gaap_ShortTermInvestments_6DB9778E4EB83A0AED5DE9FFDA22E376" xlink:type="arc" />
    <link:label id="lab_us-gaap_AccountsReceivableNetCurrent_0EDC01C16085AAA29563E9FFDA232530_terseLabel_en-US" xlink:label="lab_us-gaap_AccountsReceivableNetCurrent_0EDC01C16085AAA29563E9FFDA232530" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accounts receivable, net of allowance for doubtful accounts of $394 and $453 at September 30, 2018 and June 30, 2018, respectively</link:label>
    <link:label id="lab_us-gaap_AccountsReceivableNetCurrent_0EDC01C16085AAA29563E9FFDA232530_label_en-US" xlink:label="lab_us-gaap_AccountsReceivableNetCurrent_0EDC01C16085AAA29563E9FFDA232530" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accounts Receivable, Net, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_0EDC01C16085AAA29563E9FFDA232530" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsReceivableNetCurrent_0EDC01C16085AAA29563E9FFDA232530" xlink:to="lab_us-gaap_AccountsReceivableNetCurrent_0EDC01C16085AAA29563E9FFDA232530" xlink:type="arc" />
    <link:label id="lab_us-gaap_InventoryNet_C44102FC2B8F7753AFECE9FFDA2355F3_terseLabel_en-US" xlink:label="lab_us-gaap_InventoryNet_C44102FC2B8F7753AFECE9FFDA2355F3" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Inventories</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_C44102FC2B8F7753AFECE9FFDA2355F3" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InventoryNet_C44102FC2B8F7753AFECE9FFDA2355F3" xlink:to="lab_us-gaap_InventoryNet_C44102FC2B8F7753AFECE9FFDA2355F3" xlink:type="arc" />
    <link:label id="lab_ubnt_VendorDepositsCurrent_29FC0EB57BCD05BAADCEE9FFDA239FFD_terseLabel_en-US" xlink:label="lab_ubnt_VendorDepositsCurrent_29FC0EB57BCD05BAADCEE9FFDA239FFD" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Vendor deposits</link:label>
    <link:label id="lab_ubnt_VendorDepositsCurrent_29FC0EB57BCD05BAADCEE9FFDA239FFD_label_en-US" xlink:label="lab_ubnt_VendorDepositsCurrent_29FC0EB57BCD05BAADCEE9FFDA239FFD" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Vendor Deposits, Current</link:label>
    <link:label id="lab_ubnt_VendorDepositsCurrent_29FC0EB57BCD05BAADCEE9FFDA239FFD_documentation_en-US" xlink:label="lab_ubnt_VendorDepositsCurrent_29FC0EB57BCD05BAADCEE9FFDA239FFD" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Vendor Deposits, Current</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_VendorDepositsCurrent" xlink:label="loc_ubnt_VendorDepositsCurrent_29FC0EB57BCD05BAADCEE9FFDA239FFD" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_VendorDepositsCurrent_29FC0EB57BCD05BAADCEE9FFDA239FFD" xlink:to="lab_ubnt_VendorDepositsCurrent_29FC0EB57BCD05BAADCEE9FFDA239FFD" xlink:type="arc" />
    <link:label id="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_F3E407D6DDE62B684991E9FFDA231B01_terseLabel_en-US" xlink:label="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_F3E407D6DDE62B684991E9FFDA231B01" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Prepaid expenses and other current assets</link:label>
    <link:label id="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_F3E407D6DDE62B684991E9FFDA231B01_label_en-US" xlink:label="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_F3E407D6DDE62B684991E9FFDA231B01" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Prepaid Expense and Other Assets, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_F3E407D6DDE62B684991E9FFDA231B01" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_F3E407D6DDE62B684991E9FFDA231B01" xlink:to="lab_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_F3E407D6DDE62B684991E9FFDA231B01" xlink:type="arc" />
    <link:label id="lab_us-gaap_AssetsCurrent_ACBF44FDB66B31530A27E9FFDA240856_totalLabel_en-US" xlink:label="lab_us-gaap_AssetsCurrent_ACBF44FDB66B31530A27E9FFDA240856" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total current assets</link:label>
    <link:label id="lab_us-gaap_AssetsCurrent_ACBF44FDB66B31530A27E9FFDA240856_label_en-US" xlink:label="lab_us-gaap_AssetsCurrent_ACBF44FDB66B31530A27E9FFDA240856" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Assets, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_ACBF44FDB66B31530A27E9FFDA240856" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsCurrent_ACBF44FDB66B31530A27E9FFDA240856" xlink:to="lab_us-gaap_AssetsCurrent_ACBF44FDB66B31530A27E9FFDA240856" xlink:type="arc" />
    <link:label id="lab_us-gaap_PropertyPlantAndEquipmentNet_F6C955ECC881AD41B2A7E9FFDA24066D_terseLabel_en-US" xlink:label="lab_us-gaap_PropertyPlantAndEquipmentNet_F6C955ECC881AD41B2A7E9FFDA24066D" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Property and equipment, net</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_F6C955ECC881AD41B2A7E9FFDA24066D" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_F6C955ECC881AD41B2A7E9FFDA24066D" xlink:to="lab_us-gaap_PropertyPlantAndEquipmentNet_F6C955ECC881AD41B2A7E9FFDA24066D" xlink:type="arc" />
    <link:label id="lab_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_715E6EDE6EBFA69EFF81E9FFDA249FE6_terseLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_715E6EDE6EBFA69EFF81E9FFDA249FE6" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Deferred tax assets &#8212; long-term</link:label>
    <link:label id="lab_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_715E6EDE6EBFA69EFF81E9FFDA249FE6_label_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_715E6EDE6EBFA69EFF81E9FFDA249FE6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Assets, Net, Noncurrent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_715E6EDE6EBFA69EFF81E9FFDA249FE6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_715E6EDE6EBFA69EFF81E9FFDA249FE6" xlink:to="lab_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_715E6EDE6EBFA69EFF81E9FFDA249FE6" xlink:type="arc" />
    <link:label id="lab_us-gaap_LongTermInvestments_14AD6BD10500F00BA185E9FFDA24BFBC_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermInvestments_14AD6BD10500F00BA185E9FFDA24BFBC" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Investments &#8212; long-term</link:label>
    <link:label id="lab_us-gaap_LongTermInvestments_14AD6BD10500F00BA185E9FFDA24BFBC_label_en-US" xlink:label="lab_us-gaap_LongTermInvestments_14AD6BD10500F00BA185E9FFDA24BFBC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-term Investments</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_14AD6BD10500F00BA185E9FFDA24BFBC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermInvestments_14AD6BD10500F00BA185E9FFDA24BFBC" xlink:to="lab_us-gaap_LongTermInvestments_14AD6BD10500F00BA185E9FFDA24BFBC" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherAssetsNoncurrent_75A0C741F5A32719EB24E9FFDA2461B9_terseLabel_en-US" xlink:label="lab_us-gaap_OtherAssetsNoncurrent_75A0C741F5A32719EB24E9FFDA2461B9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other long-term assets</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_75A0C741F5A32719EB24E9FFDA2461B9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_75A0C741F5A32719EB24E9FFDA2461B9" xlink:to="lab_us-gaap_OtherAssetsNoncurrent_75A0C741F5A32719EB24E9FFDA2461B9" xlink:type="arc" />
    <link:label id="lab_us-gaap_Assets_1BF392DA41225B2E4745E9FFDA25054E_totalLabel_en-US" xlink:label="lab_us-gaap_Assets_1BF392DA41225B2E4745E9FFDA25054E" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total assets</link:label>
    <link:label id="lab_us-gaap_Assets_1BF392DA41225B2E4745E9FFDA25054E_label_en-US" xlink:label="lab_us-gaap_Assets_1BF392DA41225B2E4745E9FFDA25054E" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Assets</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_1BF392DA41225B2E4745E9FFDA25054E" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Assets_1BF392DA41225B2E4745E9FFDA25054E" xlink:to="lab_us-gaap_Assets_1BF392DA41225B2E4745E9FFDA25054E" xlink:type="arc" />
    <link:label id="lab_us-gaap_LiabilitiesAndStockholdersEquityAbstract_54D6544A5842942A2B6AE9FFDA25728E_terseLabel_en-US" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquityAbstract_54D6544A5842942A2B6AE9FFDA25728E" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Liabilities and Stockholders&#8217; Equity</link:label>
    <link:label id="lab_us-gaap_LiabilitiesAndStockholdersEquityAbstract_54D6544A5842942A2B6AE9FFDA25728E_label_en-US" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquityAbstract_54D6544A5842942A2B6AE9FFDA25728E" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities and Equity [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_54D6544A5842942A2B6AE9FFDA25728E" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_54D6544A5842942A2B6AE9FFDA25728E" xlink:to="lab_us-gaap_LiabilitiesAndStockholdersEquityAbstract_54D6544A5842942A2B6AE9FFDA25728E" xlink:type="arc" />
    <link:label id="lab_us-gaap_LiabilitiesCurrentAbstract_B248DF161B7C2360CBECE9FFDA252CB2_terseLabel_en-US" xlink:label="lab_us-gaap_LiabilitiesCurrentAbstract_B248DF161B7C2360CBECE9FFDA252CB2" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Current liabilities:</link:label>
    <link:label id="lab_us-gaap_LiabilitiesCurrentAbstract_B248DF161B7C2360CBECE9FFDA252CB2_label_en-US" xlink:label="lab_us-gaap_LiabilitiesCurrentAbstract_B248DF161B7C2360CBECE9FFDA252CB2" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities, Current [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_B248DF161B7C2360CBECE9FFDA252CB2" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_B248DF161B7C2360CBECE9FFDA252CB2" xlink:to="lab_us-gaap_LiabilitiesCurrentAbstract_B248DF161B7C2360CBECE9FFDA252CB2" xlink:type="arc" />
    <link:label id="lab_us-gaap_AccountsPayableCurrent_3C0960F220E175C7E2EDE9FFDA254A61_terseLabel_en-US" xlink:label="lab_us-gaap_AccountsPayableCurrent_3C0960F220E175C7E2EDE9FFDA254A61" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accounts payable</link:label>
    <link:label id="lab_us-gaap_AccountsPayableCurrent_3C0960F220E175C7E2EDE9FFDA254A61_label_en-US" xlink:label="lab_us-gaap_AccountsPayableCurrent_3C0960F220E175C7E2EDE9FFDA254A61" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accounts Payable, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_3C0960F220E175C7E2EDE9FFDA254A61" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsPayableCurrent_3C0960F220E175C7E2EDE9FFDA254A61" xlink:to="lab_us-gaap_AccountsPayableCurrent_3C0960F220E175C7E2EDE9FFDA254A61" xlink:type="arc" />
    <link:label id="lab_us-gaap_TaxesPayableCurrent_9F65C1F98E8907AEC9A7E9FFDA25324F_terseLabel_en-US" xlink:label="lab_us-gaap_TaxesPayableCurrent_9F65C1F98E8907AEC9A7E9FFDA25324F" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Income taxes payable</link:label>
    <link:label id="lab_us-gaap_TaxesPayableCurrent_9F65C1F98E8907AEC9A7E9FFDA25324F_label_en-US" xlink:label="lab_us-gaap_TaxesPayableCurrent_9F65C1F98E8907AEC9A7E9FFDA25324F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Taxes Payable, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxesPayableCurrent" xlink:label="loc_us-gaap_TaxesPayableCurrent_9F65C1F98E8907AEC9A7E9FFDA25324F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TaxesPayableCurrent_9F65C1F98E8907AEC9A7E9FFDA25324F" xlink:to="lab_us-gaap_TaxesPayableCurrent_9F65C1F98E8907AEC9A7E9FFDA25324F" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherLiabilitiesCurrent_F1F716549F3732024993E9FFDA26F5C9_terseLabel_en-US" xlink:label="lab_us-gaap_OtherLiabilitiesCurrent_F1F716549F3732024993E9FFDA26F5C9" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other current liabilities</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_F1F716549F3732024993E9FFDA26F5C9" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_F1F716549F3732024993E9FFDA26F5C9" xlink:to="lab_us-gaap_OtherLiabilitiesCurrent_F1F716549F3732024993E9FFDA26F5C9" xlink:type="arc" />
    <link:label id="lab_us-gaap_LiabilitiesCurrent_55B41F5E4EFB00A6F2E4E9FFDA260D74_totalLabel_en-US" xlink:label="lab_us-gaap_LiabilitiesCurrent_55B41F5E4EFB00A6F2E4E9FFDA260D74" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total current liabilities</link:label>
    <link:label id="lab_us-gaap_LiabilitiesCurrent_55B41F5E4EFB00A6F2E4E9FFDA260D74_label_en-US" xlink:label="lab_us-gaap_LiabilitiesCurrent_55B41F5E4EFB00A6F2E4E9FFDA260D74" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities, Current</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_55B41F5E4EFB00A6F2E4E9FFDA260D74" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesCurrent_55B41F5E4EFB00A6F2E4E9FFDA260D74" xlink:to="lab_us-gaap_LiabilitiesCurrent_55B41F5E4EFB00A6F2E4E9FFDA260D74" xlink:type="arc" />
    <link:label id="lab_ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable_C634BFCB7384E5E087E7E9FFDA26318C_terseLabel_en-US" xlink:label="lab_ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable_C634BFCB7384E5E087E7E9FFDA26318C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Income taxes payable &#8212; long-term</link:label>
    <link:label id="lab_ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable_C634BFCB7384E5E087E7E9FFDA26318C_label_en-US" xlink:label="lab_ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable_C634BFCB7384E5E087E7E9FFDA26318C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Unrecognized Tax Benefits In Long Term Income Taxes Payable</link:label>
    <link:label id="lab_ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable_C634BFCB7384E5E087E7E9FFDA26318C_documentation_en-US" xlink:label="lab_ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable_C634BFCB7384E5E087E7E9FFDA26318C" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Unrecognized Tax Benefits In Long Term Income Taxes Payable</link:label>
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable" xlink:label="loc_ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable_C634BFCB7384E5E087E7E9FFDA26318C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable_C634BFCB7384E5E087E7E9FFDA26318C" xlink:to="lab_ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable_C634BFCB7384E5E087E7E9FFDA26318C" xlink:type="arc" />
    <link:label id="lab_us-gaap_OtherLiabilitiesNoncurrent_8326E4EAF1F383CCA6B4E9FFDA26FAB4_terseLabel_en-US" xlink:label="lab_us-gaap_OtherLiabilitiesNoncurrent_8326E4EAF1F383CCA6B4E9FFDA26FAB4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other long-term liabilities</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_8326E4EAF1F383CCA6B4E9FFDA26FAB4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_8326E4EAF1F383CCA6B4E9FFDA26FAB4" xlink:to="lab_us-gaap_OtherLiabilitiesNoncurrent_8326E4EAF1F383CCA6B4E9FFDA26FAB4" xlink:type="arc" />
    <link:label id="lab_us-gaap_Liabilities_69A939104068D1052956E9FFDA278CB5_totalLabel_en-US" xlink:label="lab_us-gaap_Liabilities_69A939104068D1052956E9FFDA278CB5" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total liabilities</link:label>
    <link:label id="lab_us-gaap_Liabilities_69A939104068D1052956E9FFDA278CB5_label_en-US" xlink:label="lab_us-gaap_Liabilities_69A939104068D1052956E9FFDA278CB5" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_69A939104068D1052956E9FFDA278CB5" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Liabilities_69A939104068D1052956E9FFDA278CB5" xlink:to="lab_us-gaap_Liabilities_69A939104068D1052956E9FFDA278CB5" xlink:type="arc" />
    <link:label id="lab_us-gaap_CommitmentsAndContingencies_5C7E6B83D54BB7584C57E9FFDA2706B4_terseLabel_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingencies_5C7E6B83D54BB7584C57E9FFDA2706B4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Commitments and contingencies (Note 9)</link:label>
    <link:label id="lab_us-gaap_CommitmentsAndContingencies_5C7E6B83D54BB7584C57E9FFDA2706B4_label_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingencies_5C7E6B83D54BB7584C57E9FFDA2706B4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Commitments and Contingencies</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_5C7E6B83D54BB7584C57E9FFDA2706B4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingencies_5C7E6B83D54BB7584C57E9FFDA2706B4" xlink:to="lab_us-gaap_CommitmentsAndContingencies_5C7E6B83D54BB7584C57E9FFDA2706B4" xlink:type="arc" />
    <link:label id="lab_us-gaap_StockholdersEquityAbstract_90CE6685F4694EDD281FE9FFDA273129_terseLabel_en-US" xlink:label="lab_us-gaap_StockholdersEquityAbstract_90CE6685F4694EDD281FE9FFDA273129" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Stockholders&#8217; equity:</link:label>
    <link:label id="lab_us-gaap_StockholdersEquityAbstract_90CE6685F4694EDD281FE9FFDA273129_label_en-US" xlink:label="lab_us-gaap_StockholdersEquityAbstract_90CE6685F4694EDD281FE9FFDA273129" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stockholders' Equity Attributable to Parent [Abstract]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_90CE6685F4694EDD281FE9FFDA273129" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquityAbstract_90CE6685F4694EDD281FE9FFDA273129" xlink:to="lab_us-gaap_StockholdersEquityAbstract_90CE6685F4694EDD281FE9FFDA273129" xlink:type="arc" />
    <link:label id="lab_us-gaap_PreferredStockValue_7133F1B7FB5980349BE6E9FFDA2746D4_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockValue_7133F1B7FB5980349BE6E9FFDA2746D4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock&#8212;$0.001 par value; 50,000,000 shares authorized; none issued</link:label>
    <link:label id="lab_us-gaap_PreferredStockValue_7133F1B7FB5980349BE6E9FFDA2746D4_label_en-US" xlink:label="lab_us-gaap_PreferredStockValue_7133F1B7FB5980349BE6E9FFDA2746D4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Value, Issued</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_7133F1B7FB5980349BE6E9FFDA2746D4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockValue_7133F1B7FB5980349BE6E9FFDA2746D4" xlink:to="lab_us-gaap_PreferredStockValue_7133F1B7FB5980349BE6E9FFDA2746D4" xlink:type="arc" />
    <link:label id="lab_us-gaap_CommonStockValue_B044C40F14AAE8FCB608E9FFDA28FAD4_terseLabel_en-US" xlink:label="lab_us-gaap_CommonStockValue_B044C40F14AAE8FCB608E9FFDA28FAD4" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common stock&#8212;$0.001 par value; 500,000,000 shares authorized: 72,857,887 and 74,072,521 outstanding at September 30, 2018 and June 30, 2018, respectively</link:label>
    <link:label id="lab_us-gaap_CommonStockValue_B044C40F14AAE8FCB608E9FFDA28FAD4_label_en-US" xlink:label="lab_us-gaap_CommonStockValue_B044C40F14AAE8FCB608E9FFDA28FAD4" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Stock, Value, Issued</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_B044C40F14AAE8FCB608E9FFDA28FAD4" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockValue_B044C40F14AAE8FCB608E9FFDA28FAD4" xlink:to="lab_us-gaap_CommonStockValue_B044C40F14AAE8FCB608E9FFDA28FAD4" xlink:type="arc" />
    <link:label id="lab_us-gaap_AdditionalPaidInCapital_933B2A013276EE807379E9FFDA28FDBB_terseLabel_en-US" xlink:label="lab_us-gaap_AdditionalPaidInCapital_933B2A013276EE807379E9FFDA28FDBB" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Additional paid&#8211;in capital</link:label>
    <link:label id="lab_us-gaap_AdditionalPaidInCapital_933B2A013276EE807379E9FFDA28FDBB_label_en-US" xlink:label="lab_us-gaap_AdditionalPaidInCapital_933B2A013276EE807379E9FFDA28FDBB" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Additional Paid in Capital</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_933B2A013276EE807379E9FFDA28FDBB" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdditionalPaidInCapital_933B2A013276EE807379E9FFDA28FDBB" xlink:to="lab_us-gaap_AdditionalPaidInCapital_933B2A013276EE807379E9FFDA28FDBB" xlink:type="arc" />
    <link:label id="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9BD9CAEA379C58470A2DE9FFDA287D09_terseLabel_en-US" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9BD9CAEA379C58470A2DE9FFDA287D09" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accumulated other comprehensive income (loss)</link:label>
    <link:label id="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9BD9CAEA379C58470A2DE9FFDA287D09_label_en-US" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9BD9CAEA379C58470A2DE9FFDA287D09" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accumulated Other Comprehensive Income (Loss), Net of Tax</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9BD9CAEA379C58470A2DE9FFDA287D09" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9BD9CAEA379C58470A2DE9FFDA287D09" xlink:to="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_9BD9CAEA379C58470A2DE9FFDA287D09" xlink:type="arc" />
    <link:label id="lab_us-gaap_RetainedEarningsAccumulatedDeficit_2495F3712DD3B3FDB428E9FFDA28B53B_terseLabel_en-US" xlink:label="lab_us-gaap_RetainedEarningsAccumulatedDeficit_2495F3712DD3B3FDB428E9FFDA28B53B" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Retained earnings</link:label>
    <link:label id="lab_us-gaap_RetainedEarningsAccumulatedDeficit_2495F3712DD3B3FDB428E9FFDA28B53B_label_en-US" xlink:label="lab_us-gaap_RetainedEarningsAccumulatedDeficit_2495F3712DD3B3FDB428E9FFDA28B53B" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Retained Earnings (Accumulated Deficit)</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_2495F3712DD3B3FDB428E9FFDA28B53B" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetainedEarningsAccumulatedDeficit_2495F3712DD3B3FDB428E9FFDA28B53B" xlink:to="lab_us-gaap_RetainedEarningsAccumulatedDeficit_2495F3712DD3B3FDB428E9FFDA28B53B" xlink:type="arc" />
    <link:label id="lab_us-gaap_StockholdersEquity_D28843812378F1CB875CE9FFDA2810B5_totalLabel_en-US" xlink:label="lab_us-gaap_StockholdersEquity_D28843812378F1CB875CE9FFDA2810B5" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total stockholders&#8217; equity</link:label>
    <link:label id="lab_us-gaap_StockholdersEquity_D28843812378F1CB875CE9FFDA2810B5_label_en-US" xlink:label="lab_us-gaap_StockholdersEquity_D28843812378F1CB875CE9FFDA2810B5" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stockholders' Equity Attributable to Parent</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_D28843812378F1CB875CE9FFDA2810B5" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquity_D28843812378F1CB875CE9FFDA2810B5" xlink:to="lab_us-gaap_StockholdersEquity_D28843812378F1CB875CE9FFDA2810B5" xlink:type="arc" />
    <link:label id="lab_us-gaap_LiabilitiesAndStockholdersEquity_CCFEEB12238C5C6AB7D4E9FFDA28DDC5_totalLabel_en-US" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquity_CCFEEB12238C5C6AB7D4E9FFDA28DDC5" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total liabilities and stockholders&#8217; equity</link:label>
    <link:label id="lab_us-gaap_LiabilitiesAndStockholdersEquity_CCFEEB12238C5C6AB7D4E9FFDA28DDC5_label_en-US" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquity_CCFEEB12238C5C6AB7D4E9FFDA28DDC5" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities and Equity</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_CCFEEB12238C5C6AB7D4E9FFDA28DDC5" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_CCFEEB12238C5C6AB7D4E9FFDA28DDC5" xlink:to="lab_us-gaap_LiabilitiesAndStockholdersEquity_CCFEEB12238C5C6AB7D4E9FFDA28DDC5" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_9622E68E6CD642095D791CBF868E37DC_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_9622E68E6CD642095D791CBF868E37DC" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Computation of basic and diluted earnings per share</link:label>
    <link:label id="lab_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_9622E68E6CD642095D791CBF868E37DC_label_en-US" xlink:label="lab_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_9622E68E6CD642095D791CBF868E37DC" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_9622E68E6CD642095D791CBF868E37DC" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_9622E68E6CD642095D791CBF868E37DC" xlink:to="lab_us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock_9622E68E6CD642095D791CBF868E37DC" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock_49DFCEB97EB89E3C567D1CBF868E1964_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock_49DFCEB97EB89E3C567D1CBF868E1964" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Potential shares of common stock excluded from diluted per share calculation</link:label>
    <link:label id="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock_49DFCEB97EB89E3C567D1CBF868E1964_label_en-US" xlink:label="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock_49DFCEB97EB89E3C567D1CBF868E1964" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock_49DFCEB97EB89E3C567D1CBF868E1964" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock_49DFCEB97EB89E3C567D1CBF868E1964" xlink:to="lab_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock_49DFCEB97EB89E3C567D1CBF868E1964" xlink:type="arc" />
    <link:label id="lab_us-gaap_MovementInStandardAndExtendedProductWarrantyIncreaseDecreaseRollForward_73DEE0269459F11725091CBF863C0481_terseLabel_en-US" xlink:label="lab_us-gaap_MovementInStandardAndExtendedProductWarrantyIncreaseDecreaseRollForward_73DEE0269459F11725091CBF863C0481" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Movement in Standard and Extended Product Warranty, Increase (Decrease) [Roll Forward]</link:label>
    <link:label id="lab_us-gaap_MovementInStandardAndExtendedProductWarrantyIncreaseDecreaseRollForward_73DEE0269459F11725091CBF863C0481_label_en-US" xlink:label="lab_us-gaap_MovementInStandardAndExtendedProductWarrantyIncreaseDecreaseRollForward_73DEE0269459F11725091CBF863C0481" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Movement in Standard and Extended Product Warranty Accrual, Increase (Decrease) [Roll Forward]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MovementInStandardAndExtendedProductWarrantyIncreaseDecreaseRollForward" xlink:label="loc_us-gaap_MovementInStandardAndExtendedProductWarrantyIncreaseDecreaseRollForward_73DEE0269459F11725091CBF863C0481" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MovementInStandardAndExtendedProductWarrantyIncreaseDecreaseRollForward_73DEE0269459F11725091CBF863C0481" xlink:to="lab_us-gaap_MovementInStandardAndExtendedProductWarrantyIncreaseDecreaseRollForward_73DEE0269459F11725091CBF863C0481" xlink:type="arc" />
    <link:label id="lab_us-gaap_StandardProductWarrantyAccrual_1301ED366C96A5825EDE1CBF863C3609_periodStartLabel_en-US" xlink:label="lab_us-gaap_StandardProductWarrantyAccrual_1301ED366C96A5825EDE1CBF863C3609" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:type="resource" xml:lang="en-US">Warranty accrual, beginning balance</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_1301ED366C96A5825EDE1CBF863C3609" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrual_1301ED366C96A5825EDE1CBF863C3609" xlink:to="lab_us-gaap_StandardProductWarrantyAccrual_1301ED366C96A5825EDE1CBF863C3609" xlink:type="arc" />
    <link:label id="lab_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_C9A6BDBC8AA090833A151CBF863DD827_terseLabel_en-US" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_C9A6BDBC8AA090833A151CBF863DD827" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accruals for warranties issued during the period</link:label>
    <link:label id="lab_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_C9A6BDBC8AA090833A151CBF863DD827_label_en-US" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_C9A6BDBC8AA090833A151CBF863DD827" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Standard Product Warranty Accrual, Increase for Warranties Issued</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StandardProductWarrantyAccrualWarrantiesIssued" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_C9A6BDBC8AA090833A151CBF863DD827" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_C9A6BDBC8AA090833A151CBF863DD827" xlink:to="lab_us-gaap_StandardProductWarrantyAccrualWarrantiesIssued_C9A6BDBC8AA090833A151CBF863DD827" xlink:type="arc" />
    <link:label id="lab_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_A5328B593DEED020322A1CBF863D16C6_terseLabel_en-US" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_A5328B593DEED020322A1CBF863D16C6" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Changes in liability for pre-existing warranties during the period</link:label>
    <link:label id="lab_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_A5328B593DEED020322A1CBF863D16C6_label_en-US" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_A5328B593DEED020322A1CBF863D16C6" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Standard Product Warranty Accrual, Increase (Decrease) for Preexisting Warranties</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_A5328B593DEED020322A1CBF863D16C6" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_A5328B593DEED020322A1CBF863D16C6" xlink:to="lab_us-gaap_StandardProductWarrantyAccrualPreexistingIncreaseDecrease_A5328B593DEED020322A1CBF863D16C6" xlink:type="arc" />
    <link:label id="lab_us-gaap_StandardProductWarrantyAccrualPayments_5777C713CB92B5C8EC8C1CBF863D571F_negatedLabel_en-US" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualPayments_5777C713CB92B5C8EC8C1CBF863D571F" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Settlements made during the period</link:label>
    <link:label id="lab_us-gaap_StandardProductWarrantyAccrualPayments_5777C713CB92B5C8EC8C1CBF863D571F_label_en-US" xlink:label="lab_us-gaap_StandardProductWarrantyAccrualPayments_5777C713CB92B5C8EC8C1CBF863D571F" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Standard Product Warranty Accrual, Decrease for Payments</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StandardProductWarrantyAccrualPayments" xlink:label="loc_us-gaap_StandardProductWarrantyAccrualPayments_5777C713CB92B5C8EC8C1CBF863D571F" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrualPayments_5777C713CB92B5C8EC8C1CBF863D571F" xlink:to="lab_us-gaap_StandardProductWarrantyAccrualPayments_5777C713CB92B5C8EC8C1CBF863D571F" xlink:type="arc" />
    <link:label id="lab_us-gaap_StandardProductWarrantyAccrual_CB40148D4DC262135AC41CBF863D0026_periodEndLabel_en-US" xlink:label="lab_us-gaap_StandardProductWarrantyAccrual_CB40148D4DC262135AC41CBF863D0026" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:type="resource" xml:lang="en-US">Warranty accrual, ending balance</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_CB40148D4DC262135AC41CBF863D0026" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StandardProductWarrantyAccrual_CB40148D4DC262135AC41CBF863D0026" xlink:to="lab_us-gaap_StandardProductWarrantyAccrual_CB40148D4DC262135AC41CBF863D0026" xlink:type="arc" />
    <link:label id="lab_us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_D2D070937D203049DE511CBF8686891C_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_D2D070937D203049DE511CBF8686891C" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Future minimum annual payments under operating leases</link:label>
    <link:label id="lab_us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_D2D070937D203049DE511CBF8686891C_label_en-US" xlink:label="lab_us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_D2D070937D203049DE511CBF8686891C" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]</link:label>
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_D2D070937D203049DE511CBF8686891C" xlink:type="locator" />
    <link:labelArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_D2D070937D203049DE511CBF8686891C" xlink:to="lab_us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_D2D070937D203049DE511CBF8686891C" xlink:type="arc" />
  </link:labelLink>
</link:linkbase>
