| **Fair Value Measurements (Details 6) - Level Three - USD ($) $ in Millions**      | 3 Months Ended | 9 Months Ended |
|------------------------------------------------------------------------------------|----------------|----------------|
||
| Interest rate lock commitments                                                     |           |           |   |   |
| **Activity in assets classified within Level Three of the valuation hierarchy**    |           |           |   |   |
| Balance, beginning of period                                                       | $ 39           | $ 22           | $ 21 | $ 22 |
| **Purchases, Issuances, Sales and Settlements:**                                   |           |           |   |   |
| Purchases                                                                          | 0              | 0              | 0 | 0 |
| Issuances                                                                          | 0              | 0              | 0 | 0 |
| Sales                                                                              | 0              | 0              | 0 | 0 |
| Settlements                                                                        | (92)           | (74)           | (252) | (209) |
| Purchases, Issuances, Sales and Settlements Total                                  | (92)           | (74)           | (252) | (209) |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | 100            | 81             | 278 | 216 |
| Transfers into Level Three                                                         | 0              | 0              | 0 | 0 |
| Transfers out of Level Three                                                       | 0              | 0              | 0 | 0 |
| Balance, end of period                                                             | 47             | 29             | 47 | 29 |
| Interest rate lock commitments | Gain on loans held for sale, net                  |           |           |   |   |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | 100            | 81             | 278 | 216 |
| Interest rate lock commitments | Change in fair value of mortgage servicing rights |           |           |   |   |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | 0              | 0              | 0 | 0 |
| Interest rate lock commitments | Interest income                                   |           |           |   |   |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | 0              | 0              | 0 | 0 |
| Mortgage loans held for sale                                                       |           |           |   |   |
| **Activity in assets classified within Level Three of the valuation hierarchy**    |           |           |   |   |
| Balance, beginning of period                                                       | 42             | 48             | 39 | 42 |
| **Purchases, Issuances, Sales and Settlements:**                                   |           |           |   |   |
| Purchases                                                                          | 3              | 7              | 11 | 24 |
| Issuances                                                                          | 2              | 2              | 5 | 4 |
| Sales                                                                              | (6)            | (15)           | (20) | (23) |
| Settlements                                                                        | (4)            | (3)            | (9) | (8) |
| Purchases, Issuances, Sales and Settlements Total                                  | (5)            | (9)            | (13) | (3) |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | 0              | 1              | 2 | 5 |
| Transfers into Level Three                                                         | 13             | 8              | 33 | 23 |
| Transfers out of Level Three                                                       | (5)            | (9)            | (16) | (28) |
| Balance, end of period                                                             | 45             | 39             | 45 | 39 |
| Mortgage loans held for sale | Gain on loans held for sale, net                    |           |           |   |   |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | 0              | 0              | 0 | 1 |
| Mortgage loans held for sale | Change in fair value of mortgage servicing rights   |           |           |   |   |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | 0              | 0              | 0 | 0 |
| Mortgage loans held for sale | Interest income                                     |           |           |   |   |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | 0              | 1              | 2 | 4 |
| Mortgage servicing rights                                                          |           |           |   |   |
| **Activity in assets classified within Level Three of the valuation hierarchy**    |           |           |   |   |
| Balance, beginning of period                                                       | 679            | 1,020          | 880 | 1,005 |
| **Purchases, Issuances, Sales and Settlements:**                                   |           |           |   |   |
| Purchases                                                                          | 0              | 0              | 0 | 0 |
| Issuances                                                                          | 15             | 32             | 45 | 80 |
| Sales                                                                              | (3)            | (10)           | (8) | (35) |
| Settlements                                                                        | 0              | 0              | 0 | 0 |
| Purchases, Issuances, Sales and Settlements Total                                  | 12             | 22             | 37 | 45 |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | (46)           | (115)          | (272) | (123) |
| Transfers into Level Three                                                         | 0              | 0              | 0 | 0 |
| Transfers out of Level Three                                                       | 0              | 0              | 0 | 0 |
| Balance, end of period                                                             | 645            | 927            | 645 | 927 |
| Mortgage servicing rights | Gain on loans held for sale, net                       |           |           |   |   |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | 0              | 0              | 0 | 0 |
| Mortgage servicing rights | Change in fair value of mortgage servicing rights      |           |           |   |   |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | (46)           | (115)          | (272) | (123) |
| Mortgage servicing rights | Interest income                                        |           |           |   |   |
| **Realized and unrealized gains (losses) included in:**                            |           |           |   |   |
| Realized and unrealized gains (losses)                                             | $ 0            | $ 0            | $ 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_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:** |
| 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:** |