<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2022"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ardx-20230615.xsd" xlink:type="simple"/>
    <context id="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001437402</identifier>
        </entity>
        <period>
            <startDate>2023-06-15</startDate>
            <endDate>2023-06-15</endDate>
        </period>
    </context>
    <context id="iddc290cba6df48e88742644204a6f683_D20230615-20230615">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001437402</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:EntityAddressesAddressTypeAxis">dei:OtherAddressMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-15</startDate>
            <endDate>2023-06-15</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-22">0001437402</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-23">false</dei:AmendmentFlag>
    <dei:CurrentFiscalYearEndDate
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-24">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentType
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-1">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-2">2023-06-15</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-3">ARDELYX, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-4">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-5">001-36485</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-6">26-1303944</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="iddc290cba6df48e88742644204a6f683_D20230615-20230615"
      id="f-7">400 FIFTH AVE.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="iddc290cba6df48e88742644204a6f683_D20230615-20230615"
      id="f-8">SUITE 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="iddc290cba6df48e88742644204a6f683_D20230615-20230615"
      id="f-9">WALTHAM</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="iddc290cba6df48e88742644204a6f683_D20230615-20230615"
      id="f-10">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="iddc290cba6df48e88742644204a6f683_D20230615-20230615"
      id="f-11">02451</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-12">510</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-13">745-1700</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-14">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-15">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-16">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-17">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-18">Common Stock, par value $0.0001</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-19">ARDX</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-20">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="ic8d51103b31847c1a00b5551b4a89023_D20230615-20230615"
      id="f-21">false</dei:EntityEmergingGrowthCompany>
</xbrl>
