<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>197</ContextCount>
  <ElementCount>283</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>48</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Condensed Consolidated Statements of Operations (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfOperationsUNAUDITED</Role>
      <ShortName>Condensed Consolidated Statements of Operations (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Condensed Consolidated Statements of Comprehensive Income (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfComprehensiveIncomeUNAUDITED</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Condensed Consolidated Balance Sheets (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_StatementCondensedConsolidatedBalanceSheetsUNAUDITED</Role>
      <ShortName>Condensed Consolidated Balance Sheets (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Condensed Consolidated Balance Sheets (UNAUDITED) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_StatementCondensedConsolidatedBalanceSheetsUNAUDITEDParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (UNAUDITED) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Condensed Consolidated Statements of Cash Flows (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfCashFlowsUNAUDITED</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - Condensed Consolidated Statements of Changes in Stockholders' Equity (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUNAUDITED</Role>
      <ShortName>Condensed Consolidated Statements of Changes in Stockholders' Equity (UNAUDITED)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPolicies</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRevenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Restructuring, Impairment and Other Charges</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRestructuringImpairmentAndOtherCharges</Role>
      <ShortName>Restructuring, Impairment and Other Charges</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Retirement Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRetirementPlans</Role>
      <ShortName>Retirement Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Earnings per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureEarningsPerShare</Role>
      <ShortName>Earnings per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Share-based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureSharebasedCompensation</Role>
      <ShortName>Share-based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Capital Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureCapitalStock</Role>
      <ShortName>Capital Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureComprehensiveIncome</Role>
      <ShortName>Comprehensive Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureSegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesTables</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRevenue</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureLeases</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Restructuring, Impairment and Other Charges (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRestructuringImpairmentAndOtherChargesTables</Role>
      <ShortName>Restructuring, Impairment and Other Charges (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRestructuringImpairmentAndOtherCharges</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Retirement Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRetirementPlansTables</Role>
      <ShortName>Retirement Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRetirementPlans</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureDebt</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Earnings per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureEarningsPerShare</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Share-based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureSharebasedCompensationTables</Role>
      <ShortName>Share-based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureSharebasedCompensation</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Comprehensive Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureComprehensiveIncomeTables</Role>
      <ShortName>Comprehensive Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureComprehensiveIncome</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureSegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureSegmentInformation</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Summary of Current Expected Credit Loss Reserve (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesSummaryOfCurrentExpectedCreditLossReserveDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Summary of Current Expected Credit Loss Reserve (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Summary of Current Expected Credit Loss Reserve (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesSummaryOfCurrentExpectedCreditLossReserveParentheticalDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Summary of Current Expected Credit Loss Reserve (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Components of Company's Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesComponentsOfCompanySPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Components of Company's Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Revenue - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureRevenueAdditionalInformationDetails2</Role>
      <ShortName>Revenue - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Revenue (Additional Information 1) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureRevenueAdditionalInformation1Details</Role>
      <ShortName>Revenue (Additional Information 1) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRevenueTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Revenue - Schedule of Disaggregation of Revenue between Tech-Enabled Services, Software Solutions and Print and Distribution by Reportable Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRevenueScheduleOfDisaggregationOfRevenueBetweenTechEnabledServicesSoftwareSolutionsAndPrintAndDistributionByReportableSegmentDetails</Role>
      <ShortName>Revenue - Schedule of Disaggregation of Revenue between Tech-Enabled Services, Software Solutions and Print and Distribution by Reportable Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Revenue - Changes in Contract Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRevenueChangesInContractLiabilitiesDetails</Role>
      <ShortName>Revenue - Changes in Contract Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Goodwill and Other Intangible Assets - Balances of Goodwill by Reporting Unit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsBalancesOfGoodwillByReportingUnitDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Balances of Goodwill by Reporting Unit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Goodwill and Other Intangible Assets - Components of Other Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsComponentsOfOtherIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Components of Other Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Goodwill and Other Intangible Assets - Components of Other Intangible Assets (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsComponentsOfOtherIntangibleAssetsParentheticalDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Components of Other Intangible Assets (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Estimated Annual Amortization Expense Related to Other Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfEstimatedAnnualAmortizationExpenseRelatedToOtherIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Estimated Annual Amortization Expense Related to Other Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Leases - Summary of Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails</Role>
      <ShortName>Leases - Summary of Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Leases - Summary of Company's Finance Leases Presented within Unaudited Condensed Consolidated Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureLeasesSummaryOfCompanysFinanceLeasesPresentedWithinUnauditedCondensedConsolidatedBalanceSheetsDetails</Role>
      <ShortName>Leases - Summary of Company's Finance Leases Presented within Unaudited Condensed Consolidated Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Restructuring, Impairment and Other Charges - Schedule of Restructuring and Other Charges by Segment Recognized in Results of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRestructuringImpairmentAndOtherChargesScheduleOfRestructuringAndOtherChargesBySegmentRecognizedInResultsOfOperationsDetails</Role>
      <ShortName>Restructuring, Impairment and Other Charges - Schedule of Restructuring and Other Charges by Segment Recognized in Results of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Restructuring, Impairment and Other Charges - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRestructuringImpairmentAndOtherChargesAdditionalInformationDetails</Role>
      <ShortName>Restructuring, Impairment and Other Charges - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Restructuring, Impairment and Other Charges - Schedule of Changes in the Employee Terminations Liability (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRestructuringImpairmentAndOtherChargesScheduleOfChangesInEmployeeTerminationsLiabilityDetails</Role>
      <ShortName>Restructuring, Impairment and Other Charges - Schedule of Changes in the Employee Terminations Liability (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Retirement Plans - Components of Estimated Net Periodic Benefit Income (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureRetirementPlansComponentsOfEstimatedNetPeriodicBenefitIncomeDetail</Role>
      <ShortName>Retirement Plans - Components of Estimated Net Periodic Benefit Income (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Debt - Schedule of the Company's Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureDebtScheduleOfCompanySDebtDetails</Role>
      <ShortName>Debt - Schedule of the Company's Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Debt - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails</Role>
      <ShortName>Debt - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Debt - Summary of Interest Expense, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureDebtSummaryOfInterestExpenseNetDetails</Role>
      <ShortName>Debt - Summary of Interest Expense, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Debt - Summary of Interest Expense, Net (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureDebtSummaryOfInterestExpenseNetParentheticalDetails</Role>
      <ShortName>Debt - Summary of Interest Expense, Net (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Earnings per Share - Reconciliation of Numerator and Denominator of Basic and Diluted Earnings per Share Calculation and Anti-dilutive Share-based Awards (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureEarningsPerShareReconciliationOfNumeratorAndDenominatorOfBasicAndDilutedEarningsPerShareCalculationAndAntiDilutiveShareBasedAwardsDetail</Role>
      <ShortName>Earnings per Share - Reconciliation of Numerator and Denominator of Basic and Diluted Earnings per Share Calculation and Anti-dilutive Share-based Awards (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Share-based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureSharebasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Share-based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Share-Based Compensation - Summary of Stock Option Awards Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureSharebasedCompensationSummaryOfStockOptionAwardsOutstandingDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Stock Option Awards Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Share-Based Compensation - Summary of Nonvested Restricted Stock Unit Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureSharebasedCompensationSummaryOfNonvestedRestrictedStockUnitAwardsDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Nonvested Restricted Stock Unit Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Share-Based Compensation - Summary of Nonvested Performance Share Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureSharebasedCompensationSummaryOfNonvestedPerformanceShareUnitsDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Nonvested Performance Share Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Share-Based Compensation - Schedule of performance period of shares award (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureSharebasedCompensationScheduleOfPerformancePeriodOfSharesAwardDetails</Role>
      <ShortName>Share-Based Compensation - Schedule of performance period of shares award (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Share-based Compensation - Schedule of performance period of shares award (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/DisclosureSharebasedCompensationScheduleOfPerformancePeriodOfSharesAwardParentheticalDetails</Role>
      <ShortName>Share-based Compensation - Schedule of performance period of shares award (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Capital Stock - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureCapitalStockAdditionalInformationDetails</Role>
      <ShortName>Capital Stock - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Comprehensive Income - Schedule of Components of Other Comprehensive Income (Loss) and Income Tax Expense Allocated to Each Component (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureComprehensiveIncomeScheduleOfComponentsOfOtherComprehensiveIncomeLossAndIncomeTaxExpenseAllocatedToEachComponentDetails</Role>
      <ShortName>Comprehensive Income - Schedule of Components of Other Comprehensive Income (Loss) and Income Tax Expense Allocated to Each Component (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Comprehensive Income - Schedule of Changes in Accumulated Other Comprehensive Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureComprehensiveIncomeScheduleOfChangesInAccumulatedOtherComprehensiveLossDetails</Role>
      <ShortName>Comprehensive Income - Schedule of Changes in Accumulated Other Comprehensive Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Comprehensive Income - Reclassifications from Accumulated Other Comprehensive Loss Amortization of Pension Plan Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureComprehensiveIncomeReclassificationsFromAccumulatedOtherComprehensiveLossAmortizationOfPensionPlanCostDetails</Role>
      <ShortName>Comprehensive Income - Reclassifications from Accumulated Other Comprehensive Loss Amortization of Pension Plan Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Segment Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetails</Role>
      <ShortName>Segment Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="dfin-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Segment Information - Schedule of Segment Reporting Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20220331/taxonomy/role/Role_DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails</Role>
      <ShortName>Segment Information - Schedule of Segment Reporting Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="dfin-20220331.htm">dfin-20220331.htm</File>
    <File>dfin-20220331.xsd</File>
    <File>dfin-20220331_cal.xml</File>
    <File>dfin-20220331_def.xml</File>
    <File>dfin-20220331_lab.xml</File>
    <File>dfin-20220331_pre.xml</File>
    <File>dfin-ex31_1.htm</File>
    <File>dfin-ex31_2.htm</File>
    <File>dfin-ex32_1.htm</File>
    <File>dfin-ex32_2.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="797">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
