<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>574</ContextCount>
  <ElementCount>594</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>145</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>12</UnitCount>
  <MyReports>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - CONSOLIDATED STATEMENTS OF EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/CONSOLIDATEDSTATEMENTSOFEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Statement - CONSOLIDATED STATEMENTS OF EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/CONSOLIDATEDSTATEMENTSOFEQUITYParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - Background and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/BackgroundandBasisofPresentation</Role>
      <ShortName>Background and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/RevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Net Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/NetEarningsPerShare</Role>
      <ShortName>Net Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - United Kingdom Energy Crisis and Impairment Charges</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/UnitedKingdomEnergyCrisisandImpairmentCharges</Role>
      <ShortName>United Kingdom Energy Crisis and Impairment Charges</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Property, Plant and Equipment-Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/PropertyPlantandEquipmentNet</Role>
      <ShortName>Property, Plant and Equipment-Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/GoodwillandOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - Equity Method Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/EquityMethodInvestments</Role>
      <ShortName>Equity Method Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Pension and Other Postretirement Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefits</Role>
      <ShortName>Pension and Other Postretirement Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Financing Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/FinancingAgreements</Role>
      <ShortName>Financing Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Interest Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/InterestExpense</Role>
      <ShortName>Interest Expense</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - Other Operating-Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/OtherOperatingNet</Role>
      <ShortName>Other Operating-Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/DerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - Supplemental Balance Sheet Data</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SupplementalBalanceSheetData</Role>
      <ShortName>Supplemental Balance Sheet Data</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Disclosure - Noncontrolling Interest</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/NoncontrollingInterest</Role>
      <ShortName>Noncontrolling Interest</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - Disclosure - Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/Contingencies</Role>
      <ShortName>Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000030 - Disclosure - Segment Disclosures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SegmentDisclosures</Role>
      <ShortName>Segment Disclosures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0000031 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0000032 - Disclosure - Asset Retirement Obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/AssetRetirementObligations</Role>
      <ShortName>Asset Retirement Obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>0000033 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>0000034 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>0000035 - Disclosure - Revenue Recognition Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/RevenueRecognitionAccountingPoliciesPolicies</Role>
      <ShortName>Revenue Recognition Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>0000036 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>0000037 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/RevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/RevenueRecognition</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>0000038 - Disclosure - Net Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/NetEarningsPerShareTables</Role>
      <ShortName>Net Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/NetEarningsPerShare</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>0000039 - Disclosure - Property, Plant and Equipment-Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/PropertyPlantandEquipmentNetTables</Role>
      <ShortName>Property, Plant and Equipment-Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/PropertyPlantandEquipmentNet</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>0000040 - Disclosure - Goodwill and Other Intangible Assets Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/GoodwillandOtherIntangibleAssetsGoodwillandOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>0000041 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/FairValueMeasurements</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>0000042 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/IncomeTaxes</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>0000043 - Disclosure - Pension and Other Postretirement Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefitsTables</Role>
      <ShortName>Pension and Other Postretirement Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefits</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>0000044 - Disclosure - Financing Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/FinancingAgreementsTables</Role>
      <ShortName>Financing Agreements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/FinancingAgreements</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>0000045 - Disclosure - Interest Expense (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/InterestExpenseTables</Role>
      <ShortName>Interest Expense (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/InterestExpense</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>0000046 - Disclosure - Other Operating-Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/OtherOperatingNetTables</Role>
      <ShortName>Other Operating-Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/OtherOperatingNet</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>0000047 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/DerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/DerivativeFinancialInstruments</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>0000048 - Disclosure - Supplemental Balance Sheet Data (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SupplementalBalanceSheetDataTables</Role>
      <ShortName>Supplemental Balance Sheet Data (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SupplementalBalanceSheetData</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>0000049 - Disclosure - Noncontrolling Interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/NoncontrollingInterestsTables</Role>
      <ShortName>Noncontrolling Interests (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/NoncontrollingInterest</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>0000050 - Disclosure - Stockholders' Equity Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/StockholdersEquityStockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>0000051 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/StockBasedCompensation</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>0000052 - Disclosure - Segment Disclosures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SegmentDisclosuresTables</Role>
      <ShortName>Segment Disclosures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SegmentDisclosures</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>0000053 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SupplementalCashFlowInformation</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>0000054 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/Leases</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>0000055 - Disclosure - Background and Basis of Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/BackgroundandBasisofPresentationDetails</Role>
      <ShortName>Background and Basis of Presentation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/BackgroundandBasisofPresentation</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>0000056 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>0000057 - Disclosure - Summary of Significant Accounting Policies (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SummaryofSignificantAccountingPoliciesDetails2</Role>
      <ShortName>Summary of Significant Accounting Policies (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>0000058 - Disclosure - Revenue Recognition - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/RevenueRecognitionNarrativeDetails</Role>
      <ShortName>Revenue Recognition - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>0000059 - Disclosure - Revenue Recognition - Revenue by Product and by Geography (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/RevenueRecognitionRevenuebyProductandbyGeographyDetails</Role>
      <ShortName>Revenue Recognition - Revenue by Product and by Geography (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>0000060 - Disclosure - Revenue Recognition - Performance Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/RevenueRecognitionPerformanceObligationsDetails</Role>
      <ShortName>Revenue Recognition - Performance Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>0000061 - Disclosure - Net Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/NetEarningsPerShareDetails</Role>
      <ShortName>Net Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/NetEarningsPerShareTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>0000062 - Disclosure - United Kingdom Energy Crisis and Impairment Charges (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/UnitedKingdomEnergyCrisisandImpairmentChargesDetails</Role>
      <ShortName>United Kingdom Energy Crisis and Impairment Charges (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/UnitedKingdomEnergyCrisisandImpairmentCharges</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>0000063 - Disclosure - Property, Plant and Equipment-Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/PropertyPlantandEquipmentNetDetails</Role>
      <ShortName>Property, Plant and Equipment-Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/PropertyPlantandEquipmentNetTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>0000064 - Disclosure - Goodwill and Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/GoodwillandOtherIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/GoodwillandOtherIntangibleAssetsGoodwillandOtherIntangibleAssetsTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>0000065 - Disclosure - Goodwill and Other Intangible Assets (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/GoodwillandOtherIntangibleAssetsDetails2</Role>
      <ShortName>Goodwill and Other Intangible Assets (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/GoodwillandOtherIntangibleAssetsGoodwillandOtherIntangibleAssetsTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>0000066 - Disclosure - Goodwill and Other Intangible Assets (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/GoodwillandOtherIntangibleAssetsDetails3</Role>
      <ShortName>Goodwill and Other Intangible Assets (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/GoodwillandOtherIntangibleAssetsGoodwillandOtherIntangibleAssetsTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>0000067 - Disclosure - Equity Method Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/EquityMethodInvestmentsDetails</Role>
      <ShortName>Equity Method Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/EquityMethodInvestments</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>0000068 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>0000069 - Disclosure - Fair Value Measurements (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/FairValueMeasurementsDetails2</Role>
      <ShortName>Fair Value Measurements (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>0000070 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/IncomeTaxesTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>0000071 - Disclosure - Income Taxes (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/IncomeTaxesDetails2</Role>
      <ShortName>Income Taxes (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/IncomeTaxesTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>0000072 - Disclosure - Income Taxes (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/IncomeTaxesDetails3</Role>
      <ShortName>Income Taxes (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/IncomeTaxesTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>0000073 - Disclosure - Income Taxes (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/IncomeTaxesDetails4</Role>
      <ShortName>Income Taxes (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/IncomeTaxesTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>0000074 - Disclosure - Pension and Other Postretirement Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefitsDetails</Role>
      <ShortName>Pension and Other Postretirement Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefitsTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>0000075 - Disclosure - Pension and Other Postretirement Benefits (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefitsDetails2</Role>
      <ShortName>Pension and Other Postretirement Benefits (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefitsTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>0000076 - Disclosure - Pension and Other Postretirement Benefits (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefitsDetails3</Role>
      <ShortName>Pension and Other Postretirement Benefits (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefitsTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>0000077 - Disclosure - Pension and Other Postretirement Benefits (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefitsDetails4</Role>
      <ShortName>Pension and Other Postretirement Benefits (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefitsTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>0000078 - Disclosure - Pension and Other Postretirement Benefits (Details 5)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefitsDetails5</Role>
      <ShortName>Pension and Other Postretirement Benefits (Details 5)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/PensionandOtherPostretirementBenefitsTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>0000079 - Disclosure - Financing Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/FinancingAgreementsDetails</Role>
      <ShortName>Financing Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/FinancingAgreementsTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>0000080 - Disclosure - Interest Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/InterestExpenseDetails</Role>
      <ShortName>Interest Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/InterestExpenseTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>0000081 - Disclosure - Other Operating-Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/OtherOperatingNetDetails</Role>
      <ShortName>Other Operating-Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/OtherOperatingNetTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>0000082 - Disclosure - Derivative Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/DerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Derivative Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>0000083 - Disclosure - Derivative Financial Instruments (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/DerivativeFinancialInstrumentsDetails2</Role>
      <ShortName>Derivative Financial Instruments (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>0000084 - Disclosure - Derivative Financial Instruments (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/DerivativeFinancialInstrumentsDetails3</Role>
      <ShortName>Derivative Financial Instruments (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>0000085 - Disclosure - Derivative Financial Instruments (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/DerivativeFinancialInstrumentsDetails4</Role>
      <ShortName>Derivative Financial Instruments (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>0000086 - Disclosure - Supplemental Balance Sheet Data -Accounts Receivable-Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SupplementalBalanceSheetDataAccountsReceivableNetDetails</Role>
      <ShortName>Supplemental Balance Sheet Data -Accounts Receivable-Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>0000087 - Disclosure - Supplemental Balance Sheet Data - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SupplementalBalanceSheetDataInventoriesDetails</Role>
      <ShortName>Supplemental Balance Sheet Data - Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>0000088 - Disclosure - Supplemental Balance Sheet Data - Accounts Payable and Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SupplementalBalanceSheetDataAccountsPayableandAccruedExpensesDetails</Role>
      <ShortName>Supplemental Balance Sheet Data - Accounts Payable and Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>0000089 - Disclosure - Supplemental Balance Sheet Data - Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SupplementalBalanceSheetDataOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Supplemental Balance Sheet Data - Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>0000090 - Disclosure - Supplemental Balance Sheet Data - Other Noncurrent Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SupplementalBalanceSheetDataOtherNoncurrentLiabilitiesDetails</Role>
      <ShortName>Supplemental Balance Sheet Data - Other Noncurrent Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>0000091 - Disclosure - Supplemental Balance Sheet Data - Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SupplementalBalanceSheetDataOtherAssetsDetails</Role>
      <ShortName>Supplemental Balance Sheet Data - Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>0000092 - Disclosure - Noncontrolling Interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/NoncontrollingInterestsDetails</Role>
      <ShortName>Noncontrolling Interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/NoncontrollingInterestsTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>0000093 - Disclosure - Noncontrolling Interests (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/NoncontrollingInterestsDetails2</Role>
      <ShortName>Noncontrolling Interests (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/NoncontrollingInterestsTables</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>0000094 - Disclosure - Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/StockholdersEquityDetails</Role>
      <ShortName>Stockholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/StockholdersEquityStockholdersEquityTables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>0000095 - Disclosure - Stockholders' Equity (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/StockholdersEquityDetails2</Role>
      <ShortName>Stockholders' Equity (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/StockholdersEquityStockholdersEquityTables</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>0000096 - Disclosure - Stockholders' Equity (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/StockholdersEquityDetails3</Role>
      <ShortName>Stockholders' Equity (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/StockholdersEquityStockholdersEquityTables</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>0000097 - Disclosure - Stockholders' Equity (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/StockholdersEquityDetails4</Role>
      <ShortName>Stockholders' Equity (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/StockholdersEquityStockholdersEquityTables</ParentRole>
      <Position>97</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>0000098 - Disclosure - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/StockBasedCompensationDetails</Role>
      <ShortName>Stock-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/StockBasedCompensationTables</ParentRole>
      <Position>98</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>0000099 - Disclosure - Stock-Based Compensation (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/StockBasedCompensationDetails2</Role>
      <ShortName>Stock-Based Compensation (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/StockBasedCompensationTables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>0000100 - Disclosure - Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/ContingenciesDetails</Role>
      <ShortName>Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/Contingencies</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>0000101 - Disclosure - Segment Disclosures (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SegmentDisclosuresNarrativeDetails</Role>
      <ShortName>Segment Disclosures (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SegmentDisclosuresTables</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>0000102 - Disclosure - Segment Disclosures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SegmentDisclosuresDetails</Role>
      <ShortName>Segment Disclosures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SegmentDisclosuresTables</ParentRole>
      <Position>102</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>0000103 - Disclosure - Segment Disclosures (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SegmentDisclosuresDetails2</Role>
      <ShortName>Segment Disclosures (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SegmentDisclosuresTables</ParentRole>
      <Position>103</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>0000104 - Disclosure - Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/SupplementalCashFlowInformationDetails</Role>
      <ShortName>Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/SupplementalCashFlowInformationTables</ParentRole>
      <Position>104</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>0000105 - Disclosure - Asset Retirement Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/AssetRetirementObligationsDetails</Role>
      <ShortName>Asset Retirement Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/AssetRetirementObligations</ParentRole>
      <Position>105</Position>
    </Report>
    <Report instance="cf-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>0000106 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.cfindustries.com/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.cfindustries.com/role/LeasesTables</ParentRole>
      <Position>106</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: 4 fact(s) appearing in ix:hidden were eligible for transformation: us-gaap:LesseeOperatingLeaseTermOfContract, us-gaap:LessorOperatingLeaseTermOfContract -  cf-20221231.htm 4</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-K" original="cf-20221231.htm">cf-20221231.htm</File>
    <File>cf-12312022xex1016.htm</File>
    <File>cf-12312022xex1018.htm</File>
    <File>cf-12312022xex21.htm</File>
    <File>cf-12312022xex23.htm</File>
    <File>cf-12312022xex311.htm</File>
    <File>cf-12312022xex312.htm</File>
    <File>cf-12312022xex321.htm</File>
    <File>cf-12312022xex322.htm</File>
    <File>cf-12312022xex42.htm</File>
    <File>cf-12x312022xex1017.htm</File>
    <File>cf-20221231.xsd</File>
    <File>cf-20221231_cal.xml</File>
    <File>cf-20221231_def.xml</File>
    <File>cf-20221231_lab.xml</File>
    <File>cf-20221231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="2005">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>
