<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.5.0.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>128</ContextCount>
  <ElementCount>301</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>58</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedStatementsOfOperations</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Condensed Consolidated Statement of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedStatementOfStockholdersEquity</Role>
      <ShortName>Condensed Consolidated Statement of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1004501 - Statement - Condensed Consolidated Statements of Cash Flows (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/CondensedConsolidatedStatementsOfCashFlowsParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - ACQUISITIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/Acquisitions</Role>
      <ShortName>ACQUISITIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/FairValueMeasurements</Role>
      <ShortName>FAIR VALUE MEASUREMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - ACCOUNTS RECEIVABLE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AccountsReceivable</Role>
      <ShortName>ACCOUNTS RECEIVABLE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - INVENTORIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/Inventories</Role>
      <ShortName>INVENTORIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - PREPAID EXPENSES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/PrepaidExpenses</Role>
      <ShortName>PREPAID EXPENSES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - PROPERTY AND EQUIPMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/PropertyAndEquipment</Role>
      <ShortName>PROPERTY AND EQUIPMENT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - AMORTIZATION OF INTANGIBLE ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AmortizationOfIntangibleAssets</Role>
      <ShortName>AMORTIZATION OF INTANGIBLE ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/Debt</Role>
      <ShortName>DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - STOCK-BASED COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensation</Role>
      <ShortName>STOCK-BASED COMPENSATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2124100 - Disclosure - WARRANTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/Warrants</Role>
      <ShortName>WARRANTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2128100 - Disclosure - BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.keywcorp.com/role/BusinessHeldForSaleDiscontinuedOperationsAndDispositionsNotes</Role>
      <ShortName>BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2129100 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/IncomeTaxes</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2130100 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SubsequentEvents</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - ACQUISITIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AcquisitionsTables</Role>
      <ShortName>ACQUISITIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.keywcorp.com/role/Acquisitions</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - ACCOUNTS RECEIVABLE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AccountsReceivableTables</Role>
      <ShortName>ACCOUNTS RECEIVABLE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.keywcorp.com/role/AccountsReceivable</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - PROPERTY AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/PropertyAndEquipmentTables</Role>
      <ShortName>PROPERTY AND EQUIPMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.keywcorp.com/role/PropertyAndEquipment</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - AMORTIZATION OF INTANGIBLE ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AmortizationOfIntangibleAssetsTables</Role>
      <ShortName>AMORTIZATION OF INTANGIBLE ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.keywcorp.com/role/AmortizationOfIntangibleAssets</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - STOCK-BASED COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationTables</Role>
      <ShortName>STOCK-BASED COMPENSATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.keywcorp.com/role/StockBasedCompensation</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2324301 - Disclosure - WARRANTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/WarrantsTables</Role>
      <ShortName>WARRANTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.keywcorp.com/role/Warrants</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2328301 - Disclosure - BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/BusinessHeldForSaleDiscontinuedOperationsAndDispositionsTables</Role>
      <ShortName>BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.keywcorp.com/role/BusinessHeldForSaleDiscontinuedOperationsAndDispositionsNotes</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetail</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2401404 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Calculation of Basic and Diluted Net Income Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPoliciesCalculationOfBasicAndDilutedNetIncomePerShareDetail</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Calculation of Basic and Diluted Net Income Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2401405 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Schedule of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfGoodwillDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES Schedule of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - ACQUISITIONS Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AcquisitionsNarrativeDetail</Role>
      <ShortName>ACQUISITIONS Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - ACQUISITIONS Allocation of Total Purchase Price Paid for Acquisitions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AcquisitionsAllocationOfTotalPurchasePricePaidForAcquisitionsDetail</Role>
      <ShortName>ACQUISITIONS Allocation of Total Purchase Price Paid for Acquisitions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - ACCOUNTS RECEIVABLE Components of Accounts Receivable (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AccountsReceivableComponentsOfAccountsReceivableDetail</Role>
      <ShortName>ACCOUNTS RECEIVABLE Components of Accounts Receivable (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2409401 - Disclosure - INVENTORIES (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/InventoriesDetail</Role>
      <ShortName>INVENTORIES (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.keywcorp.com/role/Inventories</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - PROPERTY AND EQUIPMENT Property and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/PropertyAndEquipmentPropertyAndEquipmentDetail</Role>
      <ShortName>PROPERTY AND EQUIPMENT Property and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2411403 - Disclosure - PROPERTY AND EQUIPMENT Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/PropertyAndEquipmentNarrativeDetail</Role>
      <ShortName>PROPERTY AND EQUIPMENT Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - AMORTIZATION OF INTANGIBLE ASSETS Values Assigned to Intangible Assets (Other Than Goodwill) for Acquisitions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AmortizationOfIntangibleAssetsValuesAssignedToIntangibleAssetsOtherThanGoodwillForAcquisitionsDetail</Role>
      <ShortName>AMORTIZATION OF INTANGIBLE ASSETS Values Assigned to Intangible Assets (Other Than Goodwill) for Acquisitions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - AMORTIZATION OF INTANGIBLE ASSETS Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AmortizationOfIntangibleAssetsNarrativeDetail</Role>
      <ShortName>AMORTIZATION OF INTANGIBLE ASSETS Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2412404 - Disclosure - AMORTIZATION OF INTANGIBLE ASSETS Estimated Future Intangible Amortization Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/AmortizationOfIntangibleAssetsEstimatedFutureIntangibleAmortizationExpenseDetail</Role>
      <ShortName>AMORTIZATION OF INTANGIBLE ASSETS Estimated Future Intangible Amortization Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2415401 - Disclosure - DEBT Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/DebtNarrativeDetail</Role>
      <ShortName>DEBT Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - STOCK-BASED COMPENSATION Narrative (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationNarrativeDetail</Role>
      <ShortName>STOCK-BASED COMPENSATION Narrative (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - STOCK-BASED COMPENSATION Stock Option Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationStockOptionActivityDetail</Role>
      <ShortName>STOCK-BASED COMPENSATION Stock Option Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2416404 - Disclosure - STOCK-BASED COMPENSATION Outstanding Stock Options (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationOutstandingStockOptionsDetail</Role>
      <ShortName>STOCK-BASED COMPENSATION Outstanding Stock Options (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2416405 - Disclosure - STOCK-BASED COMPENSATION Stock Incentive Plan (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationStockIncentivePlanDetail</Role>
      <ShortName>STOCK-BASED COMPENSATION Stock Incentive Plan (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2416406 - Disclosure - STOCK-BASED COMPENSATION Outstanding Unvested Restricted Stock Awards (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationOutstandingUnvestedRestrictedStockAwardsDetail</Role>
      <ShortName>STOCK-BASED COMPENSATION Outstanding Unvested Restricted Stock Awards (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2416407 - Disclosure - STOCK-BASED COMPENSATION Outstanding Unvested Restricted Stock Unit Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationOutstandingUnvestedRestrictedStockUnitAwardsDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION Outstanding Unvested Restricted Stock Unit Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2416408 - Disclosure - STOCK-BASED COMPENSATION Unvested Long-Term Incentive Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationUnvestedLongTermIncentiveSharesDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION Unvested Long-Term Incentive Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2416409 - Disclosure - STOCK-BASED COMPENSATION CEO and Executive Vice President Long-term Incentive Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/StockBasedCompensationCeoAndExecutiveVicePresidentLongTermIncentivePlanDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION CEO and Executive Vice President Long-term Incentive Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2424402 - Disclosure - WARRANTS Outstanding Warrants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/WarrantsOutstandingWarrantsDetail</Role>
      <ShortName>WARRANTS Outstanding Warrants (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2428402 - Disclosure - BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS Assets of Disposal Group (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/BusinessHeldForSaleDiscontinuedOperationsAndDispositionsAssetsOfDisposalGroupDetails</Role>
      <ShortName>BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS Assets of Disposal Group (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2428403 - Disclosure - BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS Income of Disposal Group (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/BusinessHeldForSaleDiscontinuedOperationsAndDispositionsIncomeOfDisposalGroupDetails</Role>
      <ShortName>BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS Income of Disposal Group (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2428404 - Disclosure - BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS Cashflow of Disposal Group (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/BusinessHeldForSaleDiscontinuedOperationsAndDispositionsCashflowOfDisposalGroupDetails</Role>
      <ShortName>BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS Cashflow of Disposal Group (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2428405 - Disclosure - BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/BusinessHeldForSaleDiscontinuedOperationsAndDispositionsNarrativeDetails</Role>
      <ShortName>BUSINESS HELD FOR SALE DISCONTINUED OPERATIONS AND DISPOSITIONS Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.keywcorp.com/role/BusinessHeldForSaleDiscontinuedOperationsAndDispositionsTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="keyw-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2429402 - Disclosure - INCOME TAXES Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.keywcorp.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>INCOME TAXES Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>keyw-20160930.xml</File>
    <File>keyw-20160930.xsd</File>
    <File>keyw-20160930_cal.xml</File>
    <File>keyw-20160930_def.xml</File>
    <File>keyw-20160930_lab.xml</File>
    <File>keyw-20160930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
