<?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="bpmc-20210728.xsd" xlink:type="simple"/>
    <context id="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001597264</identifier>
        </entity>
        <period>
            <startDate>2021-07-28</startDate>
            <endDate>2021-07-28</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Tc_YEbr_KCEkU-t7ChrpMpgDA_2_1">0001597264</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Tc_-bxZPZCZ8UutiGPIkwOjCQ_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_IpAy03TBs0ajAh8tYWAl4w">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_-Mnud9hrEk2vyI7N6BgSqA">2021-07-28</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_okwubdsvlEqe9FWJ1tSl0g">Blueprint Medicines Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Tc_BhYrlSjYTUSW7wqTVKPR-Q_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Tc_XCrt7p382U6YACBVlnabjg_1_2">001-37359</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Tc_KDbtdqZT5UyilCZMEI7myw_1_4">26-3632015</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_UcHp0uBYLkKVcDwiuA7xKQ">45 Sidney Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_Ww4mfOGSNEaObt_i-KNp2A">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_l2V-SkQP8Eeb21ZC_jzzIg">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Tc_sZsfpnw51kilT9ZayqHv9Q_1_2">02139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_R16YyRa6b0eeZ0tENF8RXQ">617</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_zBjG_0NDxEKNrLlnHG-YuA">374-7580</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_kLz4lO9h8kiZ3M7G0g84Fw">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_3Gex-OeLz06bZqVemX5OMA">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_JdPhUcSs1ESBu9qYO72EQQ">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_zQEdpgIyWk6n-ArkjLtx7Q">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Narr_tcqYTdnNl0eNxN_ZykYKVw">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Tc_zQkGoE180UStZ7p8HB59TQ_2_0">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Tc_s5PGbcqhzEC0xgTKv208-A_2_1">BPMC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_7_28_2021_To_7_28_2021_pHu3pL3tNEmMIrS9QvRyDw"
      id="Tc_SJ9CFZVsSEq_r4GreDEJwA_2_2">NASDAQ</dei:SecurityExchangeName>
</xbrl>
