<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bpmc-20250213.xsd" xlink:type="simple"/>
    <context id="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001597264</identifier>
        </entity>
        <period>
            <startDate>2025-02-13</startDate>
            <endDate>2025-02-13</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Tc_FUTjpSiGRU6oG6ztxV0_aw_2_1">0001597264</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Tc_4OEeJ117V0iFZzU58uHlCw_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_jiV7uVBQJkiw8_6kPpC1sA">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_NrkwZPnwnE2GiOOLlZ7Mag">2025-02-13</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_Oit5E4ECREKGNREvfOe47w">Blueprint Medicines Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Tc_i7laTPeh20un_4o2WJznjw_0_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Tc_nDGXTNdX_EWhtB_AuDHH3Q_0_2">001-37359</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Tc_w5DYXS_TD0eD_Uta8DlY2Q_0_4">26-3632015</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_yevCDhaVWUKnByO8XjLxHw">45 Sidney Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_Yf5z2JvbiEOVT7ZXwx7nOA">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_oIck0yY-xEmB75GXN6mSBw">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Tc_mEZ-mywPPEOD21KA-cs3qA_0_2">02139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_jOYGCgRe-0utwdcy-H_pUA">617</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_GKMbrww6bk2Eo_nST4dNbw">374-7580</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_Dgnm2c11SkuzutaetqZM-A">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_2g72_gdmDUCaC32DU8O7bA">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_oKYSJNapIkmY9c4OAvvMRA">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_cgvxg9B0Z0KI8GzUToGbGw">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Narr_NDWJ6zKyOEKast-mMnLPiw">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Tc_LNfL_7Jtlk6NToQ-FuhXTA_2_0">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Tc_DJwkQnpwiUSD_NG6Br68gw_2_1">BPMC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_2_13_2025_To_2_13_2025_zqZT2kEK80qOoW4e9HJ1sw"
      id="Tc_bIUNE6ORPkGkTMDSdH0h-Q_2_2">NASDAQ</dei:SecurityExchangeName>
</xbrl>
