v3.20.4

Related Party Transactions - Terminal and Operating Agreement (Details) - CRT - Terminal and Operating Agreement - The Coffeyville Facility | 12 Months Ended
--- | ---
Dec. 31, 2020 USD ($) $ / T
Related Party Transaction [Line Items] |
Prior written notice required to terminate initial lease term | 180 days
Automatic renewal of agreement, term of each successive renewal | 5 years
Prior written notice required to terminate renewal lease term | 180 days
Amount required to pay per year for rent | $ | $ 1.00
Amount required to pay per ton of UAN placed into the terminal (in dollars per ton) | 4.00
Amount required to pay per ton of UAN taken out of the terminal (in dollars per ton) | 4.00

X
- Definition Related Party Transaction, Additional Renewal Term + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionAdditionalRenewalTerm
Namespace Prefix: | cvi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related Party Transaction, Amount Due Per Ton of UAN Placed into Terminal + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionAmountDuePerTonOfUANPlacedIntoTerminal
Namespace Prefix: | cvi_
Data Type: | srt-types:perUnitItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related Party Transaction, Amount Due Per Ton of UAN Taken Out of Terminal + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionAmountDuePerTonOfUANTakenOutOfTerminal
Namespace Prefix: | cvi_
Data Type: | srt-types:perUnitItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related Party Transaction, Annual Rent Expense + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionAnnualRentExpense
Namespace Prefix: | cvi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Related Party Transaction, Written Notice To Terminate Initial Lease Term, Period Of Notice Required + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionWrittenNoticeToTerminateInitialLeaseTermPeriodOfNoticeRequired
Namespace Prefix: | cvi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related Party Transaction, Written Notice To Terminate Renewal Lease Term, Period Of Notice Required + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionWrittenNoticeToTerminateRenewalLeaseTermPeriodOfNoticeRequired
Namespace Prefix: | cvi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=cvi_CoffeyvilleResourcesTerminalLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=cvi_TerminalAndOperatingAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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