<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2019-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="akrx-20191122.xsd" xlink:type="simple"/>
    <context id="c20191122to20191122">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000003116</identifier>
        </entity>
        <period>
            <startDate>2019-11-22</startDate>
            <endDate>2019-11-22</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="c20191122to20191122"
      id="Fact_b5d306b73d3b442f992e1116a29aafb9">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="c20191122to20191122"
      id="Fact_50ff210ef3694d2eb07a9cff7b55cf5d">0000003116</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="c20191122to20191122"
      id="Fact_727f002a801c4728b29894a478f13cce">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="c20191122to20191122"
      id="Fact_0a88723522014da1abd73f2ce41b3531">2019-11-22</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="c20191122to20191122"
      id="Fact_01cf004baf6f47a7ba9e75906cc975d0">Akorn, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="c20191122to20191122"
      id="Fact_5ad8a78f9b504213b1c1081372c046f9">LA</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="c20191122to20191122"
      id="Fact_ebc2d17870a745f198de722378c17465">001-32360</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="c20191122to20191122"
      id="Fact_5f353b7b33394fa8877b82d6ef1d45a9">72-0717400</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="c20191122to20191122"
      id="Fact_95b528ddea0b49329f62ad44b42738c8">1925 W. Field Court, Suite 300</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="c20191122to20191122"
      id="Fact_c9bd76d47b9a4375967c41fb25a9d847">Lake Forest</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="c20191122to20191122"
      id="Fact_e986ddf4fabc4ad1a77c48d5a5f9af47">IL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="c20191122to20191122"
      id="Fact_77bb9178ad5f4dcdba680d4c34ac8bd4">60045</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="c20191122to20191122"
      id="Fact_55ef8693aa8a475eb9591641f222c67b">847</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="c20191122to20191122"
      id="Fact_2d9c427379124641912ca270dd549fc6">279-6100</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="c20191122to20191122"
      id="Fact_537febbd4a9649ae85d6ac658f05e493">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="c20191122to20191122"
      id="Fact_f3114bc32c9f4150897c91506ca74679">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="c20191122to20191122"
      id="Fact_c9ab25db865b4efeb81b202dc24b4870">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="c20191122to20191122"
      id="Fact_31b87945026b444497e300f84cc473ef">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="c20191122to20191122"
      id="Fact_15a18b8570894d188eea62a43b8282c2">Common Stock, No Par Value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20191122to20191122"
      id="Fact_80428581f44d4543befb03359bb2e4cf">AKRX</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20191122to20191122"
      id="Fact_8d387009e9be4b7ea9a1fd37336860f2">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="c20191122to20191122"
      id="Fact_4708aa9500e34905bd7bd46174e1eb9e">false</dei:EntityEmergingGrowthCompany>
</xbrl>
