| **Fair Value Measurements (Details 2) - USD ($) $ in Millions**                                      | Dec. 31, 2016 | Dec. 31, 2015 |
|------------------------------------------------------------------------------------------------------|---------------|---------------|
| **Difference between carrying amounts measured at fair value and aggregate unpaid principal amount** |          |          |
| Carrying amount, Total                                                                               | $ 683         | $ 743         |
| Mortgage loans held for sale                                                                         |          |          |
| **Difference between carrying amounts measured at fair value and aggregate unpaid principal amount** |          |          |
| Carrying amount, Total                                                                               | 683           | 743           |
| Carrying amount, Loans 90 days or more past due and on non-accrual status                            | 7             | 9             |
| Aggregate unpaid principal balance, Total                                                            | 687           | 738           |
| Aggregate unpaid principal balance, Loans 90 days or more past due and on non-accrual status         | 10            | 11            |
| Difference, Total                                                                                    | (4)           | 5             |
| Difference, Loans 90 days or more past due and on non-accrual status                                 | $ (3)         | $ (2)         |

| X                                                                                                                                                                                                                                                                                                                                                                              |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Represents the aggregate unpaid principal balance of loans held as assets for which the fair value option has been elected.
+ References
No definition available.
+ Details**Name:**phh_FairValueOptionLoansHeldAsAssetsAggregateUnpaidPrincipalBalance**Namespace Prefix:**phh_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                   |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Represents the aggregate unpaid principal balance of loans held as assets that are 90 days or more past due for which the fair value option has been elected.
+ References
No definition available.
+ Details**Name:**phh_FairValueOptionLoansHeldAsAssetsAggregateUnpaidPrincipalBalance90DaysOrMorePastDue**Namespace Prefix:**phh_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
This item represents the difference between the aggregate fair value and the aggregate unpaid principal balance of loans and long-term receivables (other than securities categorized as trading, available-for-sale or held-to-maturity) that have contractual principal amounts and for which the fair value option has been elected.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (d)(1) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612
+ Details**Name:**us-gaap_FairValueOptionAggregateDifferencesLoansAndLongTermReceivables**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
This item represents the aggregate fair value of loans held as assets that are 90 days or more past due for which the fair value option has been elected.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (e)(1) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612
+ Details**Name:**us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
For loans held as assets for which the fair value option has been elected, this item represents the difference between the aggregate fair value and the aggregate unpaid principal balance of those loans that are 90 days or more past due, in nonaccrual status, or both.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (e)(3) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612
+ Details**Name:**us-gaap_FairValueOptionLoansHeldAsAssetsAggregateDifference**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                       |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.
+ References
No definition available.
+ Details**Name:**us-gaap_FairValueOptionQuantitativeDisclosuresLineItems**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Amount, after allowance for bad debt, of mortgage loan receivables held-for-sale that are not part of a disposal group. Excludes loans and leases covered under loss sharing agreements and loans classified as debt securities.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=28367877&loc=d3e4428-111522
+ Details**Name:**us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroupMortgage**Namespace Prefix:**us-gaap_**Data Type:**xbrli:monetaryItemType**Balance Type:**debit**Period Type:**instant |
| X                                                                                                                                                                            |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Details**Name:**us-gaap_EligibleItemOrGroupForFairValueOptionAxis=phh_MortgageLoansHeldForSaleMember**Namespace Prefix:****Data Type:**na**Balance Type:****Period Type:** |