In the pilot study, 10 participants with cocaine use disorder will have 10 treatment days over 2 weeks. Half will be inpatient and half will be outpatient. They will have 2 follow-up visits. Treatment includes: