<?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="bpmc-20240215.xsd" xlink:type="simple"/>
    <context id="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001597264</identifier>
        </entity>
        <period>
            <startDate>2024-02-15</startDate>
            <endDate>2024-02-15</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Tc_0X-p3qxpIkWkGKJeZXtJTQ_2_1">0001597264</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Tc_yzpJRBW6nkmWfVqDNkg51w_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_ktIMimv6cEOZi-SSZhmM_Q">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_Ux1Cb4RG0U-JZiJGIRu9JA">2024-02-15</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_sbnVlXufvkW5tf9ZWwtQGA">Blueprint Medicines Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Tc_q0fY28sf1kqw-ly4M0fs2A_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Tc_HD9YtqUhGEOfJG4REI7HQA_1_2">001-37359</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Tc_zvt9sPfjKkWLo4TjxXB02g_1_4">26-3632015</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_jboEdCz1HUWIhCM7T_58jg">45 Sidney Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_B5fwukj8BUi2w-Vq2dFEig">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_1jsEJkOxL063wbUb303GGw">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Tc_DbvMkjiMIEqxSIRWoKxM5Q_1_2">02139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_luvKLCc38ECTKY5YJFxj1A">617</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_ItyO_xlA50qeptqZoXTpRg">374-7580</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_bgEiyanlJ0S06NLlT9iN4Q">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_xG3fXNiP-EGH52WXSa0GnQ">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_jFBvsoBv8U2_bATC3niuig">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_Gatbwju3CkavsUlwxpCTYg">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Narr_fieHe8nrkEWVEEkbpHEqkQ">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Tc_l4PC2HFR6UyRwEhbZ4U_bw_2_0">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Tc_SHjYRZTfy06NAdJg2F9ATg_2_1">BPMC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_2_15_2024_To_2_15_2024_HKNXd6CRCE2S6xfeHoWDJQ"
      id="Tc_ixu65XQieEeETRYav871Mw_2_2">NASDAQ</dei:SecurityExchangeName>
</xbrl>
