<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.4.0.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>556</ContextCount>
  <ElementCount>567</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>151</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>1001 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DocumentandEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1003 - Statement - Consolidated Balance Sheets (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/StatementOfFinancialPositionUnclassified-SecuritiesBasedOperations</Role>
      <ShortName>Consolidated Balance Sheets (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1004 - Statement - Consolidated Balance Sheets (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/StatementOfFinancialPositionUnclassified-SecuritiesBasedOperationsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1005 - Statement - Consolidated Statements of Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/StatementOfIncome</Role>
      <ShortName>Consolidated Statements of Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1006 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/StatementOfShareholdersEquityAndOtherComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1007 - Statement - Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/StatementOfShareholdersEquityAndOtherComprehensiveIncomeParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Shareholders' Equity (Unaudited) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1008 - Statement - Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/StatementOfCashFlowsIndirectDepositBasedOperations</Role>
      <ShortName>Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1009 - Disclosure - Organization and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock</Role>
      <ShortName>Organization and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1010 - Disclosure - Concentration of Risks</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsConcentrationRiskDisclosureTextBlock</Role>
      <ShortName>Concentration of Risks</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>1011 - Disclosure - Transactions with Related Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRelatedPartyTransactionsDisclosureTextBlock</Role>
      <ShortName>Transactions with Related Parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>1012 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsEarningsPerShareTextBlock</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>1013 - Disclosure - Loan Sales and Variable Interest Entities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsVariableInterestEntityDisclosureTextBlock</Role>
      <ShortName>Loan Sales and Variable Interest Entities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>1014 - Disclosure - Netting of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsOffsettingAssetsAndLiabilitiesTextBlock</Role>
      <ShortName>Netting of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>1015 - Disclosure - Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsFairValueDisclosuresTextBlock</Role>
      <ShortName>Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>1016 - Disclosure - Mortgage Loans Acquired for Sale at Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageLoansOnRealEstateByLoanDisclosureTextBlock</Role>
      <ShortName>Mortgage Loans Acquired for Sale at Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>1017 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsDerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>1018 - Disclosure - Mortgage Loans at Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageLoansAtFairValueDisclosureTextBlock</Role>
      <ShortName>Mortgage Loans at Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>1019 - Disclosure - Real Estate Acquired in Settlement of Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRealEstateOwnedTextBlock</Role>
      <ShortName>Real Estate Acquired in Settlement of Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>1020 - Disclosure - Mortgage Servicing Rights</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageServicingRightsDisclosureTextBlock</Role>
      <ShortName>Mortgage Servicing Rights</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>1021 - Disclosure - Assets Sold Under Agreements to Repurchase</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock</Role>
      <ShortName>Assets Sold Under Agreements to Repurchase</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>1022 - Disclosure - Mortgage Loan Participation and Sale Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageLoanParticipationAndSaleAgreementTextBlock</Role>
      <ShortName>Mortgage Loan Participation and Sale Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>1023 - Disclosure - Federal Home Loan Bank Advances</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsFederalHomeLoanBankAdvancesDisclosureTextBlock</Role>
      <ShortName>Federal Home Loan Bank Advances</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>1024 - Disclosure - Notes Payable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsNotePayableOfMortgageServicingRightsDisclosureTextBlock</Role>
      <ShortName>Notes Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>1025 - Disclosure - Asset-Backed Financing of a Variable Interest Entity at Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsAssetBackedSecuredFinancingTextBlock</Role>
      <ShortName>Asset-Backed Financing of a Variable Interest Entity at Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>1026 - Disclosure - Exchangeable Senior Notes</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsConvertibleDebtTextBlock</Role>
      <ShortName>Exchangeable Senior Notes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>1027 - Disclosure - Liability for Losses Under Representations and Warranties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsLiabilityForRepresentationsAndWarrantiesDisclosureTextBlock</Role>
      <ShortName>Liability for Losses Under Representations and Warranties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>1028 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>1029 - Disclosure - Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock</Role>
      <ShortName>Shareholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>1030 - Disclosure - Net Interest Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsInterestIncomeAndInterestExpenseDisclosureTextBlock</Role>
      <ShortName>Net Interest Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>1031 - Disclosure - Net Gain on Mortgage Loans Acquired for Sale</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsNetGainOnMortgageLoansAcquiredForSaleDisclosureTextBlock</Role>
      <ShortName>Net Gain on Mortgage Loans Acquired for Sale</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>1032 - Disclosure - Net (Loss) Gain on Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsInvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock</Role>
      <ShortName>Net (Loss) Gain on Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>1033 - Disclosure - Net Loan Servicing Fees</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsNetLoanServicingFeesDisclosureTextBlock</Role>
      <ShortName>Net Loan Servicing Fees</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>1034 - Disclosure - Share-Based Compensation Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock</Role>
      <ShortName>Share-Based Compensation Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>1035 - Disclosure - Other Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsOtherIncomeAndOtherExpenseDisclosureTextBlock</Role>
      <ShortName>Other Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>1036 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>1037 - Disclosure - Segments and Related Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsSegmentReportingDisclosureTextBlock</Role>
      <ShortName>Segments and Related Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>1038 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsCashFlowSupplementalDisclosuresTextBlock</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>1039 - Disclosure - Regulatory Capital and Liquidity Requirements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock</Role>
      <ShortName>Regulatory Capital and Liquidity Requirements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>1040 - Disclosure - Recently Issued Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted</Role>
      <ShortName>Recently Issued Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>1041 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsSubsequentEventsTextBlock</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>1042 - Disclosure - Organization and Basis of Presentation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsOrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlockPolicies</Role>
      <ShortName>Organization and Basis of Presentation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsDescriptionOfNewAccountingPronouncementsNotYetAdopted</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>1043 - Disclosure - Concentration of Risks (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsConcentrationRiskDisclosureTextBlockTables</Role>
      <ShortName>Concentration of Risks (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsConcentrationRiskDisclosureTextBlock</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>1044 - Disclosure - Transactions with Related Parties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRelatedPartyTransactionsDisclosureTextBlockTables</Role>
      <ShortName>Transactions with Related Parties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRelatedPartyTransactionsDisclosureTextBlock</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>1045 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsEarningsPerShareTextBlockTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsEarningsPerShareTextBlock</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>1046 - Disclosure - Loan Sales and Variable Interest Entities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsVariableInterestEntityDisclosureTextBlockTables</Role>
      <ShortName>Loan Sales and Variable Interest Entities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsVariableInterestEntityDisclosureTextBlock</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>1047 - Disclosure - Netting of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsOffsettingAssetsAndLiabilitiesTextBlockTables</Role>
      <ShortName>Netting of Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsOffsettingAssetsAndLiabilitiesTextBlock</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>1048 - Disclosure - Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsFairValueDisclosuresTextBlockTables</Role>
      <ShortName>Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsFairValueDisclosuresTextBlock</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>1049 - Disclosure - Mortgage Loans Acquired for Sale at Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageLoansOnRealEstateByLoanDisclosureTextBlockTables</Role>
      <ShortName>Mortgage Loans Acquired for Sale at Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageLoansOnRealEstateByLoanDisclosureTextBlock</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>1050 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsDerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlockTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsDerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>1051 - Disclosure - Mortgage Loans at Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageLoansAtFairValueDisclosureTextBlockTables</Role>
      <ShortName>Mortgage Loans at Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageLoansAtFairValueDisclosureTextBlock</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>1052 - Disclosure - Real Estate Acquired in Settlement of Loans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRealEstateOwnedTextBlockTables</Role>
      <ShortName>Real Estate Acquired in Settlement of Loans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRealEstateOwnedTextBlock</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>1053 - Disclosure - Mortgage Servicing Rights (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageServicingRightsDisclosureTextBlockTables</Role>
      <ShortName>Mortgage Servicing Rights (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageServicingRightsDisclosureTextBlock</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>1054 - Disclosure - Assets Sold Under Agreements to Repurchase (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlockTables</Role>
      <ShortName>Assets Sold Under Agreements to Repurchase (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRepurchaseAgreementsResaleAgreementsSecuritiesBorrowedAndSecuritiesLoanedDisclosureTextBlock</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>1055 - Disclosure - Mortgage Loan Participation and Sale Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageLoanParticipationAndSaleAgreementTextBlockTables</Role>
      <ShortName>Mortgage Loan Participation and Sale Agreements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsMortgageLoanParticipationAndSaleAgreementTextBlock</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>1056 - Disclosure - Federal Home Loan Bank Advances (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsFederalHomeLoanBankAdvancesDisclosureTextBlockTables</Role>
      <ShortName>Federal Home Loan Bank Advances (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsFederalHomeLoanBankAdvancesDisclosureTextBlock</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>1057 - Disclosure - Notes Payable (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsNotePayableOfMortgageServicingRightsDisclosureTextBlockTables</Role>
      <ShortName>Notes Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsNotePayableOfMortgageServicingRightsDisclosureTextBlock</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>1058 - Disclosure - Asset-Backed Financing of a Variable Interest Entity at Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsAssetBackedSecuredFinancingTextBlockTables</Role>
      <ShortName>Asset-Backed Financing of a Variable Interest Entity at Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsAssetBackedSecuredFinancingTextBlock</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>1059 - Disclosure - Exchangeable Senior Notes (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsConvertibleDebtTextBlockTables</Role>
      <ShortName>Exchangeable Senior Notes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsConvertibleDebtTextBlock</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>1060 - Disclosure - Liability for Losses Under Representations and Warranties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsLiabilityForRepresentationsAndWarrantiesDisclosureTextBlockTables</Role>
      <ShortName>Liability for Losses Under Representations and Warranties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsLiabilityForRepresentationsAndWarrantiesDisclosureTextBlock</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>1061 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>1062 - Disclosure - Net Interest Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsInterestIncomeAndInterestExpenseDisclosureTextBlockTables</Role>
      <ShortName>Net Interest Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsInterestIncomeAndInterestExpenseDisclosureTextBlock</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>1063 - Disclosure - Net Gain on Mortgage Loans Acquired for Sale (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsNetGainOnMortgageLoansAcquiredForSaleDisclosureTextBlockTables</Role>
      <ShortName>Net Gain on Mortgage Loans Acquired for Sale (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsNetGainOnMortgageLoansAcquiredForSaleDisclosureTextBlock</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>1064 - Disclosure - Net (Loss) Gain on Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsInvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlockTables</Role>
      <ShortName>Net (Loss) Gain on Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsOffsettingAssetsAndLiabilitiesTextBlock</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>1065 - Disclosure - Net Loan Servicing Fees (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsNetLoanServicingFeesDisclosureTextBlockTables</Role>
      <ShortName>Net Loan Servicing Fees (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsNetLoanServicingFeesDisclosureTextBlock</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>1066 - Disclosure - Other Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsOtherIncomeAndOtherExpenseDisclosureTextBlockTables</Role>
      <ShortName>Other Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsOtherIncomeAndOtherExpenseDisclosureTextBlock</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>1067 - Disclosure - Segments and Related Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsSegmentReportingDisclosureTextBlockTables</Role>
      <ShortName>Segments and Related Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsSegmentReportingDisclosureTextBlock</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>1068 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsCashFlowSupplementalDisclosuresTextBlockTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsCashFlowSupplementalDisclosuresTextBlock</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>1069 - Disclosure - Regulatory Capital and Liquidity Requirements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlockTables</Role>
      <ShortName>Regulatory Capital and Liquidity Requirements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsRegulatoryCapitalRequirementsForMortgageCompaniesDisclosureTextBlock</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>1070 - Disclosure - Organization and Basis of Presentation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureOrganizationAndBasisOfPresentationAdditionalInformation</Role>
      <ShortName>Organization and Basis of Presentation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>1071 - Disclosure - Concentration of Risks - Summary of Holdings of Assets Purchased (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureConcentrationOfRisksSummaryOfHoldingsOfAssetsPurchased</Role>
      <ShortName>Concentration of Risks - Summary of Holdings of Assets Purchased (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>1072 - Disclosure - Transactions with Related Parties - Summary of Correspondent Production Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfCorrespondentProductionActivity</Role>
      <ShortName>Transactions with Related Parties - Summary of Correspondent Production Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>1073 - Disclosure - Transactions with Related Parties - Summary of Mortgage Loan Servicing Fees Earned and Mortgage Servicing Rights Recaptured Income Earned (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfMortgageLoanServicingFeesEarnedAndMortgageServicingRightsRecapturedIncomeEarned</Role>
      <ShortName>Transactions with Related Parties - Summary of Mortgage Loan Servicing Fees Earned and Mortgage Servicing Rights Recaptured Income Earned (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>1074 - Disclosure - Transactions with Related Parties - Summary of Base Management and Performance Incentive Fees Payable (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfBaseManagementAndPerformanceIncentiveFeesPayable</Role>
      <ShortName>Transactions with Related Parties - Summary of Base Management and Performance Incentive Fees Payable (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>1075 - Disclosure - Transactions with Related Parties - Summary of Expenses (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfExpenses</Role>
      <ShortName>Transactions with Related Parties - Summary of Expenses (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>1076 - Disclosure - Transactions with Related Parties - Summary of Expenses (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfExpensesParenthetical</Role>
      <ShortName>Transactions with Related Parties - Summary of Expenses (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>1077 - Disclosure - Transactions with Related Parties - Summary of Amounts Receivable and Payable to PFSI (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfAmountsReceivableAndPayableToPFSI</Role>
      <ShortName>Transactions with Related Parties - Summary of Amounts Receivable and Payable to PFSI (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>1078 - Disclosure - Transactions with Related Parties - Note Payable to PLS - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureTransactionsWithRelatedPartiesNotePayableToPLSAdditionalInformation</Role>
      <ShortName>Transactions with Related Parties - Note Payable to PLS - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>1079 - Disclosure - Transactions with Related Parties - Summary of Investing Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfInvestingActivity</Role>
      <ShortName>Transactions with Related Parties - Summary of Investing Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>1080 - Disclosure - Transactions with Related Parties - Summary of Financing Activities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureTransactionsWithRelatedPartiesSummaryOfFinancingActivities</Role>
      <ShortName>Transactions with Related Parties - Summary of Financing Activities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>1081 - Disclosure - Earnings Per Share - Summary of Basic and Diluted Earnings per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureEarningsPerShareSummaryOfBasicAndDilutedEarningsPerShare</Role>
      <ShortName>Earnings Per Share - Summary of Basic and Diluted Earnings per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>1082 - Disclosure - Earnings Per Share - Summary of Common Shares Excluded from Computation of Diluted Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureEarningsPerShareSummaryOfCommonSharesExcludedFromComputationOfDilutedEarningsPerShare</Role>
      <ShortName>Earnings Per Share - Summary of Common Shares Excluded from Computation of Diluted Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>1083 - Disclosure - Loan Sales and Variable Interest Entities - Summary of Cash Flows between Company and Transferees in Transfers Accounted for Sales (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureLoanSalesAndVariableInterestEntitiesSummaryOfCashFlowsBetweenCompanyAndTransfereesInTransfersAccountedForSales</Role>
      <ShortName>Loan Sales and Variable Interest Entities - Summary of Cash Flows between Company and Transferees in Transfers Accounted for Sales (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>1084 - Disclosure - Loan Sales and Variable Interest Entities - Summary of Credit Risk Transfer Agreements (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureLoanSalesAndVariableInterestEntitiesSummaryOfCreditRiskTransferAgreements</Role>
      <ShortName>Loan Sales and Variable Interest Entities - Summary of Credit Risk Transfer Agreements (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>1085 - Disclosure - Loan Sales and Variable Interest Entities - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureLoanSalesAndVariableInterestEntitiesAdditionalInformation</Role>
      <ShortName>Loan Sales and Variable Interest Entities - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>1086 - Disclosure - Netting of Financial Instruments - Summary of Offsetting of Derivative Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureNettingOfFinancialInstrumentsSummaryOfOffsettingOfDerivativeAssets</Role>
      <ShortName>Netting of Financial Instruments - Summary of Offsetting of Derivative Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>1087 - Disclosure - Netting of Financial Instruments - Summary of Derivative Assets and Collateral Held by Counterparty (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureNettingOfFinancialInstrumentsSummaryOfDerivativeAssetsAndCollateralHeldByCounterparty</Role>
      <ShortName>Netting of Financial Instruments - Summary of Derivative Assets and Collateral Held by Counterparty (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>1088 - Disclosure - Netting of Financial Instruments - Schedule of Offsetting of Derivative Liabilities and Financial Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureNettingOfFinancialInstrumentsScheduleOfOffsettingOfDerivativeLiabilitiesAndFinancialLiabilities</Role>
      <ShortName>Netting of Financial Instruments - Schedule of Offsetting of Derivative Liabilities and Financial Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>1089 - Disclosure - Netting of Financial Instruments - Summary of Derivative Liabilities, Financial Liabilities and Collateral Pledged by Counterparty (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureNettingOfFinancialInstrumentsSummaryOfDerivativeLiabilitiesFinancialLiabilitiesAndCollateralPledgedByCounterparty</Role>
      <ShortName>Netting of Financial Instruments - Summary of Derivative Liabilities, Financial Liabilities and Collateral Pledged by Counterparty (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>1090 - Disclosure - Fair Value - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueAdditionalInformation</Role>
      <ShortName>Fair Value - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>1091 - Disclosure - Fair Value - Summary of Financial Statement Items Measured at Fair Value on Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueSummaryOfFinancialStatementItemsMeasuredAtFairValueOnRecurringBasis</Role>
      <ShortName>Fair Value - Summary of Financial Statement Items Measured at Fair Value on Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>1092 - Disclosure - Fair Value - Summary of Changes in Items Measured Using Level 3 Inputs on Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueSummaryOfChangesInItemsMeasuredUsingLevel3InputsOnRecurringBasis</Role>
      <ShortName>Fair Value - Summary of Changes in Items Measured Using Level 3 Inputs on Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>1093 - Disclosure - Fair Value - Fair Values and Related Principal Amounts Due upon Maturity of Mortgage Loans Accounted for Under Fair Value Option (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueFairValuesAndRelatedPrincipalAmountsDueUponMaturityOfMortgageLoansAccountedForUnderFairValueOption</Role>
      <ShortName>Fair Value - Fair Values and Related Principal Amounts Due upon Maturity of Mortgage Loans Accounted for Under Fair Value Option (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>1094 - Disclosure - Fair Value - Summary of Changes in Fair Value Included in Current Period Income (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueIncludedInCurrentPeriodIncome</Role>
      <ShortName>Fair Value - Summary of Changes in Fair Value Included in Current Period Income (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>1095 - Disclosure - Fair Value - Summary of Financial Statement Items Re-measured at Fair Value on Nonrecurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueSummaryOfFinancialStatementItemsRemeasuredAtFairValueOnNonrecurringBasis</Role>
      <ShortName>Fair Value - Summary of Financial Statement Items Re-measured at Fair Value on Nonrecurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>1096 - Disclosure - Fair Value - Summary of Changes in Fair Value Recognized in Assets that Measured at Fair Value on a Nonrecurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueSummaryOfChangesInFairValueRecognizedInAssetsThatMeasuredAtFairValueOnANonrecurringBasis</Role>
      <ShortName>Fair Value - Summary of Changes in Fair Value Recognized in Assets that Measured at Fair Value on a Nonrecurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>1097 - Disclosure - Fair Value - Quantitative Summary of Key Inputs Used in Valuation of Mortgage Loans at Fair Value (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueQuantitativeSummaryOfKeyInputsUsedInValuationOfMortgageLoansAtFairValue</Role>
      <ShortName>Fair Value - Quantitative Summary of Key Inputs Used in Valuation of Mortgage Loans at Fair Value (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>1098 - Disclosure - Fair Value - Summary of Key Inputs Used in Determining Fair Value of ESS (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueSummaryOfKeyInputsUsedInDeterminingFairValueOfESS</Role>
      <ShortName>Fair Value - Summary of Key Inputs Used in Determining Fair Value of ESS (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>1099 - Disclosure - Fair Value - Quantitative Summary of Key Unobservable Inputs Used in Valuation of Interest Rate Lock Commitments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueQuantitativeSummaryOfKeyUnobservableInputsUsedInValuationOfInterestRateLockCommitments</Role>
      <ShortName>Fair Value - Quantitative Summary of Key Unobservable Inputs Used in Valuation of Interest Rate Lock Commitments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>1100 - Disclosure - Fair Value - Key Assumptions Used in Determining Fair Value of MSRs at Time of Initial Recognition (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueKeyAssumptionsUsedInDeterminingFairValueOfMSRsAtTimeOfInitialRecognition</Role>
      <ShortName>Fair Value - Key Assumptions Used in Determining Fair Value of MSRs at Time of Initial Recognition (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>1101 - Disclosure - Fair Value - Quantitative Summary of Key Assumptions Used in Valuation of MSRs as of Dates Presented, and Effect on Estimated Fair Value from Adverse Changes in Those Inputs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFairValueQuantitativeSummaryOfKeyAssumptionsUsedInValuationOfMSRsAsOfDatesPresentedAndEffectOnEstimatedFairValueFromAdverseChangesInThoseInputs</Role>
      <ShortName>Fair Value - Quantitative Summary of Key Assumptions Used in Valuation of MSRs as of Dates Presented, and Effect on Estimated Fair Value from Adverse Changes in Those Inputs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>1102 - Disclosure - Mortgage Loans Acquired for Sale at Fair Value - Summary of Distribution of Company's Mortgage Loans Acquired for Sale at Fair Value (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureMortgageLoansAcquiredForSaleAtFairValueSummaryOfDistributionOfCompanysMortgageLoansAcquiredForSaleAtFairValue</Role>
      <ShortName>Mortgage Loans Acquired for Sale at Fair Value - Summary of Distribution of Company's Mortgage Loans Acquired for Sale at Fair Value (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>1103 - Disclosure - Mortgage Loans Acquired for Sale at Fair Value - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureMortgageLoansAcquiredForSaleAtFairValueAdditionalInformation</Role>
      <ShortName>Mortgage Loans Acquired for Sale at Fair Value - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>1104 - Disclosure - Derivative Financial Instruments - Derivative Assets and Liabilities and Related Margin Deposits Recorded within Derivative Assets and Derivative Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureDerivativeFinancialInstrumentsDerivativeAssetsAndLiabilitiesAndRelatedMarginDepositsRecordedWithinDerivativeAssetsAndDerivativeLiabilities</Role>
      <ShortName>Derivative Financial Instruments - Derivative Assets and Liabilities and Related Margin Deposits Recorded within Derivative Assets and Derivative Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>1105 - Disclosure - Derivative Financial Instruments - Summary of Activity in Notional Amount for Derivative Arising from CRT Agreements and Derivative Contracts (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureDerivativeFinancialInstrumentsSummaryOfActivityInNotionalAmountForDerivativeArisingFromCRTAgreementsAndDerivativeContracts</Role>
      <ShortName>Derivative Financial Instruments - Summary of Activity in Notional Amount for Derivative Arising from CRT Agreements and Derivative Contracts (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>1106 - Disclosure - Derivative Financial Instruments - Net Gains (Losses) Recognized on Derivative Financial Instruments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureDerivativeFinancialInstrumentsNetGainsLossesRecognizedOnDerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments - Net Gains (Losses) Recognized on Derivative Financial Instruments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>1107 - Disclosure - Mortgage Loans at Fair Value - Summary of Distribution of Company's Mortgage Loans at Fair Value (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureMortgageLoansAtFairValueSummaryOfDistributionOfCompanysMortgageLoansAtFairValue</Role>
      <ShortName>Mortgage Loans at Fair Value - Summary of Distribution of Company's Mortgage Loans at Fair Value (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>1108 - Disclosure - Mortgage Loans at Fair Value - Summary of Certain Concentrations of Credit Risk in Portfolio of Distressed Mortgage Loans at Fair Value (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureMortgageLoansAtFairValueSummaryOfCertainConcentrationsOfCreditRiskInPortfolioOfDistressedMortgageLoansAtFairValue</Role>
      <ShortName>Mortgage Loans at Fair Value - Summary of Certain Concentrations of Credit Risk in Portfolio of Distressed Mortgage Loans at Fair Value (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>1109 - Disclosure - Mortgage Loans at Fair Value - Summary of Certain Concentrations of Credit Risk in Portfolio of Distressed Mortgage Loans at Fair Value (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureMortgageLoansAtFairValueSummaryOfCertainConcentrationsOfCreditRiskInPortfolioOfDistressedMortgageLoansAtFairValueParenthetical</Role>
      <ShortName>Mortgage Loans at Fair Value - Summary of Certain Concentrations of Credit Risk in Portfolio of Distressed Mortgage Loans at Fair Value (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>1110 - Disclosure - Real Estate Acquired in Settlement of Loans - Summary of Financial Information Relating to REO (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureRealEstateAcquiredInSettlementOfLoansSummaryOfFinancialInformationRelatingToREO</Role>
      <ShortName>Real Estate Acquired in Settlement of Loans - Summary of Financial Information Relating to REO (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>1111 - Disclosure - Mortgage Servicing Rights - Summary of MSRs Carried at Fair Value (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureMortgageServicingRightsSummaryOfMSRsCarriedAtFairValue</Role>
      <ShortName>Mortgage Servicing Rights - Summary of MSRs Carried at Fair Value (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>1112 - Disclosure - Mortgage Servicing Rights - Summary of MSRs Carried at Lower of Amortized Cost or Fair Value (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureMortgageServicingRightsSummaryOfMSRsCarriedAtLowerOfAmortizedCostOrFairValue</Role>
      <ShortName>Mortgage Servicing Rights - Summary of MSRs Carried at Lower of Amortized Cost or Fair Value (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>1113 - Disclosure - Mortgage Servicing Rights - Summary of Company's Estimate of Future Amortization of Existing MSRs Carried at Amortized Cost (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureMortgageServicingRightsSummaryOfCompanysEstimateOfFutureAmortizationOfExistingMSRsCarriedAtAmortizedCost</Role>
      <ShortName>Mortgage Servicing Rights - Summary of Company's Estimate of Future Amortization of Existing MSRs Carried at Amortized Cost (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>1114 - Disclosure - Mortgage Servicing Rights - Summary of Net Mortgage Loan Servicing Fees Relating to MSRs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureMortgageServicingRightsSummaryOfNetMortgageLoanServicingFeesRelatingToMSRs</Role>
      <ShortName>Mortgage Servicing Rights - Summary of Net Mortgage Loan Servicing Fees Relating to MSRs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>1115 - Disclosure - Assets Sold Under Agreements to Repurchase - Summary of Financial Information Relating to Assets Sold under Agreements to Repurchase (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchase</Role>
      <ShortName>Assets Sold Under Agreements to Repurchase - Summary of Financial Information Relating to Assets Sold under Agreements to Repurchase (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>1116 - Disclosure - Assets Sold Under Agreements to Repurchase - Summary of Financial Information Relating to Assets Sold under Agreements to Repurchase (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfFinancialInformationRelatingToAssetsSoldUnderAgreementsToRepurchaseParenthetical</Role>
      <ShortName>Assets Sold Under Agreements to Repurchase - Summary of Financial Information Relating to Assets Sold under Agreements to Repurchase (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>115</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>1117 - Disclosure - Assets Sold Under Agreements to Repurchase - Summary of Maturities of Outstanding Assets Sold under Agreements to Repurchase by Facility Maturity Date (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfMaturitiesOfOutstandingAssetsSoldUnderAgreementsToRepurchaseByFacilityMaturityDate</Role>
      <ShortName>Assets Sold Under Agreements to Repurchase - Summary of Maturities of Outstanding Assets Sold under Agreements to Repurchase by Facility Maturity Date (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>1118 - Disclosure - Assets Sold Under Agreements to Repurchase - Summary of Assets Sold under Agreements to Repurchase by Counterparty (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseSummaryOfAssetsSoldUnderAgreementsToRepurchaseByCounterparty</Role>
      <ShortName>Assets Sold Under Agreements to Repurchase - Summary of Assets Sold under Agreements to Repurchase by Counterparty (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>117</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>1119 - Disclosure - Assets Sold Under Agreements to Repurchase - Covenant Compliance (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureAssetsSoldUnderAgreementsToRepurchaseCovenantCompliance</Role>
      <ShortName>Assets Sold Under Agreements to Repurchase - Covenant Compliance (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>118</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>1120 - Disclosure - Mortgage Loan Participation and Sale Agreements - Summary of Mortgage Loan Participation and Sale Agreements (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureMortgageLoanParticipationAndSaleAgreementsSummaryOfMortgageLoanParticipationAndSaleAgreements</Role>
      <ShortName>Mortgage Loan Participation and Sale Agreements - Summary of Mortgage Loan Participation and Sale Agreements (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>119</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>1121 - Disclosure - Mortgage Loan Participation and Sale Agreements - Summary of Mortgage Loan Participation and Sale Agreements (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureMortgageLoanParticipationAndSaleAgreementsSummaryOfMortgageLoanParticipationAndSaleAgreementsParenthetical</Role>
      <ShortName>Mortgage Loan Participation and Sale Agreements - Summary of Mortgage Loan Participation and Sale Agreements (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>120</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>1122 - Disclosure - Federal Home Loan Bank Advances - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFederalHomeLoanBankAdvancesAdditionalInformation</Role>
      <ShortName>Federal Home Loan Bank Advances - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>121</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>1123 - Disclosure - Federal Home Loan Bank Advances - Summary of FHLB Advances (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureFederalHomeLoanBankAdvancesSummaryOfFHLBAdvances</Role>
      <ShortName>Federal Home Loan Bank Advances - Summary of FHLB Advances (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>122</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>1124 - Disclosure - Notes Payable - Additional Information (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureNotesPayableAdditionalInformation</Role>
      <ShortName>Notes Payable - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>123</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>1125 - Disclosure - Notes Payable - Summary of Financial Information Relating to Note Payable (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureNotesPayableSummaryOfFinancialInformationRelatingToNotePayable</Role>
      <ShortName>Notes Payable - Summary of Financial Information Relating to Note Payable (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>124</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R125.htm</HtmlFileName>
      <LongName>1126 - Disclosure - Notes Payable - Summary of Financial Information Relating to Note Payable (Parenthetical) (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureNotesPayableSummaryOfFinancialInformationRelatingToNotePayableParenthetical</Role>
      <ShortName>Notes Payable - Summary of Financial Information Relating to Note Payable (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>125</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R126.htm</HtmlFileName>
      <LongName>1127 - Disclosure - Asset-Backed Financing of a Variable Interest Entity at Fair Value - Summary of Financial Information Relating to Asset-Backed Financing of a VIE (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureAssetBackedFinancingOfAVariableInterestEntityAtFairValueSummaryOfFinancialInformationRelatingToAssetBackedFinancingOfAVIE</Role>
      <ShortName>Asset-Backed Financing of a Variable Interest Entity at Fair Value - Summary of Financial Information Relating to Asset-Backed Financing of a VIE (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>126</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R127.htm</HtmlFileName>
      <LongName>1128 - Disclosure - Exchangeable Senior Notes - Additional Information (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureExchangeableSeniorNotesAdditionalInformation</Role>
      <ShortName>Exchangeable Senior Notes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>127</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R128.htm</HtmlFileName>
      <LongName>1129 - Disclosure - Exchangeable Senior Notes - Summary of Financial Information Relating to Exchangeable Senior Notes (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureExchangeableSeniorNotesSummaryOfFinancialInformationRelatingToExchangeableSeniorNotes</Role>
      <ShortName>Exchangeable Senior Notes - Summary of Financial Information Relating to Exchangeable Senior Notes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>128</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R129.htm</HtmlFileName>
      <LongName>1130 - Disclosure - Exchangeable Senior Notes - Summary of Financial Information Relating to Exchangeable Senior Notes (Parenthetical) (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureExchangeableSeniorNotesSummaryOfFinancialInformationRelatingToExchangeableSeniorNotesParenthetical</Role>
      <ShortName>Exchangeable Senior Notes - Summary of Financial Information Relating to Exchangeable Senior Notes (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>129</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R130.htm</HtmlFileName>
      <LongName>1131 - Disclosure - Liability for Losses under Representations and Warranties - Summary of Company's Liability for Losses under Representations and Warranties (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureLiabilityForLossesUnderRepresentationsAndWarrantiesSummaryOfCompanysLiabilityForLossesUnderRepresentationsAndWarranties</Role>
      <ShortName>Liability for Losses under Representations and Warranties - Summary of Company's Liability for Losses under Representations and Warranties (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>130</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R131.htm</HtmlFileName>
      <LongName>1132 - Disclosure - Commitments and Contingencies - Company's Outstanding Contractual Loan Commitments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureCommitmentsAndContingenciesCompanysOutstandingContractualLoanCommitments</Role>
      <ShortName>Commitments and Contingencies - Company's Outstanding Contractual Loan Commitments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>131</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R132.htm</HtmlFileName>
      <LongName>1133 - Disclosure - Shareholders' Equity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureShareholdersEquityAdditionalInformation</Role>
      <ShortName>Shareholders' Equity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>132</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R133.htm</HtmlFileName>
      <LongName>1134 - Disclosure - Net Interest Income - Summary of Net Interest Income (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureNetInterestIncomeSummaryOfNetInterestIncome</Role>
      <ShortName>Net Interest Income - Summary of Net Interest Income (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>133</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R134.htm</HtmlFileName>
      <LongName>1135 - Disclosure - Net Gain on Mortgage Loans Acquired for Sale - Summary of Net Gain on Mortgage Loans Acquired for Sale (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureNetGainOnMortgageLoansAcquiredForSaleSummaryOfNetGainOnMortgageLoansAcquiredForSale</Role>
      <ShortName>Net Gain on Mortgage Loans Acquired for Sale - Summary of Net Gain on Mortgage Loans Acquired for Sale (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>134</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R135.htm</HtmlFileName>
      <LongName>1136 - Disclosure - Net (Loss) Gain on Investments - Summary of Net (Loss) Gain on Investments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureNetLossGainOnInvestmentsSummaryOfNetLossGainOnInvestments</Role>
      <ShortName>Net (Loss) Gain on Investments - Summary of Net (Loss) Gain on Investments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.pennymac-reit.com/taxonomy/role/NotesToFinancialStatementsOffsettingAssetsAndLiabilitiesTextBlockTables</ParentRole>
      <Position>135</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R136.htm</HtmlFileName>
      <LongName>1137 - Disclosure - Net Loan Servicing Fees - Summary of Net Loan Servicing Fees (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureNetLoanServicingFeesSummaryOfNetLoanServicingFees</Role>
      <ShortName>Net Loan Servicing Fees - Summary of Net Loan Servicing Fees (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>136</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R137.htm</HtmlFileName>
      <LongName>1138 - Disclosure - Share-Based Compensation Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureShareBasedCompensationPlansAdditionalInformation</Role>
      <ShortName>Share-Based Compensation Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>137</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R138.htm</HtmlFileName>
      <LongName>1139 - Disclosure - Other Expenses - Summary of Other Expenses (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureOtherExpensesSummaryOfOtherExpenses</Role>
      <ShortName>Other Expenses - Summary of Other Expenses (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>138</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R139.htm</HtmlFileName>
      <LongName>1140 - Disclosure - Other Expenses - Summary of Other Expenses (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureOtherExpensesSummaryOfOtherExpensesParenthetical</Role>
      <ShortName>Other Expenses - Summary of Other Expenses (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>139</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R140.htm</HtmlFileName>
      <LongName>1141 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureIncomeTaxesAdditionalInformation</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>140</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R141.htm</HtmlFileName>
      <LongName>1142 - Disclosure - Segments and Related Information - Financial Highlights by Operating Segment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureSegmentsAndRelatedInformationFinancialHighlightsByOperatingSegment</Role>
      <ShortName>Segments and Related Information - Financial Highlights by Operating Segment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>141</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R142.htm</HtmlFileName>
      <LongName>1143 - Disclosure - Supplemental Cash Flow Information - Summary of Supplemental Cash Flow Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureSupplementalCashFlowInformationSummaryOfSupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information - Summary of Supplemental Cash Flow Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>142</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R143.htm</HtmlFileName>
      <LongName>1144 - Disclosure - Regulatory Capital and Liquidity Requirements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsAdditionalInformation</Role>
      <ShortName>Regulatory Capital and Liquidity Requirements - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>143</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R144.htm</HtmlFileName>
      <LongName>1145 - Disclosure - Regulatory Capital and Liquidity Requirements - Summary of Capital and Liquidity Requirements by Agencies (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureRegulatoryCapitalAndLiquidityRequirementsSummaryOfCapitalAndLiquidityRequirementsByAgencies</Role>
      <ShortName>Regulatory Capital and Liquidity Requirements - Summary of Capital and Liquidity Requirements by Agencies (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>144</Position>
    </Report>
    <Report instance="pmt-20160331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R145.htm</HtmlFileName>
      <LongName>1146 - Disclosure - Subsequent Events - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.pennymac-reit.com/taxonomy/role/DisclosureSubsequentEventsAdditionalInformation</Role>
      <ShortName>Subsequent Events - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>145</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>pmt-20160331.xml</File>
    <File>pmt-20160331.xsd</File>
    <File>pmt-20160331_cal.xml</File>
    <File>pmt-20160331_def.xml</File>
    <File>pmt-20160331_lab.xml</File>
    <File>pmt-20160331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
