<?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="ibp-20210507.xsd" xlink:type="simple"/>
    <context id="duration_2021-05-07_to_2021-05-07">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001580905</identifier>
        </entity>
        <period>
            <startDate>2021-05-07</startDate>
            <endDate>2021-05-07</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="duration_2021-05-07_to_2021-05-07">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2021-05-07_to_2021-05-07"
      id="Hidden_dei_EntityCentralIndexKey">0001580905</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2021-05-07_to_2021-05-07">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2021-05-07_to_2021-05-07">2021-05-07</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2021-05-07_to_2021-05-07">Installed Building Products, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2021-05-07_to_2021-05-07">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2021-05-07_to_2021-05-07">001-36307</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2021-05-07_to_2021-05-07">45-3707650</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2021-05-07_to_2021-05-07">495 South High Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2021-05-07_to_2021-05-07">Suite 50</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="duration_2021-05-07_to_2021-05-07">Columbus</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2021-05-07_to_2021-05-07">OH</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2021-05-07_to_2021-05-07">43215</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2021-05-07_to_2021-05-07">(614)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2021-05-07_to_2021-05-07">221-3399</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2021-05-07_to_2021-05-07">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2021-05-07_to_2021-05-07">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2021-05-07_to_2021-05-07">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2021-05-07_to_2021-05-07">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2021-05-07_to_2021-05-07">Common stock</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2021-05-07_to_2021-05-07">IBP</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2021-05-07_to_2021-05-07">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2021-05-07_to_2021-05-07">false</dei:EntityEmergingGrowthCompany>
</xbrl>
