<?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:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ardx-20210308.xsd" xlink:type="simple"/>
    <context id="Duration_3_8_2021_To_3_8_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_-EyjgBAJqkG126t-jh08pA">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001437402</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:EntityAddressesAddressTypeAxis">dei:OtherAddressMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-03-08</startDate>
            <endDate>2021-03-08</endDate>
        </period>
    </context>
    <context id="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001437402</identifier>
        </entity>
        <period>
            <startDate>2021-03-08</startDate>
            <endDate>2021-03-08</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc_y6ixbLDHCU6fHoOE3Kia9Q_2_1">0001437402</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc_149FowEH4Ump5aX-T-yoMQ_3_1">false</dei:AmendmentFlag>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Hidden_yWpiz80OU02o5vBEDFKv2g">CA</dei:EntityAddressStateOrProvince>
    <dei:DocumentType
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Narr_Pe81qIIbvEmnR01J77ys8w">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Narr_JctamEw9_kqMilDY4QibGw">2021-03-08</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Narr_qE7xfvnYbEyrqGKr4e-QTg">ARDELYX, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc_tK4Bzt1tVkONc7ddDJ48CA_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc_xnEn5fwPdUWgVWRn8tzLoA_1_1">001-36485</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc_EVjn8O-ld0a2NaWXwvBcpA_1_2">26-1303944</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Narr_h-33kHmBhEag6J1fEmnV8g">34175 ARDENWOOD BLVD.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Narr_AzqbL_kmBkiRYWHV-HWMYg">FREMONT</dei:EntityAddressCityOrTown>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Narr_NA_T_FX040uOaR6xXA7lmw">94555</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_3_8_2021_To_3_8_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_-EyjgBAJqkG126t-jh08pA"
      id="Narr_Yzw7ePRyU0yR6bkE-xVtGw">400 FIFTH AVE.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_3_8_2021_To_3_8_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_-EyjgBAJqkG126t-jh08pA"
      id="Narr_rfYsJFktREeG67oVZhJI-Q">SUITE 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_3_8_2021_To_3_8_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_-EyjgBAJqkG126t-jh08pA"
      id="Narr_8AI2tDWyoUWfNqSPM8GUsg">WALTHAM</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_3_8_2021_To_3_8_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_-EyjgBAJqkG126t-jh08pA"
      id="Narr_8oxNx8Bab0atpwYmZmyMnA">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_3_8_2021_To_3_8_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_-EyjgBAJqkG126t-jh08pA"
      id="Narr_tGZfZYVRLUeP-qlyFbAtEw">02451</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Narr_1_yQCxgZ2068Y6UcNxzmYw">510</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Narr_kZ6HrIWYMka0sVbw5DATkg">745-1700</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc__TE9QIZPP0KgGvv5mTtb8g_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc_IlyLsL34GEW6fMV5qHXtxQ_2_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc_IPFc2T82oEKJbcQJHxrXgg_3_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc_EVLPr5Q7J0Wuy9_3hQ_BgA_4_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc__Yc7oMaidE6-DHLtky2rAw_2_0">Common Stock, par value $0.0001</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc_EMhaHW01z0uf0o0puZv6lA_2_2">ARDX</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Tc_EgphByIEP0uFYascxYay5Q_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_3_8_2021_To_3_8_2021_V-JvVl0Br02HTWNbvMG5vQ"
      id="Narr_ydAN37tKPE-0UWzsZxSOOQ">false</dei:EntityEmergingGrowthCompany>
</xbrl>
