2.4.0.841204 - Disclosure - Employee Benefit Plans (Compensation Expense Recognized and Shares Issued Under Employee Stock Purchase Plan) (Details)truefalseIn Thousands, except Share data, unless otherwise specifiedfalse1false
USDfalsefalse$Duration_7_1_2012_To_6_30_2013http://www.sec.gov/CIK0001343719duration2012-07-01T00:00:002013-06-30T00:00:00Unit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$Duration_7_1_2011_To_6_30_2012http://www.sec.gov/CIK0001343719duration2011-07-01T00:00:002012-06-30T00:00:00Unit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false
USDfalsefalse$Duration_7_1_2010_To_6_30_2011http://www.sec.gov/CIK0001343719duration2010-07-01T00:00:002011-06-30T00:00:00Unit1Standardhttp://www.xbrl.org/2003/instancesharesxbrli0Unit12Standardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
1us-gaap_CompensationAndRetirementDisclosureAbstractus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
2exxi_CompensationExpenseRelatedEmployeeStockPurchasePlanexxi_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse813000813USD$falsetruefalse | 2truefalsefalse729000729USD$falsetruefalse | 3truefalsefalse567000567USD$falsetruefalse | xbrli:monetaryItemTypemonetaryCompensation Expense Related To Employee Stock Purchase PlansNo definition available.false2
3false
2us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlansus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse7480674806falsefalsefalse | 2truefalsefalse4698546985falsefalsefalse | 3truefalsefalse115323115323falsefalsefalse | xbrli:sharesItemTypesharesNumber of shares issued during the period as a result of an employee stock purchase plan.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 04
-Article 3
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section 50
-Paragraph 2
-URI http://asc.fasb.org/extlink&oid=6928386&loc=d3e21463-112644
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 505
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SX 210.3-04)
-URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Regulation S-X (SX)
-Number 210
-Section 02
-Paragraph 29, 30
-Article 5
false1
falseEmployee Benefit Plans (Compensation Expense Recognized and Shares Issued Under Employee Stock Purchase Plan) (Details) (USD $)ThousandsNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.energyxxi.com/20130331/role/DisclosureEmployeeBenefitPlansCompensationExpenseRecognizedAndSharesIssuedUnderEmployeeStockPurchasePlanDetails33