<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>363</ContextCount>
  <ElementCount>523</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>73</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="dfin-20221231.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/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100070 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100080 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100090 - Statement - Consolidated Statements of Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfEquity</Role>
      <ShortName>Consolidated Statements of Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/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-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRevenue</Role>
      <ShortName>Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Acquisitions and Dispositions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureAcquisitionsAndDispositions</Role>
      <ShortName>Acquisitions and Dispositions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Goodwill and Other Intangible Assets, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsNet</Role>
      <ShortName>Goodwill and Other Intangible Assets, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Restructuring, Impairment and Other Charges, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureRestructuringImpairmentAndOtherChargesNet</Role>
      <ShortName>Restructuring, Impairment and Other Charges, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Retirement Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRetirementPlans</Role>
      <ShortName>Retirement Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Earnings (Loss) per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureEarningsLossPerShare</Role>
      <ShortName>Earnings (Loss) per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Capital Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureCapitalStock</Role>
      <ShortName>Capital Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureComprehensiveIncomeLoss</Role>
      <ShortName>Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureSegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Geographic Area Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureGeographicAreaInformation</Role>
      <ShortName>Geographic Area Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesTables</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRevenueTables</Role>
      <ShortName>Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRevenue</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Goodwill and Other Intangible Assets, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsNetTables</Role>
      <ShortName>Goodwill and Other Intangible Assets, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsNet</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureLeases</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Restructuring, Impairment and Other Charges, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureRestructuringImpairmentAndOtherChargesNetTables</Role>
      <ShortName>Restructuring, Impairment and Other Charges, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureRestructuringImpairmentAndOtherChargesNet</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Retirement Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRetirementPlansTables</Role>
      <ShortName>Retirement Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRetirementPlans</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxes</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureDebt</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Earnings (Loss) per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareTables</Role>
      <ShortName>Earnings (Loss) per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureEarningsLossPerShare</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensation</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureComprehensiveIncomeLossTables</Role>
      <ShortName>Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureComprehensiveIncomeLoss</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureSegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureSegmentInformation</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Geographic Area Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureGeographicAreaInformationTables</Role>
      <ShortName>Geographic Area Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureGeographicAreaInformation</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100410 - 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/20221231/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>39</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100420 - 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/20221231/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>40</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Components of Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesComponentsOfInventoriesDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Components of Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100440 - 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/20221231/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>42</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Overview, Basis of Presentation and Significant Accounting Policies - Schedule of Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureOverviewBasisOfPresentationAndSignificantAccountingPoliciesScheduleOfAccruedLiabilitiesDetails</Role>
      <ShortName>Overview, Basis of Presentation and Significant Accounting Policies - Schedule of Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100460 - 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/20221231/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>44</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Revenue - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRevenueAdditionalInformationDetails</Role>
      <ShortName>Revenue - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Revenue (Additional Information 1) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureRevenueAdditionalInformation1Details</Role>
      <ShortName>Revenue (Additional Information 1) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRevenueTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Revenue - Changes in Contract Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRevenueChangesInContractLiabilitiesDetails</Role>
      <ShortName>Revenue - Changes in Contract Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Acquisitions and Dispositions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureAcquisitionsAndDispositionsAdditionalInformationDetails</Role>
      <ShortName>Acquisitions and Dispositions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Goodwill and Other Intangible Assets - Goodwill Balances by Reportable Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsGoodwillBalancesByReportableSegmentDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Goodwill Balances by Reportable Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Goodwill and Other Intangible Assets - Goodwill Balances by Reportable Segment (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureGoodwillAndOtherIntangibleAssetsGoodwillBalancesByReportableSegmentParentheticalDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Goodwill Balances by Reportable Segment (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Goodwill and Other Intangible Assets - Components of Other Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsComponentsOfOtherIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Components of Other Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Goodwill and Other Intangible Assets - Components of Other Intangible Assets (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsComponentsOfOtherIntangibleAssetsParentheticalDetail</Role>
      <ShortName>Goodwill and Other Intangible Assets - Components of Other Intangible Assets (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100560 - 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/20221231/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>54</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Leases - Summary of Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureLeasesSummaryOfComponentsOfLeaseExpenseDetails</Role>
      <ShortName>Leases - Summary of Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Leases - Summary of Company's Finance Lease Liabilities in Condensed Consolidated Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureLeasesSummaryOfCompanysFinanceLeaseLiabilitiesInCondensedConsolidatedBalanceSheetsDetails</Role>
      <ShortName>Leases - Summary of Company's Finance Lease Liabilities in Condensed Consolidated Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Leases - Summary of Other Information Related to Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureLeasesSummaryOfOtherInformationRelatedToOperatingLeasesDetails</Role>
      <ShortName>Leases - Summary of Other Information Related to Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Leases - Summary of Maturities of Lease Liabilities for Operating and Finance Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureLeasesSummaryOfMaturitiesOfLeaseLiabilitiesForOperatingAndFinanceLeasesDetails</Role>
      <ShortName>Leases - Summary of Maturities of Lease Liabilities for Operating and Finance Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Restructuring, Impairment and Other Charges, net - Schedule of Restructuring, Impairment and Other Charges by Segment Recognized in Results of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureRestructuringImpairmentAndOtherChargesNetScheduleOfRestructuringImpairmentAndOtherChargesBySegmentRecognizedInResultsOfOperation</Role>
      <ShortName>Restructuring, Impairment and Other Charges, net - Schedule of Restructuring, Impairment and Other Charges by Segment Recognized in Results of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Restructuring, Impairment and Other Charges, net - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureRestructuringImpairmentAndOtherChargesNetAdditionalInformationDetails</Role>
      <ShortName>Restructuring, Impairment and Other Charges, net - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Restructuring, Impairment and Other Charges, net - Schedule of Changes in the Employee Terminations Liability (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureRestructuringImpairmentAndOtherChargesNetScheduleOfChangesInTheEmployeeTerminationsLiabilityDetails</Role>
      <ShortName>Restructuring, Impairment and Other Charges, net - Schedule of Changes in the Employee Terminations Liability (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Retirement Plans - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRetirementPlansAdditionalInformationDetails</Role>
      <ShortName>Retirement Plans - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Retirement Plans - Components of Estimated Net Periodic Benefit Income (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureRetirementPlansComponentsOfEstimatedNetPeriodicBenefitIncomeDetail</Role>
      <ShortName>Retirement Plans - Components of Estimated Net Periodic Benefit Income (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Retirement Plans - Reconciliation of Funded Status (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRetirementPlansReconciliationOfFundedStatusDetails</Role>
      <ShortName>Retirement Plans - Reconciliation of Funded Status (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Retirement Plans - Amount Recognized on Consolidated and Combined Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRetirementPlansAmountRecognizedOnConsolidatedAndCombinedBalanceSheetsDetails</Role>
      <ShortName>Retirement Plans - Amount Recognized on Consolidated and Combined Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Retirement Plans - Amounts in Accumulated Other Comprehensive Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRetirementPlansAmountsInAccumulatedOtherComprehensiveLossDetails</Role>
      <ShortName>Retirement Plans - Amounts in Accumulated Other Comprehensive Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Retirement Plans - Amounts Recognized in Other Comprehensive (Loss) Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureRetirementPlansAmountsRecognizedInOtherComprehensiveLossIncomeDetails</Role>
      <ShortName>Retirement Plans - Amounts Recognized in Other Comprehensive (Loss) Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Retirement Plans - Weighted Average Assumptions Used to Determine Benefit Obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRetirementPlansWeightedAverageAssumptionsUsedToDetermineBenefitObligationDetails</Role>
      <ShortName>Retirement Plans - Weighted Average Assumptions Used to Determine Benefit Obligation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Retirement Plans - Expected Benefit Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRetirementPlansExpectedBenefitPaymentsDetails</Role>
      <ShortName>Retirement Plans - Expected Benefit Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100730 - Disclosure - Retirement Plans - Allocation of Plan Assets, Pension Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureRetirementPlansAllocationOfPlanAssetsPensionPlanDetails</Role>
      <ShortName>Retirement Plans - Allocation of Plan Assets, Pension Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100740 - Disclosure - Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Income Taxes - Components of (Loss) Earnings from Operations Before Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesComponentsOfLossEarningsFromOperationsBeforeIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Components of (Loss) Earnings from Operations Before Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100760 - Disclosure - Income Taxes - Components of Income Tax Expense (Benefit) from Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesComponentsOfIncomeTaxExpenseBenefitFromOperationsDetails</Role>
      <ShortName>Income Taxes - Components of Income Tax Expense (Benefit) from Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Income Taxes - Reconciliation from U.S. Federal Statutory Tax Rate to Effective Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationFromUSFederalStatutoryTaxRateToEffectiveTaxRateDetails</Role>
      <ShortName>Income Taxes - Reconciliation from U.S. Federal Statutory Tax Rate to Effective Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Income Taxes - Schedule of Significant Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfSignificantDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Significant Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100800 - Disclosure - Income Taxes - Schedule of Significant Deferred Tax Assets and Liabilities (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureIncomeTaxesScheduleOfSignificantDeferredTaxAssetsAndLiabilitiesParentheticalDetails</Role>
      <ShortName>Income Taxes - Schedule of Significant Deferred Tax Assets and Liabilities (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Income Taxes - Schedule of Transactions Affecting Valuation Allowance on Deferred Tax Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfTransactionsAffectingValuationAllowanceOnDeferredTaxAssetsDetails</Role>
      <ShortName>Income Taxes - Schedule of Transactions Affecting Valuation Allowance on Deferred Tax Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100820 - Disclosure - Income Taxes - Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes - Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>100830 - Disclosure - Debt - Schedule of the Company's Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureDebtScheduleOfTheCompanysDebtDetails</Role>
      <ShortName>Debt - Schedule of the Company's Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>100840 - Disclosure - Debt - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureDebtAdditionalInformationDetails</Role>
      <ShortName>Debt - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>100850 - Disclosure - Debt - Summary of Interest Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureDebtSummaryOfInterestExpenseDetails</Role>
      <ShortName>Debt - Summary of Interest Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>100860 - Disclosure - Earnings (Loss) 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/20221231/taxonomy/role/DisclosureEarningsLossPerShareReconciliationOfNumeratorAndDenominatorOfBasicAndDilutedEarningsPerShareCalculationAndAntidilutiveSharebased</Role>
      <ShortName>Earnings (Loss) 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>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureEarningsLossPerShareTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>100870 - Disclosure - Share-Based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Share-Based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>100890 - Disclosure - Share-Based Compensation - Summary of Stock Option Awards Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockOptionAwardsOutstandingDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Stock Option Awards Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>100900 - Disclosure - Share-Based Compensation - Summary of Nonvested Restricted Stock Unit Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfNonvestedRestrictedStockUnitAwardsDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Nonvested Restricted Stock Unit Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>100910 - Disclosure - Share-Based Compensation - Summary of Nonvested Performance Share Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfNonvestedPerformanceShareUnitsDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Nonvested Performance Share Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>100920 - Disclosure - Share-Based Compensation - Schedule of performance period of shares award (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureSharebasedCompensationScheduleOfPerformancePeriodOfSharesAwardDetails</Role>
      <ShortName>Share-Based Compensation - Schedule of performance period of shares award (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>100930 - Disclosure - Share-Based Compensation - Schedule of performance period of shares award (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureSharebasedCompensationScheduleOfPerformancePeriodOfSharesAwardParentheticalDetails</Role>
      <ShortName>Share-Based Compensation - Schedule of performance period of shares award (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>100940 - Disclosure - Capital Stock - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureCapitalStockAdditionalInformationDetails</Role>
      <ShortName>Capital Stock - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>100950 - Disclosure - Comprehensive Income (Loss) - 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/20221231/taxonomy/role/DisclosureComprehensiveIncomeLossScheduleOfComponentsOfOtherComprehensiveIncomeLossAndIncomeTaxExpenseAllocatedToEachComponentDetails</Role>
      <ShortName>Comprehensive Income (Loss) - Schedule of Components of Other Comprehensive Income (Loss) and Income Tax Expense Allocated to Each Component (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureComprehensiveIncomeLossTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>100960 - Disclosure - Comprehensive Income (Loss) - Schedule of Changes in Accumulated Other Comprehensive Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureComprehensiveIncomeLossScheduleOfChangesInAccumulatedOtherComprehensiveLossDetails</Role>
      <ShortName>Comprehensive Income (Loss) - Schedule of Changes in Accumulated Other Comprehensive Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureComprehensiveIncomeLossTables</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>100980 - Disclosure - Comprehensive Income (Loss) - Reclassifications from Accumulated Other Comprehensive Loss Amortization of Pension Plan Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureComprehensiveIncomeLossReclassificationsFromAccumulatedOtherComprehensiveLossAmortizationOfPensionPlanCostDetails</Role>
      <ShortName>Comprehensive Income (Loss) - Reclassifications from Accumulated Other Comprehensive Loss Amortization of Pension Plan Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.dfinsolutions.com/20221231/taxonomy/role/DisclosureComprehensiveIncomeLossTables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>100990 - Disclosure - Segment Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetails</Role>
      <ShortName>Segment Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>101000 - Disclosure - Segment Information - Schedule of Segment Reporting Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureSegmentInformationScheduleOfSegmentReportingInformationDetails</Role>
      <ShortName>Segment Information - Schedule of Segment Reporting Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>101010 - Disclosure - Segment Information - Schedule of Corporate Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureSegmentInformationScheduleOfCorporateAssetsDetails</Role>
      <ShortName>Segment Information - Schedule of Corporate Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="dfin-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>101020 - Disclosure - Geographic Area Information - Schedule of Net Sales and Long-lived Assets by Geographic Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.dfinsolutions.com/20221231/taxonomy/role/Role_DisclosureGeographicAreaInformationScheduleOfNetSalesAndLongLivedAssetsByGeographicRegionDetails</Role>
      <ShortName>Geographic Area Information - Schedule of Net Sales and Long-lived Assets by Geographic Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 5 fact(s) appearing in ix:hidden were eligible for transformation: dei:CurrentFiscalYearEndDate, us-gaap:NumberOfReportingUnits, us-gaap:UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued -  dfin-20221231.htm 8</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-K" original="dfin-20221231.htm">dfin-20221231.htm</File>
    <File>dfin-20221231.xsd</File>
    <File>dfin-20221231_cal.xml</File>
    <File>dfin-20221231_def.xml</File>
    <File>dfin-20221231_lab.xml</File>
    <File>dfin-20221231_pre.xml</File>
    <File>dfin-ex10_39.htm</File>
    <File>dfin-ex10_40.htm</File>
    <File>dfin-ex21_1.htm</File>
    <File>dfin-ex23_1.htm</File>
    <File>dfin-ex24_1.htm</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>
    <File>img44674083_0.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1582">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="37">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
