2.4.0.840905 - Disclosure - Derivative Financial Instruments (Schedule of Cash Flow Hedging Relationship of Derivative Instruments) (Details)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$Duration_7_1_2012_To_6_30_2013http://www.sec.gov/CIK0001343719duration2012-07-01T00:00:002013-06-30T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$Duration_7_1_2011_To_6_30_2012http://www.sec.gov/CIK0001343719duration2011-07-01T00:00:002012-06-30T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3falseUSDfalsefalse$Duration_7_1_2010_To_6_30_2011http://www.sec.gov/CIK0001343719duration2010-07-01T00:00:002011-06-30T00:00:00Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true3us-gaap_DerivativeInstrumentsGainLossLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false4us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3105100031051USD$falsetruefalse2truefalsefalse-126087000-126087USD$falsetruefalse3truefalsefalse9619000096190USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe effective portion of gains and losses (net) on derivative instruments designated and qualifying as hedging instruments that was recognized in other comprehensive income during the current period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4C
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959
false23false4us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-25876000-25876USD$falsefalsefalse2truefalsefalse-22372000-22372USD$falsefalsefalse3truefalsefalse-7422000-7422USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe effective portion of net gain (loss) reclassified from accumulated other comprehensive income into income on derivative instruments designated and qualifying as hedging instruments.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4C
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4D
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624177-113959
false24false4us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse881000881USD$falsefalsefalse2truefalsefalse-3479000-3479USD$falsefalsefalse3truefalsefalse-21000-21USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe portion of gains and losses (net) on derivative instruments designated and qualifying as hedging instruments representing (a) the amount of the hedge ineffectiveness and (b) the amount, if any, excluded from the assessment of hedge effectiveness.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4C
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 25
-Section 50
-Paragraph 1
-Subparagraph (a)(1),(2)
-URI http://asc.fasb.org/extlink&oid=6886632&loc=d3e76258-113986
false25false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falseUSDtruefalse$Duration_7_1_2012_To_6_30_2013_us-gaap_IncomeStatementLocationAxis_us-gaap_SalesMemberhttp://www.sec.gov/CIK0001343719duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseRevenues [Member]us-gaap_IncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_SalesMemberus-gaap_IncomeStatementLocationAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse06true3us-gaap_DerivativeInstrumentsGainLossLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse07false4us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse-25876000-25876USD$falsefalsefalse2truefalsefalse-22372000-22372USD$falsefalsefalse3truefalsefalse-7422000-7422USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe effective portion of net gain (loss) reclassified from accumulated other comprehensive income into income on derivative instruments designated and qualifying as hedging instruments.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4C
-Subparagraph (c)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4D
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624177-113959
false28false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse7falseUSDtruefalse$Duration_7_1_2012_To_6_30_2013_us-gaap_IncomeStatementLocationAxis_exxi_LossGainOnDerivativeFinancialInstrumentsMemberhttp://www.sec.gov/CIK0001343719duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseLoss (Gain) on Derivative Financial Instruments [Member]us-gaap_IncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldiexxi_LossGainOnDerivativeFinancialInstrumentsMemberus-gaap_IncomeStatementLocationAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse09true3us-gaap_DerivativeInstrumentsGainLossLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse010false4us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse881000881USD$falsefalsefalse2truefalsefalse-3479000-3479USD$falsefalsefalse3truefalsefalse-21000-21USD$falsefalsefalsexbrli:monetaryItemTypemonetaryThe portion of gains and losses (net) on derivative instruments designated and qualifying as hedging instruments representing (a) the amount of the hedge ineffectiveness and (b) the amount, if any, excluded from the assessment of hedge effectiveness.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4C
-Subparagraph (d)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 25
-Section 50
-Paragraph 1
-Subparagraph (a)(1),(2)
-URI http://asc.fasb.org/extlink&oid=6886632&loc=d3e76258-113986
false211false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse10falseUSDtruefalse$Duration_7_1_2012_To_6_30_2013_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMemberhttp://www.sec.gov/CIK0001343719duration2012-07-01T00:00:002013-06-30T00:00:00falsefalseCommodity Contracts [Member]us-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CommodityContractMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberUnit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse012true3us-gaap_DerivativeInstrumentsGainLossLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse013false4us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNetus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse3105100031051USD$falsetruefalse2truefalsefalse-126087000-126087USD$falsetruefalse3truefalsefalse9619000096190USD$falsetruefalsexbrli:monetaryItemTypemonetaryThe effective portion of gains and losses (net) on derivative instruments designated and qualifying as hedging instruments that was recognized in other comprehensive income during the current period.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4C
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624171-113959
false2falseDerivative Financial Instruments (Schedule of Cash Flow Hedging Relationship of Derivative Instruments) (Details) (USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.energyxxi.com/20130331/role/DisclosureDerivativeFinancialInstrumentsScheduleOfCashFlowHedgingRelationshipOfDerivativeInstrumentsDetails313