<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.10.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>127</ContextCount>
  <ElementCount>224</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>49</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEUNAUDITED</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - CONSOLIDATED BALANCE SHEETS (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/StatementCONSOLIDATEDBALANCESHEETSUNAUDITED</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - CONSOLIDATED BALANCE SHEETS (UNAUDITED) (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/StatementCONSOLIDATEDBALANCESHEETSUNAUDITEDParentheticals</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (UNAUDITED) (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureBasisOfPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Recent Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureRecentAccountingPronouncements</Role>
      <ShortName>Recent Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureAcquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureIntangibleAssets</Role>
      <ShortName>Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureGoodwill</Role>
      <ShortName>Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureRevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Contract Balances</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureContractBalances</Role>
      <ShortName>Contract Balances</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Sales of Receivables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureSalesOfReceivables</Role>
      <ShortName>Sales of Receivables</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Long-term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureLongTermDebt</Role>
      <ShortName>Long-term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureEarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Business Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureBusinessSegmentInformation</Role>
      <ShortName>Business Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureRecentAccountingPronouncements</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Recent Accounting Pronouncements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureRecentAccountingPronouncementsTables</Role>
      <ShortName>Recent Accounting Pronouncements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureRecentAccountingPronouncements</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureIntangibleAssetsTables</Role>
      <ShortName>Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureIntangibleAssets</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureGoodwillTables</Role>
      <ShortName>Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureGoodwill</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureRevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureRevenueRecognition</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Contract Balances (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureContractBalancesTables</Role>
      <ShortName>Contract Balances (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureContractBalances</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Long-term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureLongTermDebtTables</Role>
      <ShortName>Long-term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureLongTermDebt</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureStockBasedCompensation</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureEarningsPerShare</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Business Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureBusinessSegmentInformationTables</Role>
      <ShortName>Business Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureBusinessSegmentInformation</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureFairValueOfFinancialInstruments</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Recent Accounting Pronouncements (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureRecentAccountingPronouncementsDetailTextual</Role>
      <ShortName>Recent Accounting Pronouncements (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureRecentAccountingPronouncementsTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Recent Accounting Pronouncements - Impact of Adoption of ASC 606 on Financial Statements - Consolidated Balance Sheet (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureRecentAccountingPronouncementsImpactOfAdoptionOfASC606OnFinancialStatementsConsolidatedBalanceSheetDetail</Role>
      <ShortName>Recent Accounting Pronouncements - Impact of Adoption of ASC 606 on Financial Statements - Consolidated Balance Sheet (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Recent Accounting Pronouncements - Impact of Adoption of ASC 606 on Financial Statements - Consolidated Statement of Operations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureRecentAccountingPronouncementsImpactOfAdoptionOfASC606OnFinancialStatementsConsolidatedStatementOfOperationsDetail</Role>
      <ShortName>Recent Accounting Pronouncements - Impact of Adoption of ASC 606 on Financial Statements - Consolidated Statement of Operations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Acquisitions (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureAcquisitionsDetailTextual</Role>
      <ShortName>Acquisitions (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureAcquisitions</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Intangible Assets - Summary of Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureIntangibleAssetsSummaryOfIntangibleAssetsDetail</Role>
      <ShortName>Intangible Assets - Summary of Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Intangible Assets - Summary of Intangible Assets (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureIntangibleAssetsSummaryOfIntangibleAssetsParentheticalDetail</Role>
      <ShortName>Intangible Assets - Summary of Intangible Assets (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Intangible Assets (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureIntangibleAssetsDetailTextual</Role>
      <ShortName>Intangible Assets (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureIntangibleAssetsTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Intangible Assets - Expected Amortization Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureIntangibleAssetsExpectedAmortizationExpenseDetail</Role>
      <ShortName>Intangible Assets - Expected Amortization Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Goodwill - Roll Forward of Goodwill (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureGoodwillRollForwardOfGoodwillDetail</Role>
      <ShortName>Goodwill - Roll Forward of Goodwill (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Revenue Recognition - Disaggregation of Revenue by Contract Type, Customer Information and Prime or Subcontractor (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureRevenueRecognitionDisaggregationOfRevenueByContractTypeCustomerInformationAndPrimeOrSubcontractorDetail</Role>
      <ShortName>Revenue Recognition - Disaggregation of Revenue by Contract Type, Customer Information and Prime or Subcontractor (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Revenue Recognition (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureRevenueRecognitionDetailTextual</Role>
      <ShortName>Revenue Recognition (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureRevenueRecognitionTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Revenue - Remaining Performance Obligations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureRevenueRemainingPerformanceObligationsDetail</Role>
      <ShortName>Revenue - Remaining Performance Obligations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Revenue - Remaining Performance Obligations (Detail 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureRevenueRemainingPerformanceObligationsDetail1</Role>
      <ShortName>Revenue - Remaining Performance Obligations (Detail 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Contract Balances - Contract Assets and Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureContractBalancesContractAssetsAndLiabilitiesDetail</Role>
      <ShortName>Contract Balances - Contract Assets and Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Contract Balances (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureContractBalancesDetailTextual</Role>
      <ShortName>Contract Balances (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureContractBalancesTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Sales of Receivables (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureSalesOfReceivablesDetailTextual</Role>
      <ShortName>Sales of Receivables (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureSalesOfReceivables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Long-term Debt - Schedule of Long-term Debt (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureLongTermDebtScheduleOfLongTermDebtDetail</Role>
      <ShortName>Long-term Debt - Schedule of Long-term Debt (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Long-term Debt (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureLongTermDebtDetailTextual</Role>
      <ShortName>Long-term Debt (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureLongTermDebtTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Long-term Debt - Cash Flow Hedges (Detail 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureLongTermDebtCashFlowHedgesDetail2</Role>
      <ShortName>Long-term Debt - Cash Flow Hedges (Detail 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Long-term Debt - Aggregate Maturities of Long-Term Debt (Detail 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureLongTermDebtAggregateMaturitiesOfLongTermDebtDetail3</Role>
      <ShortName>Long-term Debt - Aggregate Maturities of Long-Term Debt (Detail 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Stock-Based Compensation - Expense and Related Tax Benefits Recognized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureStockBasedCompensationExpenseAndRelatedTaxBenefitsRecognizedDetails</Role>
      <ShortName>Stock-Based Compensation - Expense and Related Tax Benefits Recognized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Stock-Based Compensation (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureStockBasedCompensationDetailTextual</Role>
      <ShortName>Stock-Based Compensation (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureStockBasedCompensationTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Stock-Based Compensation - Annual Performance-Based Awards Granted (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureStockBasedCompensationAnnualPerformanceBasedAwardsGrantedDetail</Role>
      <ShortName>Stock-Based Compensation - Annual Performance-Based Awards Granted (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Stock-Based Compensation - Summary of Activity Related to RSUs (Detail 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureStockBasedCompensationSummaryOfActivityRelatedToRsusDetail1</Role>
      <ShortName>Stock-Based Compensation - Summary of Activity Related to RSUs (Detail 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Earnings Per Share - Calculation of Basic and Diluted Earnings per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureEarningsPerShareCalculationOfBasicAndDilutedEarningsPerShareDetail</Role>
      <ShortName>Earnings Per Share - Calculation of Basic and Diluted Earnings per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Income Taxes (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureIncomeTaxesDetailTextual</Role>
      <ShortName>Income Taxes (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureIncomeTaxes</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Business Segment Information (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureBusinessSegmentInformationDetailTextual</Role>
      <ShortName>Business Segment Information (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureBusinessSegmentInformationTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Business Segment Information - Summarized Financial Information of Reportable Segments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureBusinessSegmentInformationSummarizedFinancialInformationOfReportableSegmentsDetail</Role>
      <ShortName>Business Segment Information - Summarized Financial Information of Reportable Segments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Fair Value of Financial Instruments - Recurring Fair Value Measurements (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsRecurringFairValueMeasurementsDetail</Role>
      <ShortName>Fair Value of Financial Instruments - Recurring Fair Value Measurements (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Fair Value of Financial Instruments (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsDetailTextual</Role>
      <ShortName>Fair Value of Financial Instruments (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureFairValueOfFinancialInstrumentsTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="caci-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Subsequent Events (Detail Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.caci.com/20181231/taxonomy/role/DisclosureSubsequentEventsDetailTextual</Role>
      <ShortName>Subsequent Events (Detail Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.caci.com/20181231/taxonomy/role/DisclosureSubsequentEvents</ParentRole>
      <Position>65</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>caci-20181231.xml</File>
    <File>caci-20181231.xsd</File>
    <File>caci-20181231_cal.xml</File>
    <File>caci-20181231_def.xml</File>
    <File>caci-20181231_lab.xml</File>
    <File>caci-20181231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
