<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2020-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bpmc-20200713.xsd" xlink:type="simple"/>
    <context id="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001597264</identifier>
        </entity>
        <period>
            <startDate>2020-07-13</startDate>
            <endDate>2020-07-13</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Tc_PyKnFneQDEa1cYt_vEwO5A_2_1">0001597264</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Tc_xbwbHINWEEaMwzZjH79I_w_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_9THRvZ93QkW7C_B1gkmy7g">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_6Kk_i-NljkqQHKuiBrz2ow">2020-07-13</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_Et1eNLmXqUa6qVQ9t5aphQ">Blueprint Medicines Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Tc_freMrSUTS02AN8n0cC2b6Q_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Tc_23wdkTIuD0yqtu5ZZp9-ug_1_2">001-37359</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Tc_t_Hp2fDkIESlXWjL6Wl-Iw_1_4">26-3632015</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_jm_0SV6Yk0m0AbdU7QoPtQ">45 Sidney Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_W3M0Slw0hEGzNnDIA5TEng">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_tNbxHE4rgkyRxb8DgndeDA">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Tc_0yKFJue6bUCA3LGiOHUa9g_1_2">02139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_lXDSyND5V0-0LM7cBuv3jw">617</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_i0s3xzxQokiBkvsZiiW9ug">374-7580</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_yu75LVicyEGiOTD8CuNSfw">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_gQdY-__PeEe1V2zWzZ5Zng">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_YD-IsS-gjEO4tKVT9KAP6Q">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_I5mGO3fQc0GkmIqsCTNQ4g">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Narr_HaGrOCj1rk2DvOtJT92Lzw">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Tc_bGPU3uXtLkCFqcS3jlIvaw_2_0">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Tc_gMfXFsFtI0agWk-2xJ6t7w_2_1">BPMC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_7_13_2020_To_7_13_2020_OYRObAEjyE6Vw9D9NU99Gw"
      id="Tc_twiec1EX9kKYaRMiXxI1og_2_2">NASDAQ</dei:SecurityExchangeName>
</xbrl>
