<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2021"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="trec-20220525.xsd" xlink:type="simple"/>
    <context id="duration_2022-05-25_to_2022-05-25">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000007039</identifier>
        </entity>
        <period>
            <startDate>2022-05-25</startDate>
            <endDate>2022-05-25</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="duration_2022-05-25_to_2022-05-25">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2022-05-25_to_2022-05-25"
      id="Hidden_dei_EntityCentralIndexKey">0000007039</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2022-05-25_to_2022-05-25">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2022-05-25_to_2022-05-25">2022-05-25</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2022-05-25_to_2022-05-25">TRECORA RESOURCES</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2022-05-25_to_2022-05-25">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2022-05-25_to_2022-05-25">1-33926</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2022-05-25_to_2022-05-25">75-1256622</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2022-05-25_to_2022-05-25">1650 Hwy 6 South</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2022-05-25_to_2022-05-25">Suite 190</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="duration_2022-05-25_to_2022-05-25">Sugar Land</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2022-05-25_to_2022-05-25">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2022-05-25_to_2022-05-25">77478</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2022-05-25_to_2022-05-25">(281)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2022-05-25_to_2022-05-25">980-5522</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2022-05-25_to_2022-05-25">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2022-05-25_to_2022-05-25">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2022-05-25_to_2022-05-25">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2022-05-25_to_2022-05-25">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2022-05-25_to_2022-05-25">Common Stock, par value $0.10 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2022-05-25_to_2022-05-25">TREC</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2022-05-25_to_2022-05-25">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2022-05-25_to_2022-05-25">false</dei:EntityEmergingGrowthCompany>
</xbrl>
