<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>572</ContextCount>
  <ElementCount>654</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>201</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>11</UnitCount>
  <MyReports>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated Statements of Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfShareholdersEquity</Role>
      <ShortName>Consolidated Statements of Shareholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Disclosure - Basis of Presentation and Business Overview</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureBasisOfPresentationAndBusinessOverview</Role>
      <ShortName>Basis of Presentation and Business Overview</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Net Income per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureNetIncomePerShare1</Role>
      <ShortName>Net Income per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Acquisitions, Divestitures and Other Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAcquisitionsDivestituresAndOtherArrangements</Role>
      <ShortName>Acquisitions, Divestitures and Other Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureInventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Prepaid Expenses and Other Current Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosurePrepaidExpensesAndOtherCurrentAssets</Role>
      <ShortName>Prepaid Expenses and Other Current Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Property, Plant and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosurePropertyPlantAndEquipment</Role>
      <ShortName>Property, Plant and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Goodwill and Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssets</Role>
      <ShortName>Goodwill and Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Accrued Expenses and Other Current Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAccruedExpensesAndOtherCurrentLiabilities</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Accrued Trade Discounts and Rebates</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAccruedTradeDiscountsAndRebates</Role>
      <ShortName>Accrued Trade Discounts and Rebates</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Segment and Other Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSegmentAndOtherInformation</Role>
      <ShortName>Segment and Other Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Debt Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureDebtAgreements</Role>
      <ShortName>Debt Agreements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Derivative Instruments and Hedging Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingActivities1</Role>
      <ShortName>Derivative Instruments and Hedging Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Lease Obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureLeaseObligations</Role>
      <ShortName>Lease Obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Legal Proceedings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureLegalProceedings</Role>
      <ShortName>Legal Proceedings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareholdersEquity</Role>
      <ShortName>Shareholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Share-Based and Long-Term Incentive Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareBasedAndLongTermIncentivePlans</Role>
      <ShortName>Share-Based and Long-Term Incentive Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Schedule II - Valuation and Qualifying Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureScheduleIIValuationAndQualifyingAccounts</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Net Income per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureNetIncomePerShareTables</Role>
      <ShortName>Net Income per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureNetIncomePerShare1</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Acquisitions, Divestitures and Other Arrangements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAcquisitionsDivestituresAndOtherArrangementsTables</Role>
      <ShortName>Acquisitions, Divestitures and Other Arrangements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAcquisitionsDivestituresAndOtherArrangements</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureInventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureInventories</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Prepaid Expenses and Other Current Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosurePrepaidExpensesAndOtherCurrentAssetsTables</Role>
      <ShortName>Prepaid Expenses and Other Current Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosurePrepaidExpensesAndOtherCurrentAssets</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Property, Plant and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentTables</Role>
      <ShortName>Property, Plant and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosurePropertyPlantAndEquipment</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Goodwill and Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssets</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Accrued Expenses and Other Current Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAccruedExpensesAndOtherCurrentLiabilitiesTables</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAccruedExpensesAndOtherCurrentLiabilities</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Accrued Trade Discounts and Rebates (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAccruedTradeDiscountsAndRebatesTables</Role>
      <ShortName>Accrued Trade Discounts and Rebates (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAccruedTradeDiscountsAndRebates</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Segment and Other Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSegmentAndOtherInformationTables</Role>
      <ShortName>Segment and Other Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSegmentAndOtherInformation</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurements</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Debt Agreements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureDebtAgreementsTables</Role>
      <ShortName>Debt Agreements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureDebtAgreements</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Derivative Instruments and Hedging Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesTables</Role>
      <ShortName>Derivative Instruments and Hedging Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingActivities1</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Lease Obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureLeaseObligationsTables</Role>
      <ShortName>Lease Obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureLeaseObligations</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Share-Based and Long-Term Incentive Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareBasedAndLongTermIncentivePlansTables</Role>
      <ShortName>Share-Based and Long-Term Incentive Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareBasedAndLongTermIncentivePlans</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxes</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Employee Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansTables</Role>
      <ShortName>Employee Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlans</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Basis of Presentation and Business Overview - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureBasisOfPresentationAndBusinessOverviewAdditionalInformationDetail</Role>
      <ShortName>Basis of Presentation and Business Overview - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Summary of Significant Accounting Policies - Depreciation and Amortization Periods for Property, Plant and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesDepreciationAndAmortizationPeriodsForPropertyPlantAndEquipmentDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Depreciation and Amortization Periods for Property, Plant and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Net Income per Share - Basic and Diluted Net Income per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureNetIncomePerShareBasicAndDilutedNetIncomePerShareDetail</Role>
      <ShortName>Net Income per Share - Basic and Diluted Net Income per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Net Income per Share - Schedule of Outstanding Securities Excluded from Computation of Diluted Income per Ordinary Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureNetIncomePerShareScheduleOfOutstandingSecuritiesExcludedFromComputationOfDilutedIncomePerOrdinaryShareDetail</Role>
      <ShortName>Net Income per Share - Schedule of Outstanding Securities Excluded from Computation of Diluted Income per Ordinary Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Net Income per Share - Schedule of Outstanding Securities Excluded from Computation of Diluted Income per Ordinary Share ( Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureNetIncomePerShareScheduleOfOutstandingSecuritiesExcludedFromComputationOfDilutedIncomePerOrdinaryShareParentheticalDetail</Role>
      <ShortName>Net Income per Share - Schedule of Outstanding Securities Excluded from Computation of Diluted Income per Ordinary Share ( Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Net Income per Share - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureNetIncomePerShareAdditionalInformationDetail</Role>
      <ShortName>Net Income per Share - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Acquisitions, Divestitures and Other Arrangements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAcquisitionsDivestituresAndOtherArrangementsAdditionalInformationDetail</Role>
      <ShortName>Acquisitions, Divestitures and Other Arrangements - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Acquisitions, Divestitures and Other Arrangements - Summary of Fair Values of Assets Acquired (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAcquisitionsDivestituresAndOtherArrangementsSummaryOfFairValuesOfAssetsAcquiredDetails</Role>
      <ShortName>Acquisitions, Divestitures and Other Arrangements - Summary of Fair Values of Assets Acquired (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Acquisitions, Divestitures and Other Arrangements - Schedule of Total Consideration for the Acquisitions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAcquisitionsDivestituresAndOtherArrangementsScheduleOfTotalConsiderationForAcquisitionsDetail</Role>
      <ShortName>Acquisitions, Divestitures and Other Arrangements - Schedule of Total Consideration for the Acquisitions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Acquisitions, Divestitures and Other Arrangements - Schedule of Total Consideration for the Acquisitions ((Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAcquisitionsDivestituresAndOtherArrangementsScheduleOfTotalConsiderationForAcquisitionsParentheticalDetail</Role>
      <ShortName>Acquisitions, Divestitures and Other Arrangements - Schedule of Total Consideration for the Acquisitions ((Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Acquisitions, Divestitures and Other Arrangements - Schedule of Recognized Identified Assets Acquired and Liabilities Assumed (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAcquisitionsDivestituresAndOtherArrangementsScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedDetail</Role>
      <ShortName>Acquisitions, Divestitures and Other Arrangements - Schedule of Recognized Identified Assets Acquired and Liabilities Assumed (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Acquisitions, Divestitures and Other Arrangements - Summary Of Pro Forma Combined Results (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureAcquisitionsDivestituresAndOtherArrangementsSummaryOfProFormaCombinedResultsDetail</Role>
      <ShortName>Acquisitions, Divestitures and Other Arrangements - Summary Of Pro Forma Combined Results (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Inventories - Components of Inventories (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureInventoriesComponentsOfInventoriesDetail</Role>
      <ShortName>Inventories - Components of Inventories (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Inventories - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureInventoriesAdditionalInformationDetail</Role>
      <ShortName>Inventories - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Prepaid Expenses and Other Current Assets - Prepaid Expenses and Other Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsPrepaidExpensesAndOtherCurrentAssetsDetails</Role>
      <ShortName>Prepaid Expenses and Other Current Assets - Prepaid Expenses and Other Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Prepaid Expenses and Other Current Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsAdditionalInformationDetails</Role>
      <ShortName>Prepaid Expenses and Other Current Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Property, Plant and Equipment - Property, Plant and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentPropertyPlantAndEquipmentDetail</Role>
      <ShortName>Property, Plant and Equipment - Property, Plant and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Property, Plant and Equipment - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosurePropertyPlantAndEquipmentAdditionalInformationDetail</Role>
      <ShortName>Property, Plant and Equipment - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Goodwill and Intangible Assets - Schedule of Goodwill for Reportable Segments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsScheduleOfGoodwillForReportableSegmentsDetail</Role>
      <ShortName>Goodwill and Intangible Assets - Schedule of Goodwill for Reportable Segments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Goodwill and Intangible Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAdditionalInformationDetail</Role>
      <ShortName>Goodwill and Intangible Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Goodwill and Intangible Assets - Amortizable Intangible Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAmortizableIntangibleAssetsDetail</Role>
      <ShortName>Goodwill and Intangible Assets - Amortizable Intangible Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Goodwill and Intangible Assets - Amortizable Intangible Assets - (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsAmortizableIntangibleAssetsParentheticalDetail</Role>
      <ShortName>Goodwill and Intangible Assets - Amortizable Intangible Assets - (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100690 - Disclosure - Goodwill and Intangible Assets - Estimated Future Amortization Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureGoodwillAndIntangibleAssetsEstimatedFutureAmortizationExpenseDetail</Role>
      <ShortName>Goodwill and Intangible Assets - Estimated Future Amortization Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Accrued Expenses and Other Current Liabilities - Schedule of Accrued Expenses and Other Current Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAccruedExpensesAndOtherCurrentLiabilitiesScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesDetail</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities - Schedule of Accrued Expenses and Other Current Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Accrued Expenses and Other Current Liabilities - Schedule of Changes to Refund Liability (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesScheduleOfChangesToRefundLiabilityDetail</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities - Schedule of Changes to Refund Liability (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Accrued Trade Discounts and Rebates - Schedule of Accrued Trade Discounts and Rebates (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAccruedTradeDiscountsAndRebatesScheduleOfAccruedTradeDiscountsAndRebatesDetail</Role>
      <ShortName>Accrued Trade Discounts and Rebates - Schedule of Accrued Trade Discounts and Rebates (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100730 - Disclosure - Accrued Trade Discounts and Rebates - Schedule of Customer-Related Accruals and Allowances (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureAccruedTradeDiscountsAndRebatesScheduleOfCustomerRelatedAccrualsAndAllowancesDetail</Role>
      <ShortName>Accrued Trade Discounts and Rebates - Schedule of Customer-Related Accruals and Allowances (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Segment and Other Information - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSegmentAndOtherInformationAdditionalInformationDetail</Role>
      <ShortName>Segment and Other Information - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100760 - Disclosure - Segment and Other Information - Summary of Net Sales by Medicine (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureSegmentAndOtherInformationSummaryOfNetSalesByMedicineDetail</Role>
      <ShortName>Segment and Other Information - Summary of Net Sales by Medicine (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Segment and Other Information - Summary of Net Sales by Medicine (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureSegmentAndOtherInformationSummaryOfNetSalesByMedicineParentheticalDetail</Role>
      <ShortName>Segment and Other Information - Summary of Net Sales by Medicine (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Segment and Other Information - Schedule of Gross Sales to Customers Included in Reportable Segments and All Other Customers as a Group (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSegmentAndOtherInformationScheduleOfGrossSalesToCustomersIncludedInReportableSegmentsAndAllOtherCustomersAsGroupDetail</Role>
      <ShortName>Segment and Other Information - Schedule of Gross Sales to Customers Included in Reportable Segments and All Other Customers as a Group (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Segment and Other Information - Summary of Net Sales Attributed to Geographic Sources (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSegmentAndOtherInformationSummaryOfNetSalesAttributedToGeographicSourcesDetail</Role>
      <ShortName>Segment and Other Information - Summary of Net Sales Attributed to Geographic Sources (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100800 - Disclosure - Segment and Other Information - Summary of Total Long-Lived Assets by Location (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureSegmentAndOtherInformationSummaryOfTotalLongLivedAssetsByLocationDetail</Role>
      <ShortName>Segment and Other Information - Summary of Total Long-Lived Assets by Location (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Fair Value Measurements - Assets and Liabilities at Fair Value on Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementsAssetsAndLiabilitiesAtFairValueOnRecurringBasisDetail</Role>
      <ShortName>Fair Value Measurements - Assets and Liabilities at Fair Value on Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>100830 - Disclosure - Fair Value Measurements - Assets and Liabilities at Fair Value on Recurring Basis (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureFairValueMeasurementsAssetsAndLiabilitiesAtFairValueOnRecurringBasisParentheticalDetail</Role>
      <ShortName>Fair Value Measurements - Assets and Liabilities at Fair Value on Recurring Basis (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>100840 - Disclosure - Debt Agreements - Outstanding Debt Balances (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureDebtAgreementsOutstandingDebtBalancesDetail</Role>
      <ShortName>Debt Agreements - Outstanding Debt Balances (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>100850 - Disclosure - Debt Agreements - Scheduled Maturities of Long-term Debt (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureDebtAgreementsScheduledMaturitiesOfLongTermDebtDetail</Role>
      <ShortName>Debt Agreements - Scheduled Maturities of Long-term Debt (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>100860 - Disclosure - Debt Agreements - Term Loan Facility and Revolving Credit Facility - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureDebtAgreementsTermLoanFacilityAndRevolvingCreditFacilityAdditionalInformationDetail</Role>
      <ShortName>Debt Agreements - Term Loan Facility and Revolving Credit Facility - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>100870 - Disclosure - Debt Agreements - 2027 Senior Notes - Additional Information (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureDebtAgreements2027SeniorNotesAdditionalInformationDetail</Role>
      <ShortName>Debt Agreements - 2027 Senior Notes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>100880 - Disclosure - Derivative Instruments and Hedging Activities - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesAdditionalInformationDetail</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>100890 - Disclosure - Derivative Instruments and Hedging Activities - Summery of Amounts and Locations of Derivative Instruments on Condensed Consolidated Balance Sheet (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesSummeryOfAmountsAndLocationsOfDerivativeInstrumentsOnCondensedConsolidatedBalanceSheetDe</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Summery of Amounts and Locations of Derivative Instruments on Condensed Consolidated Balance Sheet (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>100900 - Disclosure - Derivative Instruments and Hedging Activities - Summery of Pre-tax Amount and Locations of Derivative Instrument Net Gains (Losses) Recognized in the Condensed Consolidated Statement of Comprehensive Income (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesSummeryOfPretaxAmountAndLocationsOfDerivativeInstrumentNetGainsLossesRecognizedInTheCo</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Summery of Pre-tax Amount and Locations of Derivative Instrument Net Gains (Losses) Recognized in the Condensed Consolidated Statement of Comprehensive Income (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>100910 - Disclosure - Derivative Instruments and Hedging Activities - Summery of Pre-tax Amounts of Gains From Derivative Instruments Recognized in Other Comprehensive Income (Loss) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgingActivitiesSummeryOfPretaxAmountsOfGainsFromDerivativeInstrumentsRecognizedInOtherComprehensiveInco</Role>
      <ShortName>Derivative Instruments and Hedging Activities - Summery of Pre-tax Amounts of Gains From Derivative Instruments Recognized in Other Comprehensive Income (Loss) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>100930 - Disclosure - Lease Obligations - Schedule of Office Space Lease Agreements in Place for Real Properties (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureLeaseObligationsScheduleOfOfficeSpaceLeaseAgreementsInPlaceForRealPropertiesDetail</Role>
      <ShortName>Lease Obligations - Schedule of Office Space Lease Agreements in Place for Real Properties (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>100940 - Disclosure - Lease Obligations - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureLeaseObligationsAdditionalInformationDetail</Role>
      <ShortName>Lease Obligations - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>100950 - Disclosure - Lease Obligations - Schedule of Lease Liabilities Recorded on the Balance Sheet (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureLeaseObligationsScheduleOfLeaseLiabilitiesRecordedOnBalanceSheetDetail</Role>
      <ShortName>Lease Obligations - Schedule of Lease Liabilities Recorded on the Balance Sheet (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>100960 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>100970 - Disclosure - Shareholders' Equity - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareholdersEquityAdditionalInformationDetail</Role>
      <ShortName>Shareholders' Equity - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>100980 - Disclosure - Share-Based and Long-Term Incentive Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareBasedAndLongTermIncentivePlansAdditionalInformationDetail</Role>
      <ShortName>Share-Based and Long-Term Incentive Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>100990 - Disclosure - Share-Based and Long-Term Incentive Plans - Estimated Fair Value of Converted Stock Options Using Hull-White Model in Binomial Lattice Option Pricing Framework (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareBasedAndLongTermIncentivePlansEstimatedFairValueOfConvertedStockOptionsUsingHullWhiteModelInBinomialLatticeOptionPricingFrameworkDetail</Role>
      <ShortName>Share-Based and Long-Term Incentive Plans - Estimated Fair Value of Converted Stock Options Using Hull-White Model in Binomial Lattice Option Pricing Framework (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>101000 - Disclosure - Share-Based and Long-Term Incentive Plans - Summary of Stock Option Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareBasedAndLongTermIncentivePlansSummaryOfStockOptionActivityDetail</Role>
      <ShortName>Share-Based and Long-Term Incentive Plans - Summary of Stock Option Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>101010 - Disclosure - Share-Based and Long-Term Incentive Plans - Summary of Outstanding Stock Options (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareBasedAndLongTermIncentivePlansSummaryOfOutstandingStockOptionsDetail</Role>
      <ShortName>Share-Based and Long-Term Incentive Plans - Summary of Outstanding Stock Options (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>101030 - Disclosure - Share-Based and Long-Term Incentive Plans - Summary of Restricted Stock Unit Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareBasedAndLongTermIncentivePlansSummaryOfRestrictedStockUnitActivityDetail</Role>
      <ShortName>Share-Based and Long-Term Incentive Plans - Summary of Restricted Stock Unit Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>101040 - Disclosure - Share-Based and Long-Term Incentive Plans - Summary of Performance Stock Unit Awards Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareBasedAndLongTermIncentivePlansSummaryOfPerformanceStockUnitAwardsActivityDetail</Role>
      <ShortName>Share-Based and Long-Term Incentive Plans - Summary of Performance Stock Unit Awards Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>101050 - Disclosure - Share-Based and Long-Term Incentive Plans - Summary of Performance Stock Unit Awards Activity - (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareBasedAndLongTermIncentivePlansSummaryOfPerformanceStockUnitAwardsActivityParentheticalDetail</Role>
      <ShortName>Share-Based and Long-Term Incentive Plans - Summary of Performance Stock Unit Awards Activity - (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>101060 - Disclosure - Share-Based and Long-Term Incentive Plans - Summary of Significant Valuation Assumptions Related to 2022 Relative TSR PSUs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureSharebasedAndLongtermIncentivePlansSummaryOfSignificantValuationAssumptionsRelatedTo2022RelativeTsrPsusDetail</Role>
      <ShortName>Share-Based and Long-Term Incentive Plans - Summary of Significant Valuation Assumptions Related to 2022 Relative TSR PSUs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>101070 - Disclosure - Share-Based and Long-Term Incentive Plans - Summary of Stock-Based Compensation Expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureShareBasedAndLongTermIncentivePlansSummaryOfStockBasedCompensationExpenseDetail</Role>
      <ShortName>Share-Based and Long-Term Incentive Plans - Summary of Stock-Based Compensation Expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>101080 - Disclosure - Income Taxes - Company's Income Before Expense (Benefit) for Income Taxes by Jurisdiction (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureIncomeTaxesCompanysIncomeBeforeExpenseBenefitForIncomeTaxesByJurisdictionDetail</Role>
      <ShortName>Income Taxes - Company's Income Before Expense (Benefit) for Income Taxes by Jurisdiction (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>101090 - Disclosure - Income Taxes - Components of Expense (Benefit) for Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureIncomeTaxesComponentsOfExpenseBenefitForIncomeTaxesDetail</Role>
      <ShortName>Income Taxes - Components of Expense (Benefit) for Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>101100 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>101110 - Disclosure - Income Taxes - Reconciliation Between Irish Statutory Income Tax Rate and U.S Federal Statutory Income Tax Rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenIrishStatutoryIncomeTaxRateAndUSFederalStatutoryIncomeTaxRateDetail</Role>
      <ShortName>Income Taxes - Reconciliation Between Irish Statutory Income Tax Rate and U.S Federal Statutory Income Tax Rate (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>101120 - Disclosure - Income Taxes - Significant Components of Deferred Tax Assets and Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetail</Role>
      <ShortName>Income Taxes - Significant Components of Deferred Tax Assets and Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>101130 - Disclosure - Income Taxes - Reconciliation of Beginning and Ending Amounts of Valuation Allowance (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationOfBeginningAndEndingAmountsOfValuationAllowanceDetail</Role>
      <ShortName>Income Taxes - Reconciliation of Beginning and Ending Amounts of Valuation Allowance (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>101140 - Disclosure - Income Taxes - Changes in Uncertain Income Tax Positions (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureIncomeTaxesChangesInUncertainIncomeTaxPositionsDetail</Role>
      <ShortName>Income Taxes - Changes in Uncertain Income Tax Positions (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>101150 - Disclosure - Employee Benefit Plans - Summary of Changes in Benefit Obligation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansSummaryOfChangesInBenefitObligationDetail</Role>
      <ShortName>Employee Benefit Plans - Summary of Changes in Benefit Obligation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>101160 - Disclosure - Employee Benefit Plans - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetail</Role>
      <ShortName>Employee Benefit Plans - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>101170 - Disclosure - Employee Benefit Plans - Summary of Amounts Recognized in Consolidated Balance Sheets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureEmployeeBenefitPlansSummaryOfAmountsRecognizedInConsolidatedBalanceSheetsDetail</Role>
      <ShortName>Employee Benefit Plans - Summary of Amounts Recognized in Consolidated Balance Sheets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>101180 - Disclosure - Employee Benefit Plans - Summary of Amounts Recognized in Accumulated Other Comprehensive Loss (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansSummaryOfAmountsRecognizedInAccumulatedOtherComprehensiveLossDetail</Role>
      <ShortName>Employee Benefit Plans - Summary of Amounts Recognized in Accumulated Other Comprehensive Loss (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>115</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>101190 - Disclosure - Employee Benefit Plans - Summary of Total Benefit Payments, Which Reflect Expected Future Service, Expected to Be Paid to Plan Participants (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansSummaryOfTotalBenefitPaymentsWhichReflectExpectedFutureServiceExpectedToBePaidToPlanParticipantsDetail</Role>
      <ShortName>Employee Benefit Plans - Summary of Total Benefit Payments, Which Reflect Expected Future Service, Expected to Be Paid to Plan Participants (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>101200 - Disclosure - Employee Benefit Plans - Summary of Net Period Benefit Cost Recognized and Amounts Recognized in Other Comprehensive (Income) Loss (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureEmployeeBenefitPlansSummaryOfNetPeriodBenefitCostRecognizedAndAmountsRecognizedInOtherComprehensiveIncomeLossDetail</Role>
      <ShortName>Employee Benefit Plans - Summary of Net Period Benefit Cost Recognized and Amounts Recognized in Other Comprehensive (Income) Loss (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>117</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>101210 - Disclosure - Employee Benefit Plans - Summary of Weighted-Average Assumptions and Health Care Cost Trend Rates Used to Determine Benefit Obligation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureEmployeeBenefitPlansSummaryOfWeightedaverageAssumptionsAndHealthCareCostTrendRatesUsedToDetermineBenefitObligationDetail</Role>
      <ShortName>Employee Benefit Plans - Summary of Weighted-Average Assumptions and Health Care Cost Trend Rates Used to Determine Benefit Obligation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>118</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>101220 - Disclosure - Employee Benefit Plans - Summary of Weighted-Average Assumptions and Health Care Cost Trend Rates Used to Determine Net Periodic Benefit Costs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/DisclosureEmployeeBenefitPlansSummaryOfWeightedaverageAssumptionsAndHealthCareCostTrendRatesUsedToDetermineNetPeriodicBenefitCostsDetail</Role>
      <ShortName>Employee Benefit Plans - Summary of Weighted-Average Assumptions and Health Care Cost Trend Rates Used to Determine Net Periodic Benefit Costs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>119</Position>
    </Report>
    <Report instance="hznp-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>101230 - Disclosure - Schedule II - Valuation and Qualifying Accounts (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureScheduleIIValuationAndQualifyingAccountsDetail</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.horizontherapeutics.com/20221231/taxonomy/role/Role_DisclosureScheduleIIValuationAndQualifyingAccounts</ParentRole>
      <Position>120</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 3 fact(s) appearing in ix:hidden were eligible for transformation: dei:CurrentFiscalYearEndDate, hznp:RestrictedStockAwardsVestingPeriod, us-gaap:FiniteLivedIntangibleAssetUsefulLife -  hznp-20221231.htm 8</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-K" original="hznp-20221231.htm">hznp-20221231.htm</File>
    <File>hznp-20221231.xsd</File>
    <File>hznp-20221231_cal.xml</File>
    <File>hznp-20221231_def.xml</File>
    <File>hznp-20221231_lab.xml</File>
    <File>hznp-20221231_pre.xml</File>
    <File>hznp-ex10_13.htm</File>
    <File>hznp-ex10_3.htm</File>
    <File>hznp-ex10_56.htm</File>
    <File>hznp-ex10_57.htm</File>
    <File>hznp-ex21_1.htm</File>
    <File>hznp-ex23_1.htm</File>
    <File>hznp-ex31_1.htm</File>
    <File>hznp-ex31_2.htm</File>
    <File>hznp-ex32_1.htm</File>
    <File>hznp-ex32_2.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img127996310_0.jpg</File>
    <File>img127996310_1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2022</BaseTaxonomy>
    <BaseTaxonomy items="1460">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="37">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
