<?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:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="cbpx-20200203.xsd" xlink:type="simple"/>
    <context id="c20200203to20200203">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001592480</identifier>
        </entity>
        <period>
            <startDate>2020-02-03</startDate>
            <endDate>2020-02-03</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="c20200203to20200203"
      id="Fact_52e6745aa3e443539e814d6f2b7b6fab">false</dei:AmendmentFlag>
    <dei:CurrentFiscalYearEndDate
      contextRef="c20200203to20200203"
      id="Fact_20fdf364aadc49ce822d6ec71d193b37">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:EntityCentralIndexKey
      contextRef="c20200203to20200203"
      id="Fact_8e37cb4551b942fa9e0378ab15ad99d0">0001592480</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="c20200203to20200203"
      id="Fact_8eaf2da3cc7848669a7521682c9fbd5b">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="c20200203to20200203"
      id="Fact_0663b7600f6747298057e14f57fecb77">2020-02-03</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="c20200203to20200203"
      id="Fact_67fabece795a482ab9062e5cadb6ce84">Continental Building Products, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="c20200203to20200203"
      id="Fact_b07c1184bac94e7880301293cfb9f91b">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="c20200203to20200203"
      id="Fact_ad03c2e4eb354edeac13184630cb1300">1-36293</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="c20200203to20200203"
      id="Fact_d35e75008e0d46aa87953424a2148b39">61-1718923</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="c20200203to20200203"
      id="Fact_4135da218b194424b06a62e06e55a646">12950 Worldgate Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="c20200203to20200203"
      id="Fact_089dff4c2e5b4f38933b4d91682b5156">Suite 700</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="c20200203to20200203"
      id="Fact_1337c15440104fcba34b9c615945067c">Herndon</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="c20200203to20200203"
      id="Fact_13472daf92c84ed2a6ba5ea28605ea42">VA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="c20200203to20200203"
      id="Fact_930bea79c92142d9914a986a7e74f53f">20170</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="c20200203to20200203"
      id="Fact_701056ca4b644897b79f8dd1f0d59f8f">703</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="c20200203to20200203"
      id="Fact_1934f88b676a444c91d65d49b5e2ba3e">480-3800</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="c20200203to20200203"
      id="Fact_a29af55a615043be9eeac9f82679c490">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="c20200203to20200203"
      id="Fact_709ba67043a94e97a98b0286b1eed3af">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="c20200203to20200203"
      id="Fact_f99a697fae9e4aafade2595b50bdb2f7">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="c20200203to20200203"
      id="Fact_b61f62561b904ab1a003c4d6718c266d">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="c20200203to20200203"
      id="Fact_80b1c8758fbb428a93d948e86c06a9c7">Common Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20200203to20200203"
      id="Fact_b9be2a3a3c0e4f039bdc19f7e66c4d3d">CBPX</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20200203to20200203"
      id="Fact_3459da5ef69f40e7a71b7d14434feee0">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="c20200203to20200203"
      id="Fact_98f99023ba344b52a055f4ec6a835ff1">false</dei:EntityEmergingGrowthCompany>
</xbrl>
