v3.22.2.2
Debt - Narrative (Details) - USD ($)
3 Months Ended 9 Months Ended
Apr. 27, 2022
Apr. 08, 2022
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Debt Instrument [Line Items]              
Fair value of financing arrangements     $ 33,300,000   $ 33,300,000   $ 37,400,000
Capitalized interest     700,000 $ 4,800,000 5,600,000 $ 9,500,000  
HEP              
Debt Instrument [Line Items]              
Maximum borrowing capacity under revolving credit agreement     1,200,000,000   1,200,000,000    
Outstanding borrowing     706,000,000   706,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     4.98%   4.98%    
Proceeds from issuance of senior notes - HEP         $ 400,000,000 $ 0  
HF Sinclair Credit Agreement              
Debt Instrument [Line Items]              
Maximum borrowing capacity under revolving credit agreement $ 1,650,000,000            
HF Sinclair Credit Agreement | Secured Overnight Financing Rate (SOFR) | Minimum              
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 | LIBOR | Minimum              
Debt Instrument [Line Items]              
Variable rate spread 1.25%            
HF Sinclair Credit Agreement | LIBOR | Maximum              
Debt Instrument [Line Items]              
Variable rate spread 2.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%            
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%            
HollyFrontier 5.875% Senior Notes              
Debt Instrument [Line Items]              
Stated interest rate 5.875%            
HollyFrontier 4.500% Senior Notes              
Debt Instrument [Line Items]              
Stated interest rate 4.50%            
HF Sinclair 2.625% Senior Notes              
Debt Instrument [Line Items]              
Stated interest rate 2.625%            
HF Sinclair 5.875% Senior Notes              
Debt Instrument [Line Items]              
Stated interest rate 5.875%            
HF Sinclair 4.500% Senior Notes              
Debt Instrument [Line Items]              
Stated interest rate 4.50%            
5.000% Senior Notes | HEP              
Debt Instrument [Line Items]              
Stated interest rate     5.00%   5.00%    
Aggregate principal amount of senior note     $ 500,000,000   $ 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 - HEP   $ 393,000,000