v2.4.1.9
Related Party Transactions (Details 2) (USD $)
In Thousands, unless otherwise specified
3 Months Ended
Mar. 31, 2015
Mar. 31, 2014
Dec. 31, 2014
Related Party Transaction [Line Items]      
Cost of product sold $ 25,769us-gaap_CostOfGoodsSoldExcludingDepreciationDepletionAndAmortization $ 21,708us-gaap_CostOfGoodsSoldExcludingDepreciationDepletionAndAmortization  
Accounts payable, due to affiliates 1,752us-gaap_DueToAffiliateCurrent   2,279us-gaap_DueToAffiliateCurrent
Petroleum coke | Coke Supply Agreement      
Related Party Transaction [Line Items]      
Cost of product sold 1,800us-gaap_CostOfGoodsSoldExcludingDepreciationDepletionAndAmortization
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
2,200us-gaap_CostOfGoodsSoldExcludingDepreciationDepletionAndAmortization
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
 
Accounts payable, due to affiliates $ 300us-gaap_DueToAffiliateCurrent
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
  $ 500us-gaap_DueToAffiliateCurrent
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
Petroleum coke | CRNF | Coke Supply Agreement | CRRM      
Related Party Transaction [Line Items]      
Percentage of annual production of pet coke to be delivered 100.00%uan_RelatedPartyTransactionPercentageOfAnnualProductionOfProductToBeDelivered
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
/ us-gaap_RelatedPartyTransactionsByRelatedPartyAxis
= uan_CoffeyvilleResourcesRefiningAndMarketingLLCMember
   
Annual production of pet coke 500,000uan_RelatedPartyTransactionAnnualProductionVolumeOfProductToBeDelivered
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
/ us-gaap_RelatedPartyTransactionsByRelatedPartyAxis
= uan_CoffeyvilleResourcesRefiningAndMarketingLLCMember
   
Period for which average percentage of pet coke is obtained from CRRM's adjacent crude oil refinery 5 years    
Pet coke price used to calculate the UAN-based price under the related party agreement (in dollars per ton) 25uan_RelatedPartyTransactionRatePetroleumCokePriceUsedToDetermineUreaAmmoniumNitrateBasedPrice
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
/ us-gaap_RelatedPartyTransactionsByRelatedPartyAxis
= uan_CoffeyvilleResourcesRefiningAndMarketingLLCMember
   
UAN-based netback price, exclusive of transportation cost, under the related party agreement (in dollars per ton) 205uan_RelatedPartyTransactionRateUreaAmmoniumNitrateBasedNetbackPriceExclusiveOfTransportationCost
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
/ us-gaap_RelatedPartyTransactionsByRelatedPartyAxis
= uan_CoffeyvilleResourcesRefiningAndMarketingLLCMember
   
Pet coke price adjustment for every $1.00 change in the UAN netback price, exclusive of transportation cost, used to calculate the UAN-based price under the related party agreement (in dollars per ton) 0.5uan_RelatedPartyTransactionRatePetroleumCokePriceAdjustmentUsedToDetermineUreaAmmoniumNitrateBasedPrice
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
/ us-gaap_RelatedPartyTransactionsByRelatedPartyAxis
= uan_CoffeyvilleResourcesRefiningAndMarketingLLCMember
   
UAN-based netback price change, exclusive of transportation cost, under the related party agreement (in dollars per ton) 1uan_RelatedPartyTransactionRateUreaAmmoniumNitrateBasedChangeToNetbackPriceExclusiveOfTransportationCost
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
/ us-gaap_RelatedPartyTransactionsByRelatedPartyAxis
= uan_CoffeyvilleResourcesRefiningAndMarketingLLCMember
   
Minimum | Petroleum coke | CRNF | Coke Supply Agreement | CRRM      
Related Party Transaction [Line Items]      
Monthly production volume of product which allows for the purchasing party the option to purchase any excess at rates stated in the agreement 41,667uan_RelatedPartyTransactionMonthlyProductionVolumeOfProductAllowingForOptionToPurchaseExcessAtAgreementRate
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
/ us-gaap_RelatedPartyTransactionsByRelatedPartyAxis
= uan_CoffeyvilleResourcesRefiningAndMarketingLLCMember
   
Average percentage of pet coke obtained during the last five years from CRRM's adjacent crude oil refinery 70.00%uan_RelatedPartyTransactionAveragePercentageOfProductObtainedDuringLastFiveYears
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
/ us-gaap_RelatedPartyTransactionsByRelatedPartyAxis
= uan_CoffeyvilleResourcesRefiningAndMarketingLLCMember
   
Pet coke price used to calculate the UAN-based price under the related party agreement (in dollars per ton) 5uan_RelatedPartyTransactionRatePetroleumCokePriceUsedToDetermineUreaAmmoniumNitrateBasedPrice
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
/ us-gaap_RelatedPartyTransactionsByRelatedPartyAxis
= uan_CoffeyvilleResourcesRefiningAndMarketingLLCMember
   
Maximum | Petroleum coke | CRNF | Coke Supply Agreement | CRRM      
Related Party Transaction [Line Items]      
Pet coke price used to calculate the UAN-based price under the related party agreement (in dollars per ton) 40uan_RelatedPartyTransactionRatePetroleumCokePriceUsedToDetermineUreaAmmoniumNitrateBasedPrice
/ us-gaap_EnergyAxis
= uan_CokeSupplyAgreementMember
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
/ us-gaap_ProductOrServiceAxis
= uan_PetroleumCokeMember
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
/ us-gaap_RelatedPartyTransactionsByRelatedPartyAxis
= uan_CoffeyvilleResourcesRefiningAndMarketingLLCMember