<?xml version="1.0" encoding="utf-8"?>
<FilingSummary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Version>2.4.0.6</Version>
  <ProcessingTime />
  <ReportFormat>Html</ReportFormat>
  <ContextCount>73</ContextCount>
  <ElementCount>199</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>17</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report>
      <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>
    </Report>
    <Report>
      <IsDefault>true</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>
    </Report>
    <Report>
      <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>
    </Report>
    <Report>
      <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>
    </Report>
    <Report>
      <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>
    </Report>
    <Report>
      <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>
    </Report>
    <Report>
      <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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Capacity Rationalization Charges</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/CapacityRationalizationCharges</Role>
      <ShortName>Capacity Rationalization Charges</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2116100 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Operating Segment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OperatingSegment</Role>
      <ShortName>Operating Segment</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/StockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2219201 - Disclosure - Operating Segment Level 2 (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OperatingSegmentLevel2Policies</Role>
      <ShortName>Operating Segment Level 2 (Policies)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2220201 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Capacity Rationalization Charges (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/CapacityRationalizationChargesTables</Role>
      <ShortName>Capacity Rationalization Charges (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2316301 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2319302 - Disclosure - Operating Segment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OperatingSegmentTables</Role>
      <ShortName>Operating Segment (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2320302 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Capacity Rationalization Charges (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/CapacityRationalizationChargesDetails</Role>
      <ShortName>Capacity Rationalization Charges (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Capacity Rationalization Charges Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/CapacityRationalizationChargesNarrativeDetails</Role>
      <ShortName>Capacity Rationalization Charges Narrative (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/InventoriesDetails</Role>
      <ShortName>Inventories (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2413403 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2416402 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2416403 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2416404 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2419403 - Disclosure - Operating Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/OperatingSegmentDetails</Role>
      <ShortName>Operating Segment (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2420403 - Disclosure - Stock-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oildri.com/role/StockBasedCompensationDetails</Role>
      <ShortName>Stock-Based Compensation (Details)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2420404 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2420405 - 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>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Info">Element us-gaap_CommonStockParOrStatedValuePerShare had a mix of decimals attribute values: 0 2.</Log>
    <Log type="Info">Element us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant had a mix of decimals attribute values: -3 0.</Log>
    <Log type="Info">'Monetary' elements on report '2404403 - Disclosure - Capacity Rationalization Charges Narrative (Details)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">Process Flow-Through: 1001000 - Statement - Condensed Consolidated Balance Sheets</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Apr. 30, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Jul. 31, 2011'</Log>
    <Log type="Info">Process Flow-Through: 1001501 - Statement - Condensed Consolidated Balance Sheet Parenthetical</Log>
    <Log type="Info">Process Flow-Through: 1002000 - Statement - Condensed Consolidated Statements of Income and Retained Earnings</Log>
    <Log type="Info">Process Flow-Through: 1003000 - Statement - Condensed Consolidated Statements of Comprehensive Income</Log>
    <Log type="Info">Process Flow-Through: 1004000 - Statement - Condensed Consolidated Statements of Cash Flows</Log>
  </Logs>
  <InputFiles>
    <File>odc-20130430.xml</File>
    <File>odc-20130430.xsd</File>
    <File>odc-20130430_cal.xml</File>
    <File>odc-20130430_def.xml</File>
    <File>odc-20130430_lab.xml</File>
    <File>odc-20130430_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
