| **Fair Value Measurements (Details 6) - Level Three - USD ($) $ in Millions**                                                                        | 12 Months Ended |
|------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|
||
| Interest rate lock commitments                                                                                                                       |            |   |
| **Activity in assets classified within Level Three of the valuation hierarchy**                                                                      |            |   |
| Balance, beginning of period                                                                                                                         | $ 21            | $ 22 |
| **Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases, (Sales), Issuances, (Settlements) [Abstract]** |            |   |
| Purchases                                                                                                                                            | 0               | 0 |
| Issuances                                                                                                                                            | 0               | 0 |
| Sales                                                                                                                                                | 0               | 0 |
| Settlements                                                                                                                                          | (318)           | (262) |
| Purchases, Issuances, Sales, Settlements Total                                                                                                       | (318)           | (262) |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | 315             | 261 |
| Transfers into Level Three                                                                                                                           | 0               | 0 |
| Transfers out of Level Three                                                                                                                         | 0               | 0 |
| Balance, end of period                                                                                                                               | 18              | 21 |
| Mortgage loans held for sale                                                                                                                         |            |   |
| **Activity in assets classified within Level Three of the valuation hierarchy**                                                                      |            |   |
| Balance, beginning of period                                                                                                                         | 39              | 42 |
| **Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases, (Sales), Issuances, (Settlements) [Abstract]** |            |   |
| Purchases                                                                                                                                            | 13              | 28 |
| Issuances                                                                                                                                            | 6               | 5 |
| Sales                                                                                                                                                | (24)            | (33) |
| Settlements                                                                                                                                          | (11)            | (10) |
| Purchases, Issuances, Sales, Settlements Total                                                                                                       | (16)            | (10) |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | 2               | 6 |
| Transfers into Level Three                                                                                                                           | 42              | 38 |
| Transfers out of Level Three                                                                                                                         | 20              | 37 |
| Balance, end of period                                                                                                                               | 47              | 39 |
| Mortgage servicing rights                                                                                                                            |            |   |
| **Activity in assets classified within Level Three of the valuation hierarchy**                                                                      |            |   |
| Balance, beginning of period                                                                                                                         | 880             | 1,005 |
| **Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases, (Sales), Issuances, (Settlements) [Abstract]** |            |   |
| Purchases                                                                                                                                            | 0               | 0 |
| Issuances                                                                                                                                            | 60              | 101 |
| Sales                                                                                                                                                | (12)            | (39) |
| Settlements                                                                                                                                          | 0               | 0 |
| Purchases, Issuances, Sales, Settlements Total                                                                                                       | 48              | 62 |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | (238)           | (187) |
| Transfers into Level Three                                                                                                                           | 0               | 0 |
| Transfers out of Level Three                                                                                                                         | 0               | 0 |
| Balance, end of period                                                                                                                               | 690             | 880 |
| Gain on loans held for sale, net | Interest rate lock commitments                                                                                    |            |   |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | 315             | 261 |
| Gain on loans held for sale, net | Mortgage loans held for sale                                                                                      |            |   |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | (1)             | 1 |
| Gain on loans held for sale, net | Mortgage servicing rights                                                                                         |            |   |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | 0               | 0 |
| Change in fair value of MSRs | Interest rate lock commitments                                                                                        |            |   |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | 0               | 0 |
| Change in fair value of MSRs | Mortgage loans held for sale                                                                                          |            |   |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | 0               | 0 |
| Change in fair value of MSRs | Mortgage servicing rights                                                                                             |            |   |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | (238)           | (187) |
| Interest income | Interest rate lock commitments                                                                                                     |            |   |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | 0               | 0 |
| Interest income | Mortgage loans held for sale                                                                                                       |            |   |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | 3               | 5 |
| Interest income | Mortgage servicing rights                                                                                                          |            |   |
| **Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]**                                         |            |   |
| Realized and unrealized gains (losses)                                                                                                               | $ 0             | $ 0 |

| X                                                                                                                                                                                                                                                                                                                                                                             |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Fair Value, Realized and Unrealized Gains (Losses) Included in Level 3 of Valuation Hierarchy [Abstract]
+ References
No definition available.
+ Details**Name:**phh_FairValueRealizedandUnrealizedGainsLossesIncludedinLevel3ofValuationHierarchyAbstract**Namespace Prefix:**phh_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                          |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.
+ References
No definition available.
+ Details**Name:**us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of gain (loss) recognized in the income statement for financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1) -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258
+ Details**Name:**us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of issuances of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258
+ Details**Name:**us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258
+ Details**Name:**us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of purchases, (sales), issuances and (settlements) of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph c -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258
+ Details**Name:**us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlements**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                               |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - References
No definition available.
+ Details**Name:**us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchasesSalesIssuancesSettlementsAbstract**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of sale of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258
+ Details**Name:**us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of settlement of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258
+ Details**Name:**us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of transfer of financial instrument classified as an asset into level 3 of the fair value hierarchy.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258
+ Details**Name:**us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersIntoLevel3**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount of transfers of financial instrument classified as an asset out of level 3 of the fair value hierarchy.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(3) -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258
+ Details**Name:**us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**credit**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=36462937&loc=d3e19207-110258
+ Details**Name:**us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**instant |
| X                                                                                                                                                                          |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                      |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateLockCommitmentsMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                            |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FairValueByAssetClassAxis=phh_MortgageLoansHeldForSaleMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                           |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_FairValueByAssetClassAxis=phh_MortgageServicingRightsMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_IncomeStatementLocationAxis=phh_GainLossOnMortgageLoansNetMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                                                |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_IncomeStatementLocationAxis=phh_ChangeInFairValueOfMortgageServicingRightsMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |
| X                                                                                                                                                            |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_IncomeStatementLocationAxis=phh_MortgageInterestIncomeMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |