The cost of ecstasy rehab varies depending on the type of program and facility. Inpatient programs typically range from $10,000 to $30,000 for a 30-day stay, while outpatient programs cost between $5,000 and $10,000. Detox services may add $1,000 to $5,000. Luxury rehabs offering upscale amenities can cost significantly more. Many centers accept insurance, and financial aid or payment plans may be available to reduce costs.