Catalyzes the hydrolysis of acyl-CoAs into free fatty acids and coenzyme A (CoASH), regulating their respective intracellular levels (By similarity). Active with both medium chain and long chain acyl-CoAs as substrates (By similarity). a fatty acyl-CoA + H2O = a fatty acid + CoA + H(+) Lipid metabolism; fatty acid metabolism. Homotetramer. Predominantly localized in the peroxisome but a localization to the cytosol cannot be excluded. Belongs to the C/M/P thioester hydrolase family. Extended N-terminus.