<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.5.0.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>276</ContextCount>
  <ElementCount>338</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>87</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/StatementCondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/StatementCondensedConsolidatedStatementsOfOperations</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - Condensed Consolidated Statements of Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveLoss</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/StatementCondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Nature of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNatureOfBusiness</Role>
      <ShortName>Nature of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Net Loss Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNetLossPerShare</Role>
      <ShortName>Net Loss Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureBusinessCombinations</Role>
      <ShortName>Business Combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Collaboration, License and Co- Promotion Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCollaborationLicenseAndCoPromotionAgreements</Role>
      <ShortName>Collaboration, License and Co- Promotion Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureFairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Available-for-Sale Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureAvailableForSaleSecurities</Role>
      <ShortName>Available-for-Sale Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureInventory</Role>
      <ShortName>Inventory</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosurePropertyAndEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Accrued Expenses and Other Current Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilities</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Notes Payable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNotesPayable</Role>
      <ShortName>Notes Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Employee Stock Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureEmployeeStockBenefitPlans</Role>
      <ShortName>Employee Stock Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>20102 - Disclosure - Nature of Business (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNatureOfBusinessPolicies</Role>
      <ShortName>Nature of Business (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Net Loss Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNetLossPerShareTables</Role>
      <ShortName>Net Loss Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureNetLossPerShare</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureBusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureBusinessCombinations</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Collaboration, License and Co-Promotion Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCollaborationLicenseAndCoPromotionAgreementsTables</Role>
      <ShortName>Collaboration, License and Co-Promotion Agreements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureFairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureFairValueOfFinancialInstruments</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Available-for-Sale Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureAvailableForSaleSecuritiesTables</Role>
      <ShortName>Available-for-Sale Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureAvailableForSaleSecurities</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosurePropertyAndEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosurePropertyAndEquipment</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Accrued Expenses and Other Current Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesTables</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilities</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>31003 - Disclosure - Notes Payable (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNotesPayableTables</Role>
      <ShortName>Notes Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureNotesPayable</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>31103 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>31203 - Disclosure - Employee Stock Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureEmployeeStockBenefitPlansTables</Role>
      <ShortName>Employee Stock Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureEmployeeStockBenefitPlans</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Nature of Business - Debt Issued (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNatureOfBusinessDebtIssuedDetails</Role>
      <ShortName>Nature of Business - Debt Issued (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Net Loss Per Share - Potentially Dilutive Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNetLossPerSharePotentiallyDilutiveSecuritiesDetails</Role>
      <ShortName>Net Loss Per Share - Potentially Dilutive Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Business Combinations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureBusinessCombinationsDetails</Role>
      <ShortName>Business Combinations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureBusinessCombinationsTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Collaboration, License and Co-Promotion Agreements - Summary (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCollaborationLicenseAndCoPromotionAgreementsSummaryDetails</Role>
      <ShortName>Collaboration, License and Co-Promotion Agreements - Summary (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureCollaborationLicenseAndCoPromotionAgreementsTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>40402 - Disclosure - Collaboration, License and Co-Promotion Agreements - North America (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCollaborationLicenseAndCoPromotionAgreementsNorthAmericaDetails</Role>
      <ShortName>Collaboration, License and Co-Promotion Agreements - North America (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>40403 - Disclosure - Collaboration, License and Co-Promotion Agreements - European Territory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCollaborationLicenseAndCoPromotionAgreementsEuropeanTerritoryDetails</Role>
      <ShortName>Collaboration, License and Co-Promotion Agreements - European Territory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>40404 - Disclosure - Collaboration, License and Co-Promotion Agreements - Japan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCollaborationLicenseAndCoPromotionAgreementsJapanDetails</Role>
      <ShortName>Collaboration, License and Co-Promotion Agreements - Japan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureCollaborationLicenseAndCoPromotionAgreementsTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>40405 - Disclosure - Collaboration, License and Co-Promotion Agreements - China, Hong Kong and Macau (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCollaborationLicenseAndCoPromotionAgreementsChinaHongKongAndMacauDetails</Role>
      <ShortName>Collaboration, License and Co-Promotion Agreements - China, Hong Kong and Macau (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40406 - Disclosure - Collaboration, License and Co-Promotion Agreements - Co-Promotion Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCollaborationLicenseAndCoPromotionAgreementsCoPromotionAgreementsDetails</Role>
      <ShortName>Collaboration, License and Co-Promotion Agreements - Co-Promotion Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40407 - Disclosure - Collaboration,License and Co-Promotion Agreements - Other Collaborations and License Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCollaborationLicenseAndCoPromotionAgreementsOtherCollaborationsAndLicenseAgreementsDetails</Role>
      <ShortName>Collaboration,License and Co-Promotion Agreements - Other Collaborations and License Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Fair Value of Financial Instruments - Measured on Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureFairValueOfFinancialInstrumentsMeasuredOnRecurringBasisDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Measured on Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40502 - Disclosure - Fair Value of Financial Instruments - Change in Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureFairValueOfFinancialInstrumentsChangeInFairValueDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Change in Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40503 - Disclosure - Fair Value of Financial Instruments - Contingent Consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureFairValueOfFinancialInstrumentsContingentConsiderationDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Contingent Consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40504 - Disclosure - Fair Value of Financial Instruments - Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureFairValueOfFinancialInstrumentsNotesPayableDetails</Role>
      <ShortName>Fair Value of Financial Instruments - Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Available-for-Sale Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureAvailableForSaleSecuritiesDetails</Role>
      <ShortName>Available-for-Sale Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureAvailableForSaleSecuritiesTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureInventoryDetails</Role>
      <ShortName>Inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureInventory</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosurePropertyAndEquipmentDetails</Role>
      <ShortName>Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosurePropertyAndEquipmentTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Accrued Expenses and Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Notes Payable - General Information (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNotesPayableGeneralInformationDetails</Role>
      <ShortName>Notes Payable - General Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>41002 - Disclosure - Notes Payable - Carrying Amount (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNotesPayableCarryingAmountDetails</Role>
      <ShortName>Notes Payable - Carrying Amount (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>41003 - Disclosure - Notes Payable - Convertible Debt (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNotesPayableConvertibleDebtDetails</Role>
      <ShortName>Notes Payable - Convertible Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>41004 - Disclosure - Notes Payable - PhaRMA Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureNotesPayablePharmaNotesDetails</Role>
      <ShortName>Notes Payable - PhaRMA Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Commitments and Contingencies - Minimum Lease Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCommitmentsAndContingenciesMinimumLeasePaymentsDetails</Role>
      <ShortName>Commitments and Contingencies - Minimum Lease Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>41102 - Disclosure - Commitments and Contingencies - Other Commitments (Details2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureCommitmentsAndContingenciesOtherCommitmentsDetails2</Role>
      <ShortName>Commitments and Contingencies - Other Commitments (Details2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Employee Stock Benefit Plans - Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureEmployeeStockBenefitPlansCompensationExpenseDetails</Role>
      <ShortName>Employee Stock Benefit Plans - Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>41202 - Disclosure - Employee Stock Benefit Plans - Plan Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureEmployeeStockBenefitPlansPlanActivityDetails</Role>
      <ShortName>Employee Stock Benefit Plans - Plan Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>41203 - Disclosure - Employee Stock Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureEmployeeStockBenefitPlansDetails</Role>
      <ShortName>Employee Stock Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureEmployeeStockBenefitPlansTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="irwd-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ironwoodpharma.com/role/DisclosureRelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ironwoodpharma.com/role/DisclosureRelatedPartyTransactions</ParentRole>
      <Position>58</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>irwd-20160930.xml</File>
    <File>irwd-20160930.xsd</File>
    <File>irwd-20160930_cal.xml</File>
    <File>irwd-20160930_def.xml</File>
    <File>irwd-20160930_lab.xml</File>
    <File>irwd-20160930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
