<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.7.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>71</ContextCount>
  <ElementCount>206</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>16</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Condensed Consolidated Balance Sheet Parenthetical</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/CondensedConsolidatedBalanceSheetParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheet Parenthetical</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Condensed Consolidated Statements of Income and Retained Earnings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/CondensedConsolidatedStatementsOfIncomeAndRetainedEarnings</Role>
      <ShortName>Condensed Consolidated Statements of Income and Retained Earnings</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Condensed Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/CondensedConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/CondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Basis of Statement Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/BasisOfStatementPresentation</Role>
      <ShortName>Basis of Statement Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - New Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/NewAccountingPronouncements</Role>
      <ShortName>New Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Goodwill and Other Intangibles (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/GoodwillAndOtherIntangiblesNotes</Role>
      <ShortName>Goodwill and Other Intangibles (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Pension and Other Postretirement Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/PensionAndOtherPostretirementBenefits</Role>
      <ShortName>Pension and Other Postretirement Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Operating Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OperatingSegments</Role>
      <ShortName>Operating Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2121100 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2122100 - Disclosure - Accumulated Other Comprehensive (Loss) Income (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oildri.com/role/AccumulatedOtherComprehensiveLossIncomeNotes</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Basis of Statement Presentation Level 2 (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/BasisOfStatementPresentationLevel2Policies</Role>
      <ShortName>Basis of Statement Presentation Level 2 (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.oildri.com/role/NewAccountingPronouncements</ParentRole>
      <Position>16</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2210201 - Disclosure - Inventories Level 2 (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/InventoriesLevel2Policies</Role>
      <ShortName>Inventories Level 2 (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.oildri.com/role/NewAccountingPronouncements</ParentRole>
      <Position>17</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2213201 - Disclosure - Fair Value Measurements Fair Value Measurements (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/FairValueMeasurementsFairValueMeasurementsPolicies</Role>
      <ShortName>Fair Value Measurements Fair Value Measurements (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.oildri.com/role/NewAccountingPronouncements</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2220201 - Disclosure - Operating Segments Level 2 (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OperatingSegmentsLevel2Policies</Role>
      <ShortName>Operating Segments Level 2 (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.oildri.com/role/NewAccountingPronouncements</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2221201 - Disclosure - Stock-Based Compensation Level 2 (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/StockBasedCompensationLevel2Policies</Role>
      <ShortName>Stock-Based Compensation Level 2 (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.oildri.com/role/NewAccountingPronouncements</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2310302 - Disclosure - Inventories Level 3 (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/InventoriesLevel3Tables</Role>
      <ShortName>Inventories Level 3 (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Goodwill and Other Intangibles (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/GoodwillAndOtherIntangiblesTables</Role>
      <ShortName>Goodwill and Other Intangibles (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/GoodwillAndOtherIntangiblesNotes</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2319301 - Disclosure - Pension and Other Postretirement Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/PensionAndOtherPostretirementBenefitsTables</Role>
      <ShortName>Pension and Other Postretirement Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/PensionAndOtherPostretirementBenefits</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2320302 - Disclosure - Operating Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OperatingSegmentsTables</Role>
      <ShortName>Operating Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/OperatingSegments</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2321302 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/StockBasedCompensation</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2322301 - Disclosure - Accumulated Other Comprehensive (Loss) Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/AccumulatedOtherComprehensiveLossIncomeTables</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oildri.com/role/AccumulatedOtherComprehensiveLossIncomeNotes</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2407401 - Disclosure - New Accounting Pronouncements Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/NewAccountingPronouncementsNarrativeDetails</Role>
      <ShortName>New Accounting Pronouncements Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/InventoriesDetails</Role>
      <ShortName>Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/InventoriesLevel3Tables</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Inventories Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/InventoriesNarrativeDetails</Role>
      <ShortName>Inventories Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Fair Value Measurements Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/FairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Goodwill and Other Intangibles (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/GoodwillAndOtherIntangiblesDetails</Role>
      <ShortName>Goodwill and Other Intangibles (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/GoodwillAndOtherIntangiblesTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Goodwill and Other Intangibles Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/GoodwillAndOtherIntangiblesNarrativeDetails</Role>
      <ShortName>Goodwill and Other Intangibles Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2419402 - Disclosure - Pension and Other Postretirement Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/PensionAndOtherPostretirementBenefitsDetails</Role>
      <ShortName>Pension and Other Postretirement Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/PensionAndOtherPostretirementBenefitsTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2419403 - Disclosure - Pension and Other Postretirement Benefits Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/PensionAndOtherPostretirementBenefitsAssumptionsDetails</Role>
      <ShortName>Pension and Other Postretirement Benefits Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2419404 - Disclosure - Pension and Other Postretirement Benefits Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/PensionAndOtherPostretirementBenefitsNarrativeDetails</Role>
      <ShortName>Pension and Other Postretirement Benefits Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/PensionAndOtherPostretirementBenefitsTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2420403 - Disclosure - Operating Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OperatingSegmentsDetails</Role>
      <ShortName>Operating Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/OperatingSegmentsTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2420404 - Disclosure - Operating Segments Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OperatingSegmentsNarrativeDetails</Role>
      <ShortName>Operating Segments Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2421403 - Disclosure - Stock-Based Compensation Stock Option (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/StockBasedCompensationStockOptionDetails</Role>
      <ShortName>Stock-Based Compensation Stock Option (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2421404 - Disclosure - Stock-Based Compensation Summary of Restricted Stock Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/StockBasedCompensationSummaryOfRestrictedStockTransactionsDetails</Role>
      <ShortName>Stock-Based Compensation Summary of Restricted Stock Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2421405 - Disclosure - Stock-Based Compensation Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/StockBasedCompensationNarrativeDetails</Role>
      <ShortName>Stock-Based Compensation Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2422402 - Disclosure - Accumulated Other Comprehensive (Loss) Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/AccumulatedOtherComprehensiveLossIncomeDetails</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/AccumulatedOtherComprehensiveLossIncomeTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="odc-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2422403 - Disclosure - Accumulated Other Comprehensive (Loss) Income Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/AccumulatedOtherComprehensiveLossIncomeNarrativeDetails</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oildri.com/role/AccumulatedOtherComprehensiveLossIncomeTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>odc-20170131.xml</File>
    <File>odc-20170131.xsd</File>
    <File>odc-20170131_cal.xml</File>
    <File>odc-20170131_def.xml</File>
    <File>odc-20170131_lab.xml</File>
    <File>odc-20170131_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
