<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.5.0.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>179</ContextCount>
  <ElementCount>301</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>43</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001001 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/CondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/CondensedConsolidatedStatementsOfOperations</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Condensed Consolidated Statements of Comprehensive (Loss) Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/CondensedConsolidatedStatementsOfComprehensiveLossIncome</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive (Loss) Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/CondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Nature of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/NatureOfBusiness</Role>
      <ShortName>Nature of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/SignificantAccountingPolicies</Role>
      <ShortName>Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Stock Compensation Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/StockCompensationExpense</Role>
      <ShortName>Stock Compensation Expense</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Earnings (Loss) per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/EarningsLossPerShare</Role>
      <ShortName>Earnings (Loss) per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Cash and Cash Equivalents</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/CashAndCashEquivalents</Role>
      <ShortName>Cash and Cash Equivalents</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/Inventory</Role>
      <ShortName>Inventory</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Intangible Assets and Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/IntangibleAssetsAndGoodwill</Role>
      <ShortName>Intangible Assets and Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Convertible Senior Notes</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.themedicinescompany.com/role/ConvertibleSeniorNotes</Role>
      <ShortName>Convertible Senior Notes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Accumulated Other Comprehensive (Loss) Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/AccumulatedOtherComprehensiveLossIncome</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Segment and Geographic Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/SegmentAndGeographicInformation</Role>
      <ShortName>Segment and Geographic Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/Contingencies</Role>
      <ShortName>Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Restructuring</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/Restructuring</Role>
      <ShortName>Restructuring</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Dispositions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/Dispositions</Role>
      <ShortName>Dispositions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Discontinued Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/DiscontinuedOperations</Role>
      <ShortName>Discontinued Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/SignificantAccountingPoliciesPolicies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/SignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Earnings (Loss) per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/EarningsLossPerShareTables</Role>
      <ShortName>Earnings (Loss) per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/EarningsLossPerShare</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/FairValueMeasurements</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Inventory (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/InventoryTables</Role>
      <ShortName>Inventory (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/Inventory</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Intangible Assets and Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/IntangibleAssetsAndGoodwillTables</Role>
      <ShortName>Intangible Assets and Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/IntangibleAssetsAndGoodwill</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Convertible Senior Notes (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.themedicinescompany.com/role/ConvertibleSeniorNotesTables</Role>
      <ShortName>Convertible Senior Notes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/ConvertibleSeniorNotes</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Accumulated Other Comprehensive (Loss) Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/AccumulatedOtherComprehensiveLossIncomeTables</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/AccumulatedOtherComprehensiveLossIncome</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Segment and Geographic Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/SegmentAndGeographicInformationTables</Role>
      <ShortName>Segment and Geographic Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/SegmentAndGeographicInformation</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Restructuring (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/RestructuringTables</Role>
      <ShortName>Restructuring (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/Restructuring</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Dispositions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/DispositionsTables</Role>
      <ShortName>Dispositions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/Dispositions</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Discontinued Operations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/DiscontinuedOperationsTables</Role>
      <ShortName>Discontinued Operations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/DiscontinuedOperations</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2401401 - Disclosure - Nature of Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/NatureOfBusinessDetails</Role>
      <ShortName>Nature of Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/NatureOfBusiness</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/SignificantAccountingPoliciesDetails</Role>
      <ShortName>Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/SignificantAccountingPoliciesPolicies</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2403401 - Disclosure - Stock Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/StockCompensationExpenseDetails</Role>
      <ShortName>Stock Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/StockCompensationExpense</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Earnings (Loss) per Share (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/EarningsLossPerShareNarrativeDetails</Role>
      <ShortName>Earnings (Loss) per Share (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/EarningsLossPerShareTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Earnings (Loss) per Share (Computation of Basic and Diluted Earnings (Loss) Per Share) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/EarningsLossPerShareComputationOfBasicAndDilutedEarningsLossPerShareDetails</Role>
      <ShortName>Earnings (Loss) per Share (Computation of Basic and Diluted Earnings (Loss) Per Share) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/EarningsLossPerShareTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2405401 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/IncomeTaxes</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2406401 - Disclosure - Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/CashAndCashEquivalentsDetails</Role>
      <ShortName>Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/CashAndCashEquivalents</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Fair Value Measurements (Assets and Liabilities Measured at Fair Value on Recurring Basis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/FairValueMeasurementsAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements (Assets and Liabilities Measured at Fair Value on Recurring Basis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Fair Value Measurements (Fair Value Inputs, Quantitative Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/FairValueMeasurementsFairValueInputsQuantitativeInformationDetails</Role>
      <ShortName>Fair Value Measurements (Fair Value Inputs, Quantitative Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Fair Value Measurements (Level 3 Contingent Purchase Price) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/FairValueMeasurementsLevel3ContingentPurchasePriceDetails</Role>
      <ShortName>Fair Value Measurements (Level 3 Contingent Purchase Price) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2407405 - Disclosure - Fair Value Measurements (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/FairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/InventoryDetails</Role>
      <ShortName>Inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/InventoryTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Intangible Assets and Goodwill (Intangible Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/IntangibleAssetsAndGoodwillIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets and Goodwill (Intangible Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/IntangibleAssetsAndGoodwillTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Intangible Assets and Goodwill (Goodwill) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/IntangibleAssetsAndGoodwillGoodwillDetails</Role>
      <ShortName>Intangible Assets and Goodwill (Goodwill) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/IntangibleAssetsAndGoodwillTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Intangible Assets and Goodwill (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/IntangibleAssetsAndGoodwillNarrativeDetails</Role>
      <ShortName>Intangible Assets and Goodwill (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/IntangibleAssetsAndGoodwillTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Convertible Senior Notes (Due 2023) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.themedicinescompany.com/role/ConvertibleSeniorNotesDue2023Details</Role>
      <ShortName>Convertible Senior Notes (Due 2023) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/ConvertibleSeniorNotesTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Convertible Senior Notes (Due 2022) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.themedicinescompany.com/role/ConvertibleSeniorNotesDue2022Details</Role>
      <ShortName>Convertible Senior Notes (Due 2022) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/ConvertibleSeniorNotesTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Convertible Senior Notes (Due 2017) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.themedicinescompany.com/role/ConvertibleSeniorNotesDue2017Details</Role>
      <ShortName>Convertible Senior Notes (Due 2017) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/ConvertibleSeniorNotesTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2410405 - Disclosure - Convertible Senior Notes (Note Hedges) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.themedicinescompany.com/role/ConvertibleSeniorNotesNoteHedgesDetails</Role>
      <ShortName>Convertible Senior Notes (Note Hedges) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/ConvertibleSeniorNotesTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2410406 - Disclosure - Convertible Senior Notes (Warrants) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.themedicinescompany.com/role/ConvertibleSeniorNotesWarrantsDetails</Role>
      <ShortName>Convertible Senior Notes (Warrants) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/ConvertibleSeniorNotesTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Accumulated Other Comprehensive (Loss) Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/AccumulatedOtherComprehensiveLossIncomeDetails</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/AccumulatedOtherComprehensiveLossIncomeTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Segment and Geographic Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/SegmentAndGeographicInformationDetails</Role>
      <ShortName>Segment and Geographic Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/SegmentAndGeographicInformationTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Restructuring (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/RestructuringNarrativeDetails</Role>
      <ShortName>Restructuring (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/RestructuringTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Restructuring (Restructuring Reserve) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/RestructuringRestructuringReserveDetails</Role>
      <ShortName>Restructuring (Restructuring Reserve) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/RestructuringTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Dispositions (Major Classes of Assets Sold and Gain Recognized) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/DispositionsMajorClassesOfAssetsSoldAndGainRecognizedDetails</Role>
      <ShortName>Dispositions (Major Classes of Assets Sold and Gain Recognized) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/DispositionsTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2417403 - Disclosure - Dispositions (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/DispositionsNarrativeDetails</Role>
      <ShortName>Dispositions (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/DispositionsTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Discontinued Operations (Key Financial Results and Assets and Liabilities Held for Sale) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/DiscontinuedOperationsKeyFinancialResultsAndAssetsAndLiabilitiesHeldForSaleDetails</Role>
      <ShortName>Discontinued Operations (Key Financial Results and Assets and Liabilities Held for Sale) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/DiscontinuedOperationsTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="mdco-20160630.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2418403 - Disclosure - Discontinued Operations (Significant Cash Flow Items From Discontinued Operations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.themedicinescompany.com/role/DiscontinuedOperationsSignificantCashFlowItemsFromDiscontinuedOperationsDetails</Role>
      <ShortName>Discontinued Operations (Significant Cash Flow Items From Discontinued Operations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.themedicinescompany.com/role/DiscontinuedOperationsTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>mdco-20160630.xml</File>
    <File>mdco-20160630.xsd</File>
    <File>mdco-20160630_cal.xml</File>
    <File>mdco-20160630_def.xml</File>
    <File>mdco-20160630_lab.xml</File>
    <File>mdco-20160630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
