<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.3.1.900</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>223</ContextCount>
  <ElementCount>355</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>68</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="ptct-20151231.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.ptcbio.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StatementConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - Consolidated Statements of Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StatementConsolidatedStatementsOfComprehensiveLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - Consolidated Statements of Convertible Preferred Stock and Changes in Stockholders' Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StatementConsolidatedStatementsOfConvertiblePreferredStockAndChangesInStockholdersEquityDeficit</Role>
      <ShortName>Consolidated Statements of Convertible Preferred Stock and Changes in Stockholders' Equity (Deficit)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00500 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10101 - Disclosure - The Company</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCompany</Role>
      <ShortName>The Company</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Summary of significant accounting policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of significant accounting policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Fair value of financial instruments and investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureFairValueOfFinancialInstrumentsAndInvestments</Role>
      <ShortName>Fair value of financial instruments and investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Fixed assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureFixedAssets</Role>
      <ShortName>Fixed assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Accounts payable and accrued expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureAccountsPayableAndAccruedExpenses</Role>
      <ShortName>Accounts payable and accrued expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Long-term debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureLongTermDebt</Role>
      <ShortName>Long-term debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Capital structure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCapitalStructure</Role>
      <ShortName>Capital structure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Earnings per share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureEarningsPerShare</Role>
      <ShortName>Earnings per share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Stock award plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureStockAwardPlan</Role>
      <ShortName>Stock award plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Other comprehensive income (loss) and accumulated other comprehensive items</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureOtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItems</Role>
      <ShortName>Other comprehensive income (loss) and accumulated other comprehensive items</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Collaborations and grants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCollaborationsAndGrants</Role>
      <ShortName>Collaborations and grants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Income taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Commitments and contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11401 - Disclosure - Geographic information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureGeographicInformation</Role>
      <ShortName>Geographic information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11501 - Disclosure - 401(k) plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/Disclosure401KPlan</Role>
      <ShortName>401(k) plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11601 - Disclosure - Subsequent events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>11701 - Disclosure - Selected quarterly financial data (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureSelectedQuarterlyFinancialDataUnaudited</Role>
      <ShortName>Selected quarterly financial data (Unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>20202 - Disclosure - Summary of significant accounting policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of significant accounting policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Summary of significant accounting policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of significant accounting policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Fair value of financial instruments and investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureFairValueOfFinancialInstrumentsAndInvestmentsTables</Role>
      <ShortName>Fair value of financial instruments and investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureFairValueOfFinancialInstrumentsAndInvestments</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Fixed assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureFixedAssetsTables</Role>
      <ShortName>Fixed assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureFixedAssets</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Accounts payable and accrued expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureAccountsPayableAndAccruedExpensesTables</Role>
      <ShortName>Accounts payable and accrued expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureAccountsPayableAndAccruedExpenses</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Long-term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureLongTermDebtTables</Role>
      <ShortName>Long-term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Capital structure (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCapitalStructureTables</Role>
      <ShortName>Capital structure (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureCapitalStructure</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Earnings per share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings per share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureEarningsPerShare</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Stock award plan (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureStockAwardPlanTables</Role>
      <ShortName>Stock award plan (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureStockAwardPlan</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>31003 - Disclosure - Other comprehensive income (loss) and accumulated other comprehensive items (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureOtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItemsTables</Role>
      <ShortName>Other comprehensive income (loss) and accumulated other comprehensive items (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureOtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItems</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>31203 - Disclosure - Income taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>31303 - Disclosure - Commitments and contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>31403 - Disclosure - Geographic information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureGeographicInformationTables</Role>
      <ShortName>Geographic information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureGeographicInformation</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>31703 - Disclosure - Selected quarterly financial data (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureSelectedQuarterlyFinancialDataTables</Role>
      <ShortName>Selected quarterly financial data (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureSelectedQuarterlyFinancialDataUnaudited</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40101 - Disclosure - The Company (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCompanyDetail</Role>
      <ShortName>The Company (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureCompany</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Summary of significant accounting policies (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetail</Role>
      <ShortName>Summary of significant accounting policies (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Summary of significant accounting policies (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails2</Role>
      <ShortName>Summary of significant accounting policies (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Fair value of financial instruments and marketable securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureFairValueOfFinancialInstrumentsAndMarketableSecuritiesDetails</Role>
      <ShortName>Fair value of financial instruments and marketable securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40302 - Disclosure - Fair value of financial instruments and marketable securities (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureFairValueOfFinancialInstrumentsAndMarketableSecuritiesDetails2</Role>
      <ShortName>Fair value of financial instruments and marketable securities (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40303 - Disclosure - Fair value of financial instruments and marketable securities (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureFairValueOfFinancialInstrumentsAndMarketableSecuritiesDetails3</Role>
      <ShortName>Fair value of financial instruments and marketable securities (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40304 - Disclosure - Fair value of financial instruments and marketable securities (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureFairValueOfFinancialInstrumentsAndMarketableSecuritiesDetails4</Role>
      <ShortName>Fair value of financial instruments and marketable securities (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Fixed assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureFixedAssetsDetails</Role>
      <ShortName>Fixed assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureFixedAssetsTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Accounts payable and accrued expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureAccountsPayableAndAccruedExpensesDetails</Role>
      <ShortName>Accounts payable and accrued expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureAccountsPayableAndAccruedExpensesTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Long-term debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureLongTermDebtDetails</Role>
      <ShortName>Long-term debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureLongTermDebt</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40602 - Disclosure - Long-term debt, 2015 Convertible Notes (Details 2)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureLongTermDebt2015ConvertibleNotesDetails2</Role>
      <ShortName>Long-term debt, 2015 Convertible Notes (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Capital structure (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCapitalStructureDetails</Role>
      <ShortName>Capital structure (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureCapitalStructureTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>40702 - Disclosure - Capital structure (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCapitalStructureDetails2</Role>
      <ShortName>Capital structure (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureCapitalStructureTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40703 - Disclosure - Capital structure (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCapitalStructureDetails3</Role>
      <ShortName>Capital structure (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureCapitalStructureTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Earnings per share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureEarningsPerShareDetails</Role>
      <ShortName>Earnings per share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureEarningsPerShareTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Stock award plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureStockAwardPlanDetails</Role>
      <ShortName>Stock award plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureStockAwardPlanTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Stock option plan (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureStockOptionPlanDetails2</Role>
      <ShortName>Stock option plan (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40903 - Disclosure - Stock award plan (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureStockAwardPlanDetails3</Role>
      <ShortName>Stock award plan (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureStockAwardPlanTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Other comprehensive income (loss) and accumulated other comprehensive items (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureOtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItemsDetails</Role>
      <ShortName>Other comprehensive income (loss) and accumulated other comprehensive items (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureOtherComprehensiveIncomeLossAndAccumulatedOtherComprehensiveItemsTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Collaborations and grants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCollaborationsAndGrantsDetails</Role>
      <ShortName>Collaborations and grants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureCollaborationsAndGrants</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Income taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>41202 - Disclosure - Income taxes (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureIncomeTaxesDetails2</Role>
      <ShortName>Income taxes (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>41203 - Disclosure - Income taxes (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureIncomeTaxesDetails3</Role>
      <ShortName>Income taxes (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>41204 - Disclosure - Income taxes (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureIncomeTaxesDetails4</Role>
      <ShortName>Income taxes (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Commitments and contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureCommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureCommitmentsAndContingenciesTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>41401 - Disclosure - Geographic information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureGeographicInformationDetails</Role>
      <ShortName>Geographic information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureGeographicInformationTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>41501 - Disclosure - 401(k) plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/Disclosure401KPlanDetails</Role>
      <ShortName>401(k) plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/Disclosure401KPlan</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="ptct-20151231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>41701 - Disclosure - Selected quarterly financial data (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ptcbio.com/role/DisclosureSelectedQuarterlyFinancialDataDetails</Role>
      <ShortName>Selected quarterly financial data (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ptcbio.com/role/DisclosureSelectedQuarterlyFinancialDataTables</ParentRole>
      <Position>66</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-20151231.xml</File>
    <File>ptct-20151231.xsd</File>
    <File>ptct-20151231_cal.xml</File>
    <File>ptct-20151231_def.xml</File>
    <File>ptct-20151231_lab.xml</File>
    <File>ptct-20151231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
