<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.5.0.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>122</ContextCount>
  <ElementCount>229</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>44</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="ptct-20160930.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.ptcbio.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Balance Sheets (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/ConsolidatedBalanceSheetsUnaudited</Role>
      <ShortName>Consolidated Balance Sheets (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Consolidated Balance Sheets (unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/ConsolidatedBalanceSheetsUnauditedParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Operations (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/ConsolidatedStatementsOfOperationsUnaudited</Role>
      <ShortName>Consolidated Statements of Operations (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Consolidated Statements of Comprehensive Loss (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/ConsolidatedStatementsOfComprehensiveLossUnaudited</Role>
      <ShortName>Consolidated Statements of Comprehensive Loss (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statements of Cash Flows (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/ConsolidatedStatementsOfCashFlowsUnaudited</Role>
      <ShortName>Consolidated Statements of Cash Flows (unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - The Company</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/Company</Role>
      <ShortName>The Company</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Summary of significant accounting policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of significant accounting policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Fair value of financial instruments and marketable securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecurities</Role>
      <ShortName>Fair value of financial instruments and marketable securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Other comprehensive income (loss) and accumulated other comprehensive items</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/OtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItems</Role>
      <ShortName>Other comprehensive income (loss) and accumulated other comprehensive items</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Accounts payable and accrued expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/AccountsPayableAndAccruedExpenses</Role>
      <ShortName>Accounts payable and accrued expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/Warrants</Role>
      <ShortName>Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Net loss per share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/NetLossPerShare</Role>
      <ShortName>Net loss per share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Stock award plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StockAwardPlan</Role>
      <ShortName>Stock award plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Convertible Senior Notes</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ptcbio.com/role/ConvertibleSeniorNotes</Role>
      <ShortName>Convertible Senior Notes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Restructuring</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/Restructuring</Role>
      <ShortName>Restructuring</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Commitments and contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Subsequent events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Summary of significant accounting policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of significant accounting policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Fair value of financial instruments and marketable securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesTables</Role>
      <ShortName>Fair value of financial instruments and marketable securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecurities</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Other comprehensive income (loss) and accumulated other comprehensive items (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/OtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItemsTables</Role>
      <ShortName>Other comprehensive income (loss) and accumulated other comprehensive items (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/OtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItems</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Accounts payable and accrued expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/AccountsPayableAndAccruedExpensesTables</Role>
      <ShortName>Accounts payable and accrued expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/AccountsPayableAndAccruedExpenses</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/WarrantsTables</Role>
      <ShortName>Warrants (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/Warrants</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Net loss per share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/NetLossPerShareTables</Role>
      <ShortName>Net loss per share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/NetLossPerShare</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Stock award plan (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StockAwardPlanTables</Role>
      <ShortName>Stock award plan (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/StockAwardPlan</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Convertible Senior Notes (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ptcbio.com/role/ConvertibleSeniorNotesTables</Role>
      <ShortName>Convertible Senior Notes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/ConvertibleSeniorNotes</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Restructuring (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/RestructuringTables</Role>
      <ShortName>Restructuring (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/Restructuring</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2401401 - Disclosure - The Company (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/CompanyDetails</Role>
      <ShortName>The Company (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/Company</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Summary of significant accounting policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/SummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of significant accounting policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/SummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Fair value of financial instruments and marketable securities - Hierachy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesHierachyDetails</Role>
      <ShortName>Fair value of financial instruments and marketable securities - Hierachy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesTables</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Fair value of financial instruments and marketable securities - Available for sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesAvailableForSaleDetails</Role>
      <ShortName>Fair value of financial instruments and marketable securities - Available for sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2403404 - Disclosure - Fair value of financial instruments and marketable securities - Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesBalanceSheetDetails</Role>
      <ShortName>Fair value of financial instruments and marketable securities - Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2403405 - Disclosure - Fair value of financial instruments and marketable securities - Warrants and SARs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesWarrantsAndSarsDetails</Role>
      <ShortName>Fair value of financial instruments and marketable securities - Warrants and SARs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Other comprehensive income (loss) and accumulated other comprehensive items (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/OtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItemsDetails</Role>
      <ShortName>Other comprehensive income (loss) and accumulated other comprehensive items (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/OtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItemsTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Accounts payable and accrued expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/AccountsPayableAndAccruedExpensesDetails</Role>
      <ShortName>Accounts payable and accrued expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/AccountsPayableAndAccruedExpensesTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/WarrantsDetails</Role>
      <ShortName>Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/WarrantsTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Net loss per share - Numerator and Denominator (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/NetLossPerShareNumeratorAndDenominatorDetails</Role>
      <ShortName>Net loss per share - Numerator and Denominator (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Net loss per share - Antidilutive (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/NetLossPerShareAntidilutiveDetails</Role>
      <ShortName>Net loss per share - Antidilutive (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Stock award plan - Share Base Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StockAwardPlanShareBaseCompensationDetails</Role>
      <ShortName>Stock award plan - Share Base Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Stock award plan - Restricted Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StockAwardPlanRestrictedStockDetails</Role>
      <ShortName>Stock award plan - Restricted Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Stock award plan Stock award plan- Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StockAwardPlanStockAwardPlanNarrativeDetails</Role>
      <ShortName>Stock award plan Stock award plan- Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Convertible Senior Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ptcbio.com/role/ConvertibleSeniorNotesDetails</Role>
      <ShortName>Convertible Senior Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/ConvertibleSeniorNotesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Convertible Senior Notes - Interest Expense (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ptcbio.com/role/ConvertibleSeniorNotesInterestExpenseDetails</Role>
      <ShortName>Convertible Senior Notes - Interest Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Convertible Senior Notes - Narrative (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ptcbio.com/role/ConvertibleSeniorNotesNarrativeDetails</Role>
      <ShortName>Convertible Senior Notes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Restructuring (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/RestructuringDetails</Role>
      <ShortName>Restructuring (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/RestructuringTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ptct-20160930.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2411401 - Disclosure - Commitments and contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>46</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>ptct-20160930.xml</File>
    <File>ptct-20160930.xsd</File>
    <File>ptct-20160930_cal.xml</File>
    <File>ptct-20160930_def.xml</File>
    <File>ptct-20160930_lab.xml</File>
    <File>ptct-20160930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
