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_truenadurationfalsefalsefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 2exxi_CompensationExpenseRelatedEmployeeStockPurchasePlanexxi_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse813000813USD$falsetruefalse2truefalsefalse729000729USD$falsetruefalse3truefalsefalse567000567USD$falsetruefalsexbrli:monetaryItemTypemonetaryCompensation Expense Related To Employee Stock Purchase PlansNo definition available.false23false 2us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlansus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse7480674806falsefalsefalse2truefalsefalse4698546985falsefalsefalse3truefalsefalse115323115323falsefalsefalsexbrli: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 false1falseEmployee Benefit Plans (Compensation Expense Recognized and Shares Issued Under Employee Stock Purchase Plan) (Details) (USD $)ThousandsNoRoundingUnKnownUnKnowntruefalsefalseSheethttp://www.energyxxi.com/20130331/role/DisclosureEmployeeBenefitPlansCompensationExpenseRecognizedAndSharesIssuedUnderEmployeeStockPurchasePlanDetails33