<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.8.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>312</ContextCount>
  <ElementCount>497</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>96</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>16</UnitCount>
  <MyReports>
    <Report instance="akrx-20171231.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.akorn.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/ConsolidatedBalanceSheetsParentheticals</Role>
      <ShortName>Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Comprehensive (Loss) Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/ConsolidatedStatementsOfComprehensiveLossIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive (Loss) Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1002501 - Statement - Consolidated Statements of Comprehensive (Loss) Income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/ConsolidatedStatementsOfComprehensiveLossIncomeParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive (Loss) Income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statements of Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/ConsolidatedStatementsOfShareholdersEquity</Role>
      <ShortName>Consolidated Statements of Shareholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1005000 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Business and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/BusinessAndBasisOfPresentation</Role>
      <ShortName>Business and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Accounts Receivable, Sales and Allowances</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/AccountsReceivableSalesAndAllowances</Role>
      <ShortName>Accounts Receivable, Sales and Allowances</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Inventories, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/InventoriesNet</Role>
      <ShortName>Inventories, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/GoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Property, Plant and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/PropertyPlantAndEquipment</Role>
      <ShortName>Property, Plant and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Financing Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/FinancingArrangements</Role>
      <ShortName>Financing Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Earnings (Loss) per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/EarningsLossPerCommonShare</Role>
      <ShortName>Earnings (Loss) per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Leasing Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/LeasingArrangements</Role>
      <ShortName>Leasing Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Stock Options, Restricted Stock and Employee Stock Purchase Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/StockOptionsRestrictedStockAndEmployeeStockPurchasePlan</Role>
      <ShortName>Stock Options, Restricted Stock and Employee Stock Purchase Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Income Taxes from Continuing Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/IncomeTaxesFromContinuingOperations</Role>
      <ShortName>Income Taxes from Continuing Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Recently Issued and Adopted Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/RecentlyIssuedAndAdoptedAccountingPronouncements</Role>
      <ShortName>Recently Issued and Adopted Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Business Combinations and Other Strategic Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/BusinessCombinationsAndOtherStrategicInvestments</Role>
      <ShortName>Business Combinations and Other Strategic Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Customer, Supplier and Product Concentration</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/CustomerSupplierAndProductConcentration</Role>
      <ShortName>Customer, Supplier and Product Concentration</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2121100 - Disclosure - Selected Quarterly Financial Data (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SelectedQuarterlyFinancialDataUnaudited</Role>
      <ShortName>Selected Quarterly Financial Data (Unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2123100 - Disclosure - Legal Proceedings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/LegalProceedings</Role>
      <ShortName>Legal Proceedings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2125100 - Disclosure - Share Repurchases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/ShareRepurchases</Role>
      <ShortName>Share Repurchases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.akorn.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Accounts Receivable, Sales and Allowances (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/AccountsReceivableSalesAndAllowancesTables</Role>
      <ShortName>Accounts Receivable, Sales and Allowances (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/AccountsReceivableSalesAndAllowances</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Inventories, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/InventoriesNetTables</Role>
      <ShortName>Inventories, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/InventoriesNet</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/GoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/GoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Property, Plant and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/PropertyPlantAndEquipmentTables</Role>
      <ShortName>Property, Plant and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/PropertyPlantAndEquipment</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Financing Arrangements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/FinancingArrangementsTables</Role>
      <ShortName>Financing Arrangements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/FinancingArrangements</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Earnings (Loss) per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/EarningsLossPerCommonShareTables</Role>
      <ShortName>Earnings (Loss) per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/EarningsLossPerCommonShare</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Leasing Arrangements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/LeasingArrangementsTables</Role>
      <ShortName>Leasing Arrangements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/LeasingArrangements</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Stock Options, Restricted Stock and Employee Stock Purchase Plan (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/StockOptionsRestrictedStockAndEmployeeStockPurchasePlanTables</Role>
      <ShortName>Stock Options, Restricted Stock and Employee Stock Purchase Plan (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/StockOptionsRestrictedStockAndEmployeeStockPurchasePlan</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Income Taxes from Continuing Operations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/IncomeTaxesFromContinuingOperationsTables</Role>
      <ShortName>Income Taxes from Continuing Operations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/IncomeTaxesFromContinuingOperations</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/SegmentInformation</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2314301 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/SupplementalCashFlowInformation</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Business Combinations and Other Strategic Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/BusinessCombinationsAndOtherStrategicInvestmentsTables</Role>
      <ShortName>Business Combinations and Other Strategic Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/BusinessCombinationsAndOtherStrategicInvestments</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Customer, Supplier and Product Concentration (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/CustomerSupplierAndProductConcentrationTables</Role>
      <ShortName>Customer, Supplier and Product Concentration (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/CustomerSupplierAndProductConcentration</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2321301 - Disclosure - Selected Quarterly Financial Data (Unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SelectedQuarterlyFinancialDataUnauditedTables</Role>
      <ShortName>Selected Quarterly Financial Data (Unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.akorn.com/role/SelectedQuarterlyFinancialDataUnaudited</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - Summary of Significant Accounting Policies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2401404 - Disclosure - Summary of Significant Accounting Policies - Average Estimated Useful Lives of Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SummaryOfSignificantAccountingPoliciesAverageEstimatedUsefulLivesOfPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Average Estimated Useful Lives of Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2401405 - Disclosure - Summary of Significant Accounting Policies - Fair Values of the Company's Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SummaryOfSignificantAccountingPoliciesFairValuesOfCompanysFinancialInstrumentsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Fair Values of the Company's Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Accounts Receivable, Sales and Allowances - Net Trade Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/AccountsReceivableSalesAndAllowancesNetTradeAccountsReceivableDetails</Role>
      <ShortName>Accounts Receivable, Sales and Allowances - Net Trade Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Accounts Receivable, Sales and Allowances - Summary of Adjustments to Gross Sales (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/AccountsReceivableSalesAndAllowancesSummaryOfAdjustmentsToGrossSalesDetails</Role>
      <ShortName>Accounts Receivable, Sales and Allowances - Summary of Adjustments to Gross Sales (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Accounts Receivable, Sales and Allowances - Allowance for Customer Deductions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/AccountsReceivableSalesAndAllowancesAllowanceForCustomerDeductionsDetails</Role>
      <ShortName>Accounts Receivable, Sales and Allowances - Allowance for Customer Deductions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Inventories, Net - Components of Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/InventoriesNetComponentsOfInventoriesDetails</Role>
      <ShortName>Inventories, Net - Components of Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Inventories, Net - Allowance for Excess and Obsolete Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/InventoriesNetAllowanceForExcessAndObsoleteInventoryDetails</Role>
      <ShortName>Inventories, Net - Allowance for Excess and Obsolete Inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Goodwill and Other Intangible Assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/GoodwillAndOtherIntangibleAssetsNarrativeDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2405403 - Disclosure - Goodwill and Other Intangible Assets - Changes in Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/GoodwillAndOtherIntangibleAssetsChangesInGoodwillDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Changes in Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2405404 - Disclosure - Goodwill and Other Intangible Assets - Major Categories of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/GoodwillAndOtherIntangibleAssetsMajorCategoriesOfIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Major Categories of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2405405 - Disclosure - Goodwill and Other Intangible Assets - Changes In Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/GoodwillAndOtherIntangibleAssetsChangesInIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Changes In Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2405406 - Disclosure - Goodwill and Other Intangible Assets - Amortization Expense of Acquired Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/GoodwillAndOtherIntangibleAssetsAmortizationExpenseOfAcquiredIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Amortization Expense of Acquired Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/PropertyPlantAndEquipmentDetails</Role>
      <ShortName>Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/PropertyPlantAndEquipmentTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Financing Arrangements - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/FinancingArrangementsNarrativeDetails</Role>
      <ShortName>Financing Arrangements - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Financing Arrangements - Variable Interest Rates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/FinancingArrangementsVariableInterestRatesDetails</Role>
      <ShortName>Financing Arrangements - Variable Interest Rates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Financing Arrangements - JPM Revolving Facility, Interest Terms (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/FinancingArrangementsJpmRevolvingFacilityInterestTermsDetails</Role>
      <ShortName>Financing Arrangements - JPM Revolving Facility, Interest Terms (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2407405 - Disclosure - Financing Arrangements - Expenses in Relation to Convertible Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.akorn.com/role/FinancingArrangementsExpensesInRelationToConvertibleNotesDetails</Role>
      <ShortName>Financing Arrangements - Expenses in Relation to Convertible Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2407406 - Disclosure - Financing Arrangements - Maturities of Long-term Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/FinancingArrangementsMaturitiesOfLongTermObligationsDetails</Role>
      <ShortName>Financing Arrangements - Maturities of Long-term Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Earnings (Loss) per Common Share - Reconciliation of Earnings Per Share Data (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/EarningsLossPerCommonShareReconciliationOfEarningsPerShareDataDetails</Role>
      <ShortName>Earnings (Loss) per Common Share - Reconciliation of Earnings Per Share Data (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/EarningsLossPerCommonShareTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Earnings (Loss) per Common Share - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/EarningsLossPerCommonShareNarrativeDetails</Role>
      <ShortName>Earnings (Loss) per Common Share - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/EarningsLossPerCommonShareTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Leasing Arrangements - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/LeasingArrangementsNarrativeDetails</Role>
      <ShortName>Leasing Arrangements - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Leasing Arrangements - Future Minimum Lease Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/LeasingArrangementsFutureMinimumLeasePaymentsDetails</Role>
      <ShortName>Leasing Arrangements - Future Minimum Lease Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Stock Options, Restricted Stock and Employee Stock Purchase Plan - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/StockOptionsRestrictedStockAndEmployeeStockPurchasePlanNarrativeDetails</Role>
      <ShortName>Stock Options, Restricted Stock and Employee Stock Purchase Plan - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/StockOptionsRestrictedStockAndEmployeeStockPurchasePlanTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Stock Options, Restricted Stock and Employee Stock Purchase Plan - Weighted-average Assumptions for Stock Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/StockOptionsRestrictedStockAndEmployeeStockPurchasePlanWeightedAverageAssumptionsForStockOptionsDetails</Role>
      <ShortName>Stock Options, Restricted Stock and Employee Stock Purchase Plan - Weighted-average Assumptions for Stock Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Stock Options, Restricted Stock and Employee Stock Purchase Plan - Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/StockOptionsRestrictedStockAndEmployeeStockPurchasePlanStockOptionActivityDetails</Role>
      <ShortName>Stock Options, Restricted Stock and Employee Stock Purchase Plan - Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2410405 - Disclosure - Stock Options, Restricted Stock and Employee Stock Purchase Plan - Non-vested Restricted Stock Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/StockOptionsRestrictedStockAndEmployeeStockPurchasePlanNonVestedRestrictedStockActivityDetails</Role>
      <ShortName>Stock Options, Restricted Stock and Employee Stock Purchase Plan - Non-vested Restricted Stock Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Income Taxes from Continuing Operations - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/IncomeTaxesFromContinuingOperationsNarrativeDetails</Role>
      <ShortName>Income Taxes from Continuing Operations - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2411403 - Disclosure - Income Taxes from Continuing Operations - Income Tax Provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/IncomeTaxesFromContinuingOperationsIncomeTaxProvisionDetails</Role>
      <ShortName>Income Taxes from Continuing Operations - Income Tax Provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2411404 - Disclosure - Income Taxes from Continuing Operations - Income Tax Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/IncomeTaxesFromContinuingOperationsIncomeTaxRateReconciliationDetails</Role>
      <ShortName>Income Taxes from Continuing Operations - Income Tax Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2411405 - Disclosure - Income Taxes from Continuing Operations - The Geographical Allocation of the Companys Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/IncomeTaxesFromContinuingOperationsGeographicalAllocationOfCompanysIncomeDetails</Role>
      <ShortName>Income Taxes from Continuing Operations - The Geographical Allocation of the Companys Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2411406 - Disclosure - Income Taxes from Continuing Operations - Net Deferred Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/IncomeTaxesFromContinuingOperationsNetDeferredIncomeTaxesDetails</Role>
      <ShortName>Income Taxes from Continuing Operations - Net Deferred Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2411407 - Disclosure - Income Taxes from Continuing Operations - Summary of Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/IncomeTaxesFromContinuingOperationsSummaryOfUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes from Continuing Operations - Summary of Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Segment Information - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SegmentInformationNarrativeDetails</Role>
      <ShortName>Segment Information - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2413403 - Disclosure - Segment Information - Financial Information by Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SegmentInformationFinancialInformationBySegmentDetails</Role>
      <ShortName>Segment Information - Financial Information by Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2413404 - Disclosure - Segment Information - Carrying Amount of Goodwill by Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SegmentInformationCarryingAmountOfGoodwillBySegmentDetails</Role>
      <ShortName>Segment Information - Carrying Amount of Goodwill by Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2414402 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SupplementalCashFlowInformationDetails</Role>
      <ShortName>Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/SupplementalCashFlowInformationTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2416401 - Disclosure - Recently Issued and Adopted Accounting Pronouncements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/RecentlyIssuedAndAdoptedAccountingPronouncementsDetails</Role>
      <ShortName>Recently Issued and Adopted Accounting Pronouncements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/RecentlyIssuedAndAdoptedAccountingPronouncements</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Business Combinations and Other Strategic Investments - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/BusinessCombinationsAndOtherStrategicInvestmentsNarrativeDetails</Role>
      <ShortName>Business Combinations and Other Strategic Investments - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/BusinessCombinationsAndOtherStrategicInvestmentsTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2417403 - Disclosure - Business Combinations and Other Strategic Investments - Consideration Paid for Acquisition and the Fair Value of the Acquired Assets and Assumed Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/BusinessCombinationsAndOtherStrategicInvestmentsConsiderationPaidForAcquisitionAndFairValueOfAcquiredAssetsAndAssumedLiabilitiesDetails</Role>
      <ShortName>Business Combinations and Other Strategic Investments - Consideration Paid for Acquisition and the Fair Value of the Acquired Assets and Assumed Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Customer, Supplier and Product Concentration - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/CustomerSupplierAndProductConcentrationNarrativeDetails</Role>
      <ShortName>Customer, Supplier and Product Concentration - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2418403 - Disclosure - Customer, Supplier and Product Concentration - Percentage of the Company's Gross and Net Sales and Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/CustomerSupplierAndProductConcentrationPercentageOfCompanysGrossAndNetSalesAndAccountsReceivableDetails</Role>
      <ShortName>Customer, Supplier and Product Concentration - Percentage of the Company's Gross and Net Sales and Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2420401 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/RelatedPartyTransactions</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2421402 - Disclosure - Selected Quarterly Financial Data (Unaudited) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/SelectedQuarterlyFinancialDataUnauditedDetails</Role>
      <ShortName>Selected Quarterly Financial Data (Unaudited) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/SelectedQuarterlyFinancialDataUnauditedTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2423401 - Disclosure - Legal Proceedings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/LegalProceedingsDetails</Role>
      <ShortName>Legal Proceedings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/LegalProceedings</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="akrx-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2425401 - Disclosure - Share Repurchases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.akorn.com/role/ShareRepurchasesDetails</Role>
      <ShortName>Share Repurchases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.akorn.com/role/ShareRepurchases</ParentRole>
      <Position>92</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>akrx-20171231.xml</File>
    <File>akrx-20171231.xsd</File>
    <File>akrx-20171231_cal.xml</File>
    <File>akrx-20171231_def.xml</File>
    <File>akrx-20171231_lab.xml</File>
    <File>akrx-20171231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2014-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
