v3.10.0.1
Document And Entity Information - USD ($)
$ in Billions
6 Months Ended
Jun. 30, 2018
Jul. 27, 2018
Jun. 30, 2017
Document And Entity Information [Abstract]      
Entity Registrant Name HollyFrontier Corp    
Entity Central Index Key 0000048039    
Current Fiscal Year End Date --12-31    
Entity Filer Category Large Accelerated Filer    
Document Type 10-Q    
Document Period End Date Jun. 30, 2018    
Document Fiscal Year Focus 2018    
Document Fiscal Period Focus Q2    
Amendment Flag false    
Entity Common Stock, Shares Outstanding   176,175,461  
Entity Public Float     $ 4.5