<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="acer-20231117.xsd" xlink:type="simple"/>
    <context id="duration_2023-11-17_to_2023-11-17">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001069308</identifier>
        </entity>
        <period>
            <startDate>2023-11-17</startDate>
            <endDate>2023-11-17</endDate>
        </period>
    </context>
    <dei:CurrentFiscalYearEndDate
      contextRef="duration_2023-11-17_to_2023-11-17"
      id="Hidden_dei_CurrentFiscalYearEndDate_duration_2023-11-17_to_2023-11-17">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:EntityCentralIndexKey
      contextRef="duration_2023-11-17_to_2023-11-17"
      id="Hidden_dei_EntityCentralIndexKey_duration_2023-11-17_to_2023-11-17">0001069308</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="duration_2023-11-17_to_2023-11-17"
      id="Hidden_dei_AmendmentFlag_duration_2023-11-17_to_2023-11-17">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="duration_2023-11-17_to_2023-11-17" id="Fact_1">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2023-11-17_to_2023-11-17" id="Fact_0">2023-11-17</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2023-11-17_to_2023-11-17">ACER THERAPEUTICS INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2023-11-17_to_2023-11-17">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2023-11-17_to_2023-11-17">001-33004</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2023-11-17_to_2023-11-17">32-0426967</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2023-11-17_to_2023-11-17">One Gateway Center</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2023-11-17_to_2023-11-17">Suite 356</dei:EntityAddressAddressLine2>
    <dei:EntityAddressAddressLine3 contextRef="duration_2023-11-17_to_2023-11-17">300 Washington Street</dei:EntityAddressAddressLine3>
    <dei:EntityAddressCityOrTown contextRef="duration_2023-11-17_to_2023-11-17">Newton</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2023-11-17_to_2023-11-17">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2023-11-17_to_2023-11-17">02458</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2023-11-17_to_2023-11-17">844</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2023-11-17_to_2023-11-17">902-6100</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2023-11-17_to_2023-11-17" id="Fact_3">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2023-11-17_to_2023-11-17">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2023-11-17_to_2023-11-17">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2023-11-17_to_2023-11-17">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2023-11-17_to_2023-11-17">false</dei:EntityEmergingGrowthCompany>
</xbrl>
