XML 103 R80.htm IDEA: XBRL DOCUMENT
v3.22.4

Debt - Narrative (Details) - USD ($) |  |  |  | 3 Months Ended | 12 Months Ended
--- | --- | --- | --- | --- | ---
Apr. 27, 2022 | Apr. 08, 2022 | Feb. 29, 2020 | Dec. 31, 2022 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Debt Instrument [Line Items] |  |  |  |  |  |  |
Gain on the extinguishment of debt |  |  |  |  | $ 604,000 | $ 0 | $ (25,915,000)
Fair value of financing arrangements |  |  |  | $ 39,800,000 | 39,800,000 | 37,400,000 |
Proceeds from issuance of senior notes |  |  |  |  | 0 | 0 | 748,925,000
HEP |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Maximum borrowing capacity under revolving credit agreement |  |  |  | 1,200,000,000 | 1,200,000,000 |  |
Outstanding borrowing |  |  |  | 668,000,000 | 668,000,000 | $ 840,000,000 |
Letters of credit amount outstanding |  |  |  | 0 | 0 |  |
Maximum borrowing capacity with accordion feature |  |  |  | $ 1,700,000,000 | $ 1,700,000,000 |  |
Effective interest rate on debt |  |  |  | 6.32% | 6.32% | 2.35% |
Gain on the extinguishment of debt |  |  | $ (25,900,000) |  |  |  |
Redemption cost |  |  | 522,500,000 |  |  |  |
Debt redemption premium |  |  | 22,500,000 |  |  |  |
Unamortized discount and financing costs |  |  | $ 3,400,000 |  |  |  |
Proceeds from issuance of senior notes |  |  |  |  | $ 400,000,000 | $ 0 | $ 500,000,000
HF Sinclair Credit Agreement |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Maximum borrowing capacity under revolving credit agreement | $ 1,650,000,000 |  |  |  |  |  |
HF Sinclair Credit Agreement | Fed Funds Effective Rate |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 0.005% |  |  |  |  |  |
HF Sinclair Credit Agreement | Secured Overnight Financing Rate (SOFR) |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 1.00% |  |  |  |  |  |
HF Sinclair Credit Agreement | Base Rate | Minimum |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 0.25% |  |  |  |  |  |
HF Sinclair Credit Agreement | Base Rate | Maximum |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 1.125% |  |  |  |  |  |
HF Sinclair Credit Agreement | CDOR Rate | Minimum |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 1.25% |  |  |  |  |  |
HF Sinclair Credit Agreement | CDOR Rate | Maximum |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 2.125% |  |  |  |  |  |
HF Sinclair Credit Agreement | Adjusted Secured Overnight Financing Rate (SOFR) | Minimum |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 1.25% |  |  |  |  |  |
HF Sinclair Credit Agreement | Adjusted Secured Overnight Financing Rate (SOFR) | Maximum |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 2.125% |  |  |  |  |  |
HF Sinclair Credit Agreement | HEP | Base Rate | Minimum |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 0.75% |  |  |  |  |  |
HF Sinclair Credit Agreement | HEP | Base Rate | Maximum |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 1.75% |  |  |  |  |  |
HF Sinclair Credit Agreement | HEP | Adjusted Secured Overnight Financing Rate (SOFR) | Minimum |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 1.75% |  |  |  |  |  |
HF Sinclair Credit Agreement | HEP | Adjusted Secured Overnight Financing Rate (SOFR) | Maximum |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Variable rate spread | 2.75% |  |  |  |  |  |
Terminated HFC Credit Agreement |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Maximum borrowing capacity under revolving credit agreement |  |  |  | $ 1,350,000,000 | 1,350,000,000 |  |
Outstanding borrowing |  |  |  | 0 | 0 |  |
Letters of credit amount outstanding |  |  |  | 2,300,000 | 2,300,000 |  |
Letter of Credit | HEP |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Line of credit, maximum capacity available |  |  |  | $ 50,000,000 | $ 50,000,000 |  |
HollyFrontier 2.625% Senior Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Stated interest rate | 2.625% |  |  | 0.02625% | 0.02625% |  |
Debt extinguishment |  |  |  | $ 15,000,000 |  |  |
HollyFrontier 5.875% Senior Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Stated interest rate | 5.875% |  |  | 5.875% | 5.875% |  |
HollyFrontier 4.500% Senior Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Stated interest rate | 4.50% |  |  | 4.50% | 4.50% |  |
HF Sinclair 2.625% Senior Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Stated interest rate | 2.625% |  |  | 2.625% | 2.625% |  |
Debt extinguishment |  |  |  | $ 42,200,000 |  |  |
HF Sinclair 2.625% Senior Notes Due 2023 And HollyFrontier 2.625% Senior Notes Due 2023 |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Total cash consideration paid to repurchase principal amounts outstanding |  |  |  |  | $ 41,400,000 |  |
Gain on the extinguishment of debt |  |  |  |  | $ 600,000 |  |
HF Sinclair 5.875% Senior Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Stated interest rate | 5.875% |  |  | 5.875% | 5.875% |  |
HF Sinclair 4.500% Senior Notes |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Stated interest rate | 4.50% |  |  | 4.50% | 4.50% |  |
5.000% Senior Notes | HEP |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Stated interest rate |  |  | 5.00% | 5.00% | 5.00% |  |
Aggregate principal amount of senior note |  |  | $ 500,000,000 |  |  |  |
6.0% Senior Notes | HEP |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Stated interest rate |  |  | 6.00% |  |  |  |
Aggregate principal amount of senior note |  |  | $ 500,000,000 |  |  |  |
6.375% Senior Notes | HEP |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |
Stated interest rate |  | 6.375% |  | 6.375% | 6.375% |  |
Aggregate principal amount of senior note |  | $ 400,000,000 |  |  |  |  |
Proceeds from issuance of senior notes |  | $ 393,000,000 |  |  |  |  |

X
- Definition Debt Instrument, Redemption Premium + References No definition available. + Details
Name: | dino_DebtInstrumentRedemptionPremium
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Extinguishment Of Debt, Including Early Extinguishment Premium, Amount + References No definition available. + Details
Name: | dino_ExtinguishmentOfDebtIncludingEarlyExtinguishmentPremiumAmount
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Arrangement Obligations + References No definition available. + Details
Name: | dino_FinancingArrangementObligations
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line Of Credit Facility, Accordion Feature, Maximum Borrowing Capacity + References No definition available. + Details
Name: | dino_LineOfCreditFacilityAccordionFeatureMaximumBorrowingCapacity
Namespace Prefix: | dino_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 6 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after accumulated amortization, of debt discount. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Gross amount of debt extinguished. + References No definition available. + Details
Name: | us-gaap_ExtinguishmentOfDebtAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The maximum amount of borrowing capacity under a line of credit that is available as of the balance sheet date for financing purchases of goods acquired for inventory or imminent delivery to a customer. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCapacityAvailableForTradePurchases
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of cash outflow for cost from early extinguishment and prepayment of debt. Includes, but is not limited to, third-party cost, premium paid, and other fee paid to lender directly for debt extinguishment or debt prepayment. Excludes accrued interest. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (g) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsOfDebtExtinguishmentCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from a borrowing with the highest claim on the assets of the entity in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle, if longer). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=us-gaap_VariableInterestEntityPrimaryBeneficiaryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_HFSinclairCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=dino_FedFundsEffectiveRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=dino_SecuredOvernightFinancingRateSOFRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=dino_CDORRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=dino_AdjustedSecuredOvernightFinancingRateSOFRMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_HollyFrontierCreditFacultyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_LetterOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_HollyFrontier2625SeniorNotesDue2023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_HollyFrontier5875SeniorNotesDue2026Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_HollyFrontier4500SeniorNotesDue2030Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_HFSinclair2625SeniorNotesDue2023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_HFSinclair2625SeniorNotesDue2023AndHollyFrontier2625SeniorNotesDue2023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_HFSinclair5875SeniorNotesDue2026Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_HFSinclair4500SeniorNotesDue2030Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_A50SeniorNotesDueFebruary2028Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_A60SeniorNotesDueAugust2024Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=dino_A6375SeniorNotesDue2027Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |