| **Document and Entity Information - shares**        | 9 Months Ended          |            |
|-----------------------------------------------------|-------------------------|------------|
||
| **Document and Entity Information**                 |                    |       |
| Entity Registrant Name                              | PHH CORP                |       |
| Entity Central Index Key                            | 0000077776              |       |
| Current Fiscal Year End Date                        | --12-31                 |       |
| Entity Filer Category                               | Large Accelerated Filer |       |
| Document Type                                       | 10-Q                    |       |
| Document Period End Date                            | Sep. 30,  2017          |       |
| Document Fiscal Year Focus                          | 2017                    |       |
| Document Fiscal Period Focus                        | Q3                      |       |
| Amendment Flag                                      | false                   |       |
| Entity Common Stock, Shares Outstanding (in shares) |                    | 32,547,258 |

| X                                                                                                                                                                                                                                                                                            |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
If the value is true, then the document is an amendment to previously-filed/accepted document.
+ References
No definition available.
+ Details**Name:**dei_AmendmentFlag**Namespace Prefix:**dei_**Data Type:**xbrli:booleanItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                 |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
End date of current fiscal year in the format --MM-DD.
+ References
No definition available.
+ Details**Name:**dei_CurrentFiscalYearEndDate**Namespace Prefix:**dei_**Data Type:**xbrli:gMonthDayItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
This is focus fiscal period of the document report. For a first quarter 2006 quarterly report, which may also provide financial information from prior periods, the first fiscal quarter should be given as the fiscal period focus. Values: FY, Q1, Q2, Q3, Q4, H1, H2, M9, T1, T2, T3, M8, CY.
+ References
No definition available.
+ Details**Name:**dei_DocumentFiscalPeriodFocus**Namespace Prefix:**dei_**Data Type:**dei:fiscalPeriodItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
This is focus fiscal year of the document report in CCYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.
+ References
No definition available.
+ Details**Name:**dei_DocumentFiscalYearFocus**Namespace Prefix:**dei_**Data Type:**xbrli:gYearItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date. The format of the date is CCYY-MM-DD.
+ References
No definition available.
+ Details**Name:**dei_DocumentPeriodEndDate**Namespace Prefix:**dei_**Data Type:**xbrli:dateItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                    |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word "Other".
+ References
No definition available.
+ Details**Name:**dei_DocumentType**Namespace Prefix:**dei_**Data Type:**dei:submissionTypeItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation 12B -Number 240 -Section 12b -Subsection 1
+ Details**Name:**dei_EntityCentralIndexKey**Namespace Prefix:**dei_**Data Type:**dei:centralIndexKeyItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.
+ References
No definition available.
+ Details**Name:**dei_EntityCommonStockSharesOutstanding**Namespace Prefix:**dei_**Data Type:**xbrli:sharesItemType**Balance Type:**na**Period Type:**instant |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
Indicate whether the registrant is one of the following: (1) Large Accelerated Filer, (2) Accelerated Filer, (3) Non-accelerated Filer, (4) Smaller Reporting Company (Non-accelerated) or (5) Smaller Reporting Accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.
+ References
No definition available.
+ Details**Name:**dei_EntityFilerCategory**Namespace Prefix:**dei_**Data Type:**dei:filerCategoryItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - Definition
The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.
+ References
Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation 12B -Number 240 -Section 12b -Subsection 1
+ Details**Name:**dei_EntityRegistrantName**Namespace Prefix:**dei_**Data Type:**xbrli:normalizedStringItemType**Balance Type:**na**Period Type:**duration |
| X                                                                                                                                                                                                      |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| - References
No definition available.
+ Details**Name:**phh_DocumentAndEntityInformationAbstract**Namespace Prefix:**phh_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration |