Catalyzes the hydrolysis of acyl-CoAs into free fatty acids and coenzyme A (CoASH), regulating their respective intracellular levels. Active on long chain acyl-CoAs. Belongs to the acyl coenzyme A hydrolase family.