<?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="hsc-20221019.xsd" xlink:type="simple"/>
    <context id="duration_2022-10-19_to_2022-10-19">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000045876</identifier>
        </entity>
        <period>
            <startDate>2022-10-19</startDate>
            <endDate>2022-10-19</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2022-10-19_to_2022-10-19"
      id="Hidden_dei_EntityRegistrantName">HARSCO CORP</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2022-10-19_to_2022-10-19">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2022-10-19_to_2022-10-19"
      id="Hidden_dei_EntityCentralIndexKey">0000045876</dei:EntityCentralIndexKey>
    <dei:CurrentFiscalYearEndDate
      contextRef="duration_2022-10-19_to_2022-10-19"
      id="Hidden_dei_CurrentFiscalYearEndDate_duration_2022-10-19_to_2022-10-19">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentType contextRef="duration_2022-10-19_to_2022-10-19">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2022-10-19_to_2022-10-19">2022-10-19</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2022-10-19_to_2022-10-19">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2022-10-19_to_2022-10-19">001-03970</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2022-10-19_to_2022-10-19">23-1483991</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2022-10-19_to_2022-10-19">350 Poplar Church Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="duration_2022-10-19_to_2022-10-19">Camp Hill</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2022-10-19_to_2022-10-19">PA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2022-10-19_to_2022-10-19">17011</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2022-10-19_to_2022-10-19">(717)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2022-10-19_to_2022-10-19">763-7064</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2022-10-19_to_2022-10-19">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2022-10-19_to_2022-10-19">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2022-10-19_to_2022-10-19">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2022-10-19_to_2022-10-19">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2022-10-19_to_2022-10-19">Common stock, par value $1.25 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2022-10-19_to_2022-10-19">HSC</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2022-10-19_to_2022-10-19">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2022-10-19_to_2022-10-19">false</dei:EntityEmergingGrowthCompany>
</xbrl>
