<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>294</ContextCount>
  <ElementCount>472</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>84</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>14</UnitCount>
  <MyReports>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <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="ptct0930201910-q.htm">
      <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="ptct0930201910-q.htm">
      <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="ptct0930201910-q.htm">
      <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="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statements of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/ConsolidatedStatementsOfStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1005000 - 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>7</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101100 - 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="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.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>9</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/Acquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2104100 - 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>12</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2105100 - 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>13</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2106100 - 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>14</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Capitalization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/Capitalization</Role>
      <ShortName>Capitalization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2108100 - 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>16</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2109100 - 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>17</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - - (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ptcbio.com/role/Notes</Role>
      <ShortName>- (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Revenue recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/RevenueRecognition</Role>
      <ShortName>Revenue recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Intangible assets and goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/IntangibleAssetsAndGoodwill</Role>
      <ShortName>Intangible assets and goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Subsequent events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2201201 - 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>23</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - Summary of significant accounting policies - (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of significant accounting policies - (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Leases - (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/LeasesTables</Role>
      <ShortName>Leases - (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Acquisitions - (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/AcquisitionsTables</Role>
      <ShortName>Acquisitions - (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/Acquisitions</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2304301 - 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>27</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2305301 - 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>28</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2306301 - 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>29</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Capitalization - (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/CapitalizationTables</Role>
      <ShortName>Capitalization - (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/Capitalization</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2308301 - 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>31</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2309301 - 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>32</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Debt - (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DebtTables</Role>
      <ShortName>Debt - (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Revenue recognition - (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/RevenueRecognitionTables</Role>
      <ShortName>Revenue recognition - (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/RevenueRecognition</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - Intangible assets and goodwill - (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/IntangibleAssetsAndGoodwillTables</Role>
      <ShortName>Intangible assets and goodwill - (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/IntangibleAssetsAndGoodwill</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2401401 - Disclosure - The Company - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/CompanyNarrativeDetails</Role>
      <ShortName>The Company - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - Summary of significant accounting policies - Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/SummaryOfSignificantAccountingPoliciesInventoryDetails</Role>
      <ShortName>Summary of significant accounting policies - Inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2401404 - Disclosure - Summary of significant accounting policies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Summary of significant accounting policies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2401405 - Disclosure - Summary of significant accounting policies - Reconciliation of cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/SummaryOfSignificantAccountingPoliciesReconciliationOfCashDetails</Role>
      <ShortName>Summary of significant accounting policies - Reconciliation of cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Leases - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/LeasesNarrativeDetails</Role>
      <ShortName>Leases - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Leases - Lease costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/LeasesLeaseCostsDetails</Role>
      <ShortName>Leases - Lease costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Leases - Lease payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/LeasesLeasePaymentsDetails</Role>
      <ShortName>Leases - Lease payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Acquisitions - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/AcquisitionsNarrativeDetails</Role>
      <ShortName>Acquisitions - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Acquisitions - Schedule of Business Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/AcquisitionsScheduleOfBusinessAcquisitionsDetails</Role>
      <ShortName>Acquisitions - Schedule of Business Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2403404 - Disclosure - Acquisitions - Preliminary Allocation of purchase price (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/AcquisitionsPreliminaryAllocationOfPurchasePriceDetails</Role>
      <ShortName>Acquisitions - Preliminary Allocation of purchase price (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2403405 - Disclosure - Acquisitions - Business Acquisition, Pro Forma Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/AcquisitionsBusinessAcquisitionProFormaInformationDetails</Role>
      <ShortName>Acquisitions - Business Acquisition, Pro Forma Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Fair value of financial instruments and marketable securities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesNarrativeDetails</Role>
      <ShortName>Fair value of financial instruments and marketable securities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Fair value of financial instruments and marketable securities - Hierarchy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesHierarchyDetails</Role>
      <ShortName>Fair value of financial instruments and marketable securities - Hierarchy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2404404 - 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>49</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2404405 - Disclosure - Fair value of financial instruments and marketable securities - Fair Value Measurement Inputs and Valuation Techniques (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesFairValueMeasurementInputsAndValuationTechniquesDetails</Role>
      <ShortName>Fair value of financial instruments and marketable securities - Fair Value Measurement Inputs and Valuation Techniques (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2404406 - Disclosure - Fair value of financial instruments and marketable securities - Unrealized Loss Positions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesUnrealizedLossPositionsDetails</Role>
      <ShortName>Fair value of financial instruments and marketable securities - Unrealized Loss Positions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2404407 - Disclosure - Fair value of financial instruments and marketable securities - Marketable securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/FairValueOfFinancialInstrumentsAndMarketableSecuritiesMarketableSecuritiesDetails</Role>
      <ShortName>Fair value of financial instruments and marketable securities - Marketable securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2404408 - 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>53</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Other comprehensive income (loss) and accumulated other comprehensive items - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/OtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItemsNarrativeDetails</Role>
      <ShortName>Other comprehensive income (loss) and accumulated other comprehensive items - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/OtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItemsTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Accounts payable and accrued expenses - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/AccountsPayableAndAccruedExpensesNarrativeDetails</Role>
      <ShortName>Accounts payable and accrued expenses - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Capitalization - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/CapitalizationNarrativeDetails</Role>
      <ShortName>Capitalization - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Capitalization - Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/CapitalizationWarrantsDetails</Role>
      <ShortName>Capitalization - Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2408402 - 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>58</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2408403 - 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>59</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Stock award plan - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StockAwardPlanNarrativeDetails</Role>
      <ShortName>Stock award plan - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2409403 - 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>61</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2409404 - 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>62</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Stock award plan - Share-based compensation expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StockAwardPlanShareBasedCompensationExpenseDetails</Role>
      <ShortName>Stock award plan - Share-based compensation expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Debt - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DebtNarrativeDetails</Role>
      <ShortName>Debt - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2411403 - Disclosure - Debt - Convertible Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ptcbio.com/role/DebtConvertibleNotesDetails</Role>
      <ShortName>Debt - Convertible Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2411404 - Disclosure - Debt - Interest Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DebtInterestExpenseDetails</Role>
      <ShortName>Debt - Interest Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2412401 - Disclosure - Commitments and contingencies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/CommitmentsAndContingenciesNarrativeDetails</Role>
      <ShortName>Commitments and contingencies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Revenue recognition - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/RevenueRecognitionNarrativeDetails</Role>
      <ShortName>Revenue recognition - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2413403 - Disclosure - Revenue recognition - Contract Liabilities, Rollforward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/RevenueRecognitionContractLiabilitiesRollforwardDetails</Role>
      <ShortName>Revenue recognition - Contract Liabilities, Rollforward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2413404 - Disclosure - Revenue recognition - Recognized revenue in the period (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/RevenueRecognitionRecognizedRevenueInPeriodDetails</Role>
      <ShortName>Revenue recognition - Recognized revenue in the period (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2413405 - Disclosure - Revenue recognition - Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/RevenueRecognitionPerformanceObligationsDetails</Role>
      <ShortName>Revenue recognition - Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Intangible assets and goodwill - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/IntangibleAssetsAndGoodwillNarrativeDetails</Role>
      <ShortName>Intangible assets and goodwill - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2415403 - Disclosure - Intangible assets and goodwill - Future Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/IntangibleAssetsAndGoodwillFutureAmortizationDetails</Role>
      <ShortName>Intangible assets and goodwill - Future Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2416401 - Disclosure - Subsequent events - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/SubsequentEventsNarrativeDetails</Role>
      <ShortName>Subsequent events - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="ptct0930201910-q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - ptct0930201910-q.htm</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - ptct0930201910-q.htm</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="ptct0930201910-q.htm">ptct0930201910-q.htm</File>
    <File>amendmentno2tomidcapcr.htm</File>
    <File>amendmentno3tomidcapcr.htm</File>
    <File>amendmentno4tomidcapcr.htm</File>
    <File>amendmentno5tomidcapcr.htm</File>
    <File>bmslease.htm</File>
    <File>hsbcletterofcredit.htm</File>
    <File>ptct-20190930.xsd</File>
    <File>ptct-20190930_cal.xml</File>
    <File>ptct-20190930_def.xml</File>
    <File>ptct-20190930_lab.xml</File>
    <File>ptct-20190930_pre.xml</File>
    <File>ptct09302019ex-311.htm</File>
    <File>ptct09302019ex-312.htm</File>
    <File>ptct09302019ex-321.htm</File>
    <File>ptct09302019ex-322.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
