<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>474</ContextCount>
  <ElementCount>378</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>75</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="osk-20240930.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.oshkosh.com/20240930/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFINCOME</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100030 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100040 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100050 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100060 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITY</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100070 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100080 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995455 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureBasisOfPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995465 - Disclosure - New Accounting Standards</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureNewAccountingStandards</Role>
      <ShortName>New Accounting Standards</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995475 - Disclosure - Acquisitions and Divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureAcquisitionsAndDivestitures</Role>
      <ShortName>Acquisitions and Divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995485 - Disclosure - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureRevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995495 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995505 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureEmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995515 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995525 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureEarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995535 - Disclosure - Receivables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureReceivables</Role>
      <ShortName>Receivables</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995545 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureInventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995555 - Disclosure - Property, Plant and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosurePropertyPlantAndEquipment</Role>
      <ShortName>Property, Plant and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995565 - Disclosure - Goodwill and Purchased Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGoodwillAndPurchasedIntangibleAssets</Role>
      <ShortName>Goodwill and Purchased Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995575 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995585 - Disclosure - Warranties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureWarranties</Role>
      <ShortName>Warranties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995595 - Disclosure - Guarantee Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGuaranteeArrangements</Role>
      <ShortName>Guarantee Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995605 - Disclosure - Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureContingencies1</Role>
      <ShortName>Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995615 - Disclosure - Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureShareholdersEquity</Role>
      <ShortName>Shareholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995625 - Disclosure - Accumulated Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveIncomeLoss</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995635 - Disclosure - Fair Value Measurement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureFairValueMeasurement</Role>
      <ShortName>Fair Value Measurement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995645 - Disclosure - Business Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureBusinessSegmentInformation</Role>
      <ShortName>Business Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995675 - Disclosure - Acquisitions and Divestitures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureAcquisitionsAndDivestituresTables</Role>
      <ShortName>Acquisitions and Divestitures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureAcquisitionsAndDivestitures</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995685 - Disclosure - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureRevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureRevenueRecognition</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995695 - Disclosure - Employee Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureEmployeeBenefitPlansTables</Role>
      <ShortName>Employee Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureEmployeeBenefitPlans</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995705 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureEarningsPerShare</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995715 - Disclosure - Receivables (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureReceivablesTables</Role>
      <ShortName>Receivables (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureReceivables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995725 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureInventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureInventories</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995735 - Disclosure - Property, Plant and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentTables</Role>
      <ShortName>Property, Plant and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosurePropertyPlantAndEquipment</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995745 - Disclosure - Goodwill and Purchased Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGoodwillAndPurchasedIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Purchased Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGoodwillAndPurchasedIntangibleAssets</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995755 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureDebt</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995765 - Disclosure - Warranties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureWarrantiesTables</Role>
      <ShortName>Warranties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureWarranties</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995775 - Disclosure - Guarantee Arrangements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGuaranteeArrangementsTables</Role>
      <ShortName>Guarantee Arrangements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGuaranteeArrangements</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995785 - Disclosure - Shareholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureShareholdersEquityTables</Role>
      <ShortName>Shareholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureShareholdersEquity</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995795 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveIncomeLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveIncomeLoss</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995805 - Disclosure - Fair Value Measurement (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureFairValueMeasurementTables</Role>
      <ShortName>Fair Value Measurement (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureFairValueMeasurement</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995815 - Disclosure - Business Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureBusinessSegmentInformationTables</Role>
      <ShortName>Business Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureBusinessSegmentInformation</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995825 - Disclosure - New Accounting Standards - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureNewAccountingStandardsAdditionalInformationDetails</Role>
      <ShortName>New Accounting Standards - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995835 - Disclosure - Acquisitions and Divestitures - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureAcquisitionsAndDivestituresAdditionalInformationDetails</Role>
      <ShortName>Acquisitions and Divestitures - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995845 - Disclosure - Acquisitions and Divestitures - Summary of Fair Values of Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureAcquisitionsAndDivestituresSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedDetails</Role>
      <ShortName>Acquisitions and Divestitures - Summary of Fair Values of Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995855 - Disclosure - Acquisitions and Divestitures - Summary of Unaudited Pro forma Financial Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureAcquisitionsAndDivestituresSummaryOfUnauditedProFormaFinancialInformationDetails</Role>
      <ShortName>Acquisitions and Divestitures - Summary of Unaudited Pro forma Financial Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995865 - Disclosure - Revenue Recognition - Schedule of Impact Due to Contract Adjustments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureRevenueRecognitionScheduleOfImpactDueToContractAdjustmentsDetails</Role>
      <ShortName>Revenue Recognition - Schedule of Impact Due to Contract Adjustments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995875 - Disclosure - Revenue Recognition - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureRevenueRecognitionAdditionalInformationDetails</Role>
      <ShortName>Revenue Recognition - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995885 - Disclosure - Revenue Recognition - Schedule of Deferred Contract Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureRevenueRecognitionScheduleOfDeferredContractCostsDetails</Role>
      <ShortName>Revenue Recognition - Schedule of Deferred Contract Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995895 - Disclosure - Revenue Recognition - Disaggregation of Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureRevenueRecognitionDisaggregationOfRevenueDetails</Role>
      <ShortName>Revenue Recognition - Disaggregation of Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995905 - Disclosure - Revenue Recognition - Schedule of Contract Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureRevenueRecognitionScheduleOfContractLiabilitiesDetails</Role>
      <ShortName>Revenue Recognition - Schedule of Contract Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995915 - Disclosure - Revenue Recognition - Schedule of Contract Liabilities Recognized in Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureRevenueRecognitionScheduleOfContractLiabilitiesRecognizedInRevenueDetails</Role>
      <ShortName>Revenue Recognition - Schedule of Contract Liabilities Recognized in Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995925 - Disclosure - Revenue Recognition - Schedule of Changes in Warranty Liabilities and Unearned Extended Warranty Premiums (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureRevenueRecognitionScheduleOfChangesInWarrantyLiabilitiesAndUnearnedExtendedWarrantyPremiumsDetails</Role>
      <ShortName>Revenue Recognition - Schedule of Changes in Warranty Liabilities and Unearned Extended Warranty Premiums (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995935 - Disclosure - Revenue Recognition - Schedule of Classification of Service-type Warranties in Condensed Consolidated Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureRevenueRecognitionScheduleOfClassificationOfServiceTypeWarrantiesInCondensedConsolidatedBalanceSheetsDetails</Role>
      <ShortName>Revenue Recognition - Schedule of Classification of Service-type Warranties in Condensed Consolidated Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>995945 - Disclosure - Revenue Recognition - Additional Information (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureRevenueRecognitionAdditionalInformationDetails1</Role>
      <ShortName>Revenue Recognition - Additional Information (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>995955 - Disclosure - Stock-Based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>995965 - Disclosure - Employee Benefit Plans - Schedule of Net Periodic Pension Benefit Cost and Net Periodic Post-employment Benefit Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureEmployeeBenefitPlansScheduleOfNetPeriodicPensionBenefitCostAndNetPeriodicPostemploymentBenefitCostDetails</Role>
      <ShortName>Employee Benefit Plans - Schedule of Net Periodic Pension Benefit Cost and Net Periodic Post-employment Benefit Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>995975 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>995985 - Disclosure - Earnings Per Share - Schedule of Earnings Per Share, Basic and Diluted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfEarningsPerShareBasicAndDilutedDetails</Role>
      <ShortName>Earnings Per Share - Schedule of Earnings Per Share, Basic and Diluted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>995995 - Disclosure - Earnings Per Share - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureEarningsPerShareAdditionalInformationDetails</Role>
      <ShortName>Earnings Per Share - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>996005 - Disclosure - Receivables - Schedule of Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureReceivablesScheduleOfReceivablesDetails</Role>
      <ShortName>Receivables - Schedule of Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>996015 - Disclosure - Receivables - Schedule of Classification of Receivables in the Condensed Consolidated Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureReceivablesScheduleOfClassificationOfReceivablesInCondensedConsolidatedBalanceSheetsDetails</Role>
      <ShortName>Receivables - Schedule of Classification of Receivables in the Condensed Consolidated Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996025 - Disclosure - Receivables - Schedule of Allowance for Doubtful Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureReceivablesScheduleOfAllowanceForDoubtfulAccountsDetails</Role>
      <ShortName>Receivables - Schedule of Allowance for Doubtful Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996035 - Disclosure - Inventories - Schedule of Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureInventoriesScheduleOfInventoriesDetails</Role>
      <ShortName>Inventories - Schedule of Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996045 - Disclosure - Property, Plant and Equipment - Schedule of Property, Plant and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentScheduleOfPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Property, Plant and Equipment - Schedule of Property, Plant and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996055 - Disclosure - Property, Plant and Equipment - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentAdditionalInformationDetails</Role>
      <ShortName>Property, Plant and Equipment - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996065 - Disclosure - Goodwill and Purchased Intangible Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGoodwillAndPurchasedIntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Goodwill and Purchased Intangible Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996075 - Disclosure - Goodwill and Purchased Intangible Assets - Schedule of Changes in Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGoodwillAndPurchasedIntangibleAssetsScheduleOfChangesInGoodwillDetails</Role>
      <ShortName>Goodwill and Purchased Intangible Assets - Schedule of Changes in Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996085 - Disclosure - Goodwill and Purchased Intangible Assets - Goodwill Allocated to Reportable Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGoodwillAndPurchasedIntangibleAssetsGoodwillAllocatedToReportableSegmentsDetails</Role>
      <ShortName>Goodwill and Purchased Intangible Assets - Goodwill Allocated to Reportable Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996095 - Disclosure - Goodwill and Purchased Intangible Assets - Schedule of Purchased Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGoodwillAndPurchasedIntangibleAssetsScheduleOfPurchasedIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Purchased Intangible Assets - Schedule of Purchased Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996105 - Disclosure - Goodwill and Purchased Intangible Assets - Schedule of Estimated Future Amortization Expense for Purchased Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureGoodwillAndPurchasedIntangibleAssetsScheduleOfEstimatedFutureAmortizationExpenseForPurchasedIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Purchased Intangible Assets - Schedule of Estimated Future Amortization Expense for Purchased Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996115 - Disclosure - Debt - Schedule of Debt Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureDebtScheduleOfDebtInstrumentsDetails</Role>
      <ShortName>Debt - Schedule of Debt Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996125 - Disclosure - Debt - Schedule of Debt Instruments (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureDebtScheduleOfDebtInstrumentsParentheticalDetails</Role>
      <ShortName>Debt - Schedule of Debt Instruments (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996135 - Disclosure - Debt - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureDebtAdditionalInformationDetails</Role>
      <ShortName>Debt - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996145 - Disclosure - Warranties - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureWarrantiesAdditionalInformationDetails</Role>
      <ShortName>Warranties - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996155 - Disclosure - Warranties -Schedule of Changes in Assurance-type Warranty Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureWarrantiesScheduleOfChangesInAssurancetypeWarrantyLiabilitiesDetails</Role>
      <ShortName>Warranties -Schedule of Changes in Assurance-type Warranty Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996165 - Disclosure - Guarantee Arrangements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGuaranteeArrangementsAdditionalInformationDetails</Role>
      <ShortName>Guarantee Arrangements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996175 - Disclosure - Guarantee Arrangements - Schedule of Provision for Losses on Customer Guarantees (Details1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureGuaranteeArrangementsScheduleOfProvisionForLossesOnCustomerGuaranteesDetails1</Role>
      <ShortName>Guarantee Arrangements - Schedule of Provision for Losses on Customer Guarantees (Details1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996185 - Disclosure - Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureContingenciesAdditionalInformationDetails</Role>
      <ShortName>Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996195 - Disclosure - Shareholders' Equity - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetails</Role>
      <ShortName>Shareholders' Equity - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996205 - Disclosure - Shareholders' Equity - Summary of Changes to Common Shares Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureShareholdersEquitySummaryOfChangesToCommonSharesOutstandingDetails</Role>
      <ShortName>Shareholders' Equity - Summary of Changes to Common Shares Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996215 - Disclosure - Accumulated Other Comprehensive Income (Loss) - Schedule of Changes in Accumulated Other Comprehensive Income (Loss) by Component, Net of Tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeLossScheduleOfChangesInAccumulatedOtherComprehensiveIncomeLossByComponentNetOfTaxDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) - Schedule of Changes in Accumulated Other Comprehensive Income (Loss) by Component, Net of Tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996225 - Disclosure - Accumulated Other Comprehensive Income (Loss) - Schedule of Reclassifications Out of Accumulated Other Comprehensive Income (Loss) Included in Computation of Net Periodic Pension and Post-employment Benefit Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureAccumulatedOtherComprehensiveIncomeLossScheduleOfReclassificationsOutOfAccumulatedOtherComprehensiveIncomeLossIncludedInComputatio</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) - Schedule of Reclassifications Out of Accumulated Other Comprehensive Income (Loss) Included in Computation of Net Periodic Pension and Post-employment Benefit Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996235 - Disclosure - Fair Value Measurement - Schedule of Fair Value of Financial Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureFairValueMeasurementScheduleOfFairValueOfFinancialAssetsAndLiabilitiesDetails</Role>
      <ShortName>Fair Value Measurement - Schedule of Fair Value of Financial Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996245 - Disclosure - Business Segment Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureBusinessSegmentInformationAdditionalInformationDetails</Role>
      <ShortName>Business Segment Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996255 - Disclosure - Business Segment Information - Schedule of Net Sales by Product Lines and Reportable Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureBusinessSegmentInformationScheduleOfNetSalesByProductLinesAndReportableSegmentsDetails</Role>
      <ShortName>Business Segment Information - Schedule of Net Sales by Product Lines and Reportable Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996265 - Disclosure - Business Segment Information - Schedule of Income (Loss) from Continuing Operations by Reportable Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureBusinessSegmentInformationScheduleOfIncomeLossFromContinuingOperationsByReportableSegmentDetails</Role>
      <ShortName>Business Segment Information - Schedule of Income (Loss) from Continuing Operations by Reportable Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996275 - Disclosure - Business Segment Information - Schedule of Income (Loss) from Continuing Operations by Reportable Segment (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/DisclosureBusinessSegmentInformationScheduleOfIncomeLossFromContinuingOperationsByReportableSegmentParentheticalDetails</Role>
      <ShortName>Business Segment Information - Schedule of Income (Loss) from Continuing Operations by Reportable Segment (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="osk-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996285 - Disclosure - Business Segment Information - Schedule of Net Sales by Geographical Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oshkosh.com/20240930/taxonomy/role/Role_DisclosureBusinessSegmentInformationScheduleOfNetSalesByGeographicalSegmentsDetails</Role>
      <ShortName>Business Segment Information - Schedule of Net Sales by Geographical Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="osk-20240930.htm">osk-20240930.htm</File>
    <File>osk-20240930.xsd</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2024</BaseTaxonomy>
    <BaseTaxonomy items="1507">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
