|**Segment Information (Details) $ in Millions**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | 3 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | 12 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|**Segment Reporting [Abstract]**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Number of reportable segments | segment                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|**Segment Information**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Total Assets                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | [1]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | $ 3,175                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
|Net Revenues                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | 72                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|Segment Profit (Loss)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Interest Income                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Interest Expense                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Other                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|**Segment Information**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Total Assets                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | 834                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
|Net Revenues                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Segment Profit (Loss)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Mortgage Production segment | Operating segment                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|**Segment Information**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Total Assets                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | 913                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
|Net Revenues                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Segment Profit (Loss)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Interest Income                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Interest Expense                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Mortgage Servicing segment | Operating segment                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|**Segment Information**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Total Assets                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | $ 1,428                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
|Net Revenues                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Segment Profit (Loss)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Interest Income                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|Interest Expense                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
|[1]
The Consolidated Balance Sheets include assets of variable interest entities which can be used only to settle the obligations and liabilities of variable interest entities which creditors or beneficial interest holders do not have recourse to PHH Corporation and subsidiaries as follows: December 31, 2016 2015ASSETS Cash and cash equivalents$67 $80Restricted cash24 18Mortgage loans held for sale350 389Accounts receivable, net9 5Servicing advances, net150 157Property and equipment, net1 1Other assets12 12Total assets$613 $662 LIABILITIES Accounts payable and accrued expenses$11 $14Debt399 456Other liabilities5 6Total liabilities$415 $476 | [1]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | The Consolidated Balance Sheets include assets of variable interest entities which can be used only to settle the obligations and liabilities of variable interest entities which creditors or beneficial interest holders do not have recourse to PHH Corporation and subsidiaries as follows: December 31, 2016 2015ASSETS Cash and cash equivalents$67 $80Restricted cash24 18Mortgage loans held for sale350 389Accounts receivable, net9 5Servicing advances, net150 157Property and equipment, net1 1Other assets12 12Total assets$613 $662 LIABILITIES Accounts payable and accrued expenses$11 $14Debt399 456Other liabilities5 6Total liabilities$415 $476
|[1]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | The Consolidated Balance Sheets include assets of variable interest entities which can be used only to settle the obligations and liabilities of variable interest entities which creditors or beneficial interest holders do not have recourse to PHH Corporation and subsidiaries as follows: December 31, 2016 2015ASSETS Cash and cash equivalents$67 $80Restricted cash24 18Mortgage loans held for sale350 389Accounts receivable, net9 5Servicing advances, net150 157Property and equipment, net1 1Other assets12 12Total assets$613 $662 LIABILITIES Accounts payable and accrued expenses$11 $14Debt399 456Other liabilities5 6Total liabilities$415 $476

X- DefinitionAmount of interest income from mortgage loans considered to be held-for-sale, interest income credits from escrow balances on mortgage loans serviced and other interest income.
+ ReferencesNo definition available.
+ Details**Name:**
phh_InterestIncome**Namespace Prefix:**
phh_**Data Type:**
xbrli:monetaryItemType**Balance Type:**
credit**Period Type:**
duration X- DefinitionSegment income loss from continuing operations before income taxes attributable to parent.
+ ReferencesNo definition available.
+ Details**Name:**
phh_SegmentIncomeLossFromContinuingOperationsBeforeIncomeTaxesAttributableToParent**Namespace Prefix:**
phh_**Data Type:**
xbrli:monetaryItemType**Balance Type:**
credit**Period Type:**
duration X- DefinitionSum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.
+ ReferencesReference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.18) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 12 -Article 7
+ Details**Name:**
us-gaap_Assets**Namespace Prefix:**
us-gaap_**Data Type:**
xbrli:monetaryItemType**Balance Type:**
debit**Period Type:**
instant X- DefinitionAmount of the cost of borrowed funds accounted for as interest expense.
+ ReferencesReference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.9) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882
+ Details**Name:**
us-gaap_InterestExpense**Namespace Prefix:**
us-gaap_**Data Type:**
xbrli:monetaryItemType**Balance Type:**
debit**Period Type:**
duration X- DefinitionNumber of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.
+ ReferencesNo definition available.
+ Details**Name:**
us-gaap_NumberOfReportableSegments**Namespace Prefix:**
us-gaap_**Data Type:**
xbrli:integerItemType**Balance Type:**
na**Period Type:**
duration X- DefinitionAmount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).
+ ReferencesReference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688
+ Details**Name:**
us-gaap_Revenues**Namespace Prefix:**
us-gaap_**Data Type:**
xbrli:monetaryItemType**Balance Type:**
credit**Period Type:**
duration X- ReferencesNo definition available.
+ Details**Name:**
us-gaap_SegmentReportingAbstract**Namespace Prefix:**
us-gaap_**Data Type:**
xbrli:stringItemType**Balance Type:**
na**Period Type:**
duration X- DefinitionLine 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.
+ ReferencesNo definition available.
+ Details**Name:**
us-gaap_SegmentReportingInformationLineItems**Namespace Prefix:**
us-gaap_**Data Type:**
xbrli:stringItemType**Balance Type:**
na**Period Type:**
duration X- Details**Name:**
us-gaap_ConsolidationItemsAxis=us-gaap_CorporateNonSegmentMember**Namespace Prefix:****Data Type:**
na**Balance Type:****Period Type:** X- Details**Name:**
us-gaap_StatementBusinessSegmentsAxis=phh_MortgageProductionSegmentMember**Namespace Prefix:****Data Type:**
na**Balance Type:****Period Type:** X- Details**Name:**
us-gaap_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember**Namespace Prefix:****Data Type:**
na**Balance Type:****Period Type:** X- Details**Name:**
us-gaap_StatementBusinessSegmentsAxis=phh_MortgageServicingSegmentMember**Namespace Prefix:****Data Type:**
na**Balance Type:****Period Type:**