<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>270</ContextCount>
  <ElementCount>545</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>72</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - Consolidated Statements of (Loss) Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/StatementConsolidatedStatementsOfLossIncome</Role>
      <ShortName>Consolidated Statements of (Loss) Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - Consolidated Statements of Comprehensive (Loss) Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/StatementConsolidatedStatementsOfComprehensiveLossIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive (Loss) Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00500 - Statement - Consolidated Statements of Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/StatementConsolidatedStatementsOfEquity</Role>
      <ShortName>Consolidated Statements of Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Principal Business Activity and Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPolicies</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureBusinessCombinations</Role>
      <ShortName>Business Combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Property, Plant, and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePropertyPlantAndEquipment</Role>
      <ShortName>Property, Plant, and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Intangible Assets and Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIntangibleAssetsAndGoodwill</Role>
      <ShortName>Intangible Assets and Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Earnings (Loss) per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureEarningsLossPerShare</Role>
      <ShortName>Earnings (Loss) per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Stock Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureStockBasedCompensation</Role>
      <ShortName>Stock Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Stockholder's Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureStockholderSEquity</Role>
      <ShortName>Stockholder's Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Non-Controlling Interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureNonControllingInterests</Role>
      <ShortName>Non-Controlling Interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Customer Concentration</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureCustomerConcentration</Role>
      <ShortName>Customer Concentration</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11401 - Disclosure - Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureSegments</Role>
      <ShortName>Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11501 - Disclosure - Related Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureRelatedParties</Role>
      <ShortName>Related Parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11601 - Disclosure - Quarterly information (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureQuarterlyInformationUnaudited</Role>
      <ShortName>Quarterly information (unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>11701 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureEmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>11801 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>20102 - Disclosure - Principal Business Activity and Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPolicies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>30103 - Disclosure - Principal Business Activity and Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesTables</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureBusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureBusinessCombinations</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Property, Plant, and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePropertyPlantAndEquipmentTables</Role>
      <ShortName>Property, Plant, and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosurePropertyPlantAndEquipment</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Intangible Assets and Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIntangibleAssetsAndGoodwillTables</Role>
      <ShortName>Intangible Assets and Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureIntangibleAssetsAndGoodwill</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureDebt</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureLeases</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Earnings (Loss) per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureEarningsLossPerShareTables</Role>
      <ShortName>Earnings (Loss) per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureEarningsLossPerShare</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Stock Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureStockBasedCompensation</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>31103 - Disclosure - Non-Controlling Interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureNonControllingInterestsTables</Role>
      <ShortName>Non-Controlling Interests (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureNonControllingInterests</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>31403 - Disclosure - Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureSegmentsTables</Role>
      <ShortName>Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureSegments</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>31603 - Disclosure - Quarterly information (unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureQuarterlyInformationUnauditedTables</Role>
      <ShortName>Quarterly information (unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureQuarterlyInformationUnaudited</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Principal Business Activity and Significant Accounting Policies - Fair value on a recurring basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesFairValueOnRecurringBasisDetails</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies - Fair value on a recurring basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40102 - Disclosure - Principal Business Activity and Significant Accounting Policies - Fair value on a contingent consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesFairValueOnContingentConsiderationDetails</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies - Fair value on a contingent consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>40103 - Disclosure - Principal Business Activity and Significant Accounting Policies - Receivables and Credit Policy (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesReceivablesAndCreditPolicyDetails</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies - Receivables and Credit Policy (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40104 - Disclosure - Principal Business Activity and Significant Accounting Policies - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesInventoriesDetails</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies - Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40105 - Disclosure - Principal Business Activity and Significant Accounting Policies - PPNE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesPpneDetails</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies - PPNE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40106 - Disclosure - Principal Business Activity and Significant Accounting Policies - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesIntangibleAssetsDetails</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies - Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40107 - Disclosure - Principal Business Activity and Significant Accounting Policies - Disaggregation of revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesDisaggregationOfRevenueDetails</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies - Disaggregation of revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40108 - Disclosure - Principal Business Activity and Significant Accounting Policies - Research and Development and Advertising Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesResearchAndDevelopmentAndAdvertisingCostsDetails</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies - Research and Development and Advertising Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40109 - Disclosure - Principal Business Activity and Significant Accounting Policies - Collaboration Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesCollaborationAgreementsDetails</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies - Collaboration Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40110 - Disclosure - Principal Business Activity and Significant Accounting Policies - Interest expense, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesInterestExpenseNetDetails</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies - Interest expense, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40111 - Disclosure - Principal Business Activity and Significant Accounting Policies - Non-controlling interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePrincipalBusinessActivityAndSignificantAccountingPoliciesNonControllingInterestDetails</Role>
      <ShortName>Principal Business Activity and Significant Accounting Policies - Non-controlling interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Business Combinations - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureBusinessCombinationsNarrativeDetails</Role>
      <ShortName>Business Combinations - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Business Combinations - Total consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureBusinessCombinationsTotalConsiderationDetails</Role>
      <ShortName>Business Combinations - Total consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40203 - Disclosure - Business Combinations - Pro Forma (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureBusinessCombinationsProFormaDetails</Role>
      <ShortName>Business Combinations - Pro Forma (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Property, Plant, and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosurePropertyPlantAndEquipmentDetails</Role>
      <ShortName>Property, Plant, and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosurePropertyPlantAndEquipmentTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Intangible Assets and Goodwill - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIntangibleAssetsAndGoodwillIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets and Goodwill - Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40402 - Disclosure - Intangible Assets and Goodwill - Estimated future amortization expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIntangibleAssetsAndGoodwillEstimatedFutureAmortizationExpenseDetails</Role>
      <ShortName>Intangible Assets and Goodwill - Estimated future amortization expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40403 - Disclosure - Intangible Assets and Goodwill - Schedule of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIntangibleAssetsAndGoodwillScheduleOfGoodwillDetails</Role>
      <ShortName>Intangible Assets and Goodwill - Schedule of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureDebtDetails</Role>
      <ShortName>Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureDebtTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Leases - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureLeasesNarrativeDetails</Role>
      <ShortName>Leases - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>40602 - Disclosure - Leases - Adoption of new lease standard (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureLeasesAdoptionOfNewLeaseStandardDetails</Role>
      <ShortName>Leases - Adoption of new lease standard (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>40603 - Disclosure - Leases - Components of lease expense and other information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureLeasesComponentsOfLeaseExpenseAndOtherInformationDetails</Role>
      <ShortName>Leases - Components of lease expense and other information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>40604 - Disclosure - Leases - Annual future commitments under non-cancelable leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureLeasesAnnualFutureCommitmentsUnderNonCancelableLeasesDetails</Role>
      <ShortName>Leases - Annual future commitments under non-cancelable leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>40605 - Disclosure - Leases - Supplemental Cash Flow (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureLeasesSupplementalCashFlowDetails</Role>
      <ShortName>Leases - Supplemental Cash Flow (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>40606 - Disclosure - Leases - Annual future commitments under non-cancelable leases - ASC 840 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureLeasesAnnualFutureCommitmentsUnderNonCancelableLeasesAsc840Details</Role>
      <ShortName>Leases - Annual future commitments under non-cancelable leases - ASC 840 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>40703 - Disclosure - Income Taxes - Components of earnings before income taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIncomeTaxesComponentsOfEarningsBeforeIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Components of earnings before income taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>40704 - Disclosure - Income Taxes - Provision for income taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIncomeTaxesProvisionForIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Provision for income taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>40705 - Disclosure - Income Taxes - Effective Income Tax Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIncomeTaxesEffectiveIncomeTaxRateReconciliationDetails</Role>
      <ShortName>Income Taxes - Effective Income Tax Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>40706 - Disclosure - Income Taxes - Deferred Tax Assets Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIncomeTaxesDeferredTaxAssetsLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Deferred Tax Assets Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>40707 - Disclosure - Income Taxes - Valuation allowance and NOL (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureIncomeTaxesValuationAllowanceAndNolDetails</Role>
      <ShortName>Income Taxes - Valuation allowance and NOL (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Earnings (Loss) per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureEarningsLossPerShareDetails</Role>
      <ShortName>Earnings (Loss) per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureEarningsLossPerShareTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Stock Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureStockBasedCompensationDetails</Role>
      <ShortName>Stock Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureStockBasedCompensationTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Stock Based Compensation - Weighted Average Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureStockBasedCompensationWeightedAverageAssumptionsDetails</Role>
      <ShortName>Stock Based Compensation - Weighted Average Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>40903 - Disclosure - Stock Based Compensation - Summary of Unvested Stock Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureStockBasedCompensationSummaryOfUnvestedStockOptionsDetails</Role>
      <ShortName>Stock Based Compensation - Summary of Unvested Stock Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>40904 - Disclosure - Stock Based Compensation - Restricted Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureStockBasedCompensationRestrictedStockDetails</Role>
      <ShortName>Stock Based Compensation - Restricted Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Stockholder's Equity - Reorganization and amendment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureStockholderSEquityReorganizationAndAmendmentDetails</Role>
      <ShortName>Stockholder's Equity - Reorganization and amendment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>41002 - Disclosure - Stockholder's Equity - Initial public offering (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureStockholderSEquityInitialPublicOfferingDetails</Role>
      <ShortName>Stockholder's Equity - Initial public offering (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Non-Controlling Interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureNonControllingInterestsDetails</Role>
      <ShortName>Non-Controlling Interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureNonControllingInterestsTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Customer Concentration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureCustomerConcentrationDetails</Role>
      <ShortName>Customer Concentration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureCustomerConcentration</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureCommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>41401 - Disclosure - Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureSegmentsDetails</Role>
      <ShortName>Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureSegmentsTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>41402 - Disclosure - Segments - Reconciles Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureSegmentsReconcilesSegmentsDetails</Role>
      <ShortName>Segments - Reconciles Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>41501 - Disclosure - Related Parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureRelatedPartiesDetails</Role>
      <ShortName>Related Parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureRelatedParties</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>41601 - Disclosure - Quarterly information (unaudited) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureQuarterlyInformationUnauditedDetails</Role>
      <ShortName>Quarterly information (unaudited) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureQuarterlyInformationUnauditedTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="petq-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>41701 - Disclosure - Employee Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.petiq.com/role/DisclosureEmployeeBenefitPlansDetails</Role>
      <ShortName>Employee Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.petiq.com/role/DisclosureEmployeeBenefitPlans</ParentRole>
      <Position>84</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>petq-20191231.xml</File>
    <File>petq-20191231.xsd</File>
    <File>petq-20191231_cal.xml</File>
    <File>petq-20191231_def.xml</File>
    <File>petq-20191231_lab.xml</File>
    <File>petq-20191231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
