Cains Foods, which has an annual revenue of around $80m and employs around 100 staff, supplies the retail and foodservice market with products sold under private label store brands and the Cains, Naturally Delicious and Olde Cape Cod brands.
Its facilities include a fully-owned food processing plant and a leased distribution facility in Ayer.
The deal is expected to close within 30 days and will be financed through borrowings under TreeHouse's existing $750m credit facility.
"Cains has a nearly 100 year tradition of manufacturing high quality products, and this is a very good business with experienced management and a dedicated team of employees," said TreeHouse CEO Sam K. Reed.
"Cains will be a great fit within the TreeHouse family, rounding out our industry leading assortment of private label pourable and spoonable dressings."