<?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-20210311.xsd" xlink:type="simple"/>
    <context id="Duration_3_11_2021_To_3_11_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_JJQT5LGGF0SjovEJb0QZyg">
        <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-11</startDate>
            <endDate>2021-03-11</endDate>
        </period>
    </context>
    <context id="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001437402</identifier>
        </entity>
        <period>
            <startDate>2021-03-11</startDate>
            <endDate>2021-03-11</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc__aKHIImNBEW4ufn34-vDUQ_2_1">0001437402</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc_B4vmXP3xu0qYJqaiEIszZQ_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Narr_AWFHS1HmvU27jK_DfN0ImQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Narr_4ewbqgUH10S06dUD2TM18A">2021-03-11</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Narr_3my59Sm4AUW7g5f5wwzTnQ">ARDELYX, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc_u4SnrMEsN0-3sCb_ZBrJCw_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc_uGgNOki770eCLk9oRoLQww_1_1">001-36485</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc_UULZF18j9k6Ayqg8BcRTVA_1_2">26-1303944</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Narr_Vz0Tt3qvMUeTIGMSc-3-MA">34175 Ardenwood Blvd.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Narr_gEODj-im0Uadj--yocbntQ">Fremont</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Narr_0qdgurZIG0yIzxK6xcTYgA">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Narr_nmhpfZbiGECs0sEln60UUw">94555</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_3_11_2021_To_3_11_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_JJQT5LGGF0SjovEJb0QZyg"
      id="Narr_fDUi3FPcCUC1hx1JPSWO4Q">400 Fifth Ave.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="Duration_3_11_2021_To_3_11_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_JJQT5LGGF0SjovEJb0QZyg"
      id="Narr_XsuOjHXEjkmK5f5hp26nMw">Suite 210</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_3_11_2021_To_3_11_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_JJQT5LGGF0SjovEJb0QZyg"
      id="Narr_Tshh6d-Jsk-y2ujgQk586g">Waltham</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_3_11_2021_To_3_11_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_JJQT5LGGF0SjovEJb0QZyg"
      id="Narr_wwQKchtJkEym3d3_2pwRiA">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_3_11_2021_To_3_11_2021_dei_EntityAddressesAddressTypeAxis_dei_OtherAddressMember_JJQT5LGGF0SjovEJb0QZyg"
      id="Narr_N49dl1QGT0mxy3ERi-dLMQ">02456</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Narr_cOZocKqjqkeimb3OTqmL5A">510</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Narr_guPgoN0VZ0SauA2VGH4nnw">745-1700</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc_twZ-54PrGUW11znbpskjCg_1_0">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc_MAEyA00uGE6IHsd-iXDeUw_3_0">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc_3srRHJmNSU-cT1XO8e2dgQ_5_0">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc_rC35o8b7bEKf5O-kvtqLPA_7_0">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Narr_oXh0kpHulUaqiU3OOE1oeg">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc_gyD0ma7AME-i9rSsNAe3uQ_2_0">Common Stock, par value $0.0001</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc_Enit4Wc0_E-HQ9H7VXSqVQ_2_2">ARDX</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_3_11_2021_To_3_11_2021_OD2MKhXaDU-dy8TJ1Ls0zw"
      id="Tc_Eo2U4auZpUiZ4Rt8XzfWMA_2_4">NASDAQ</dei:SecurityExchangeName>
</xbrl>
