York Factory was a settlement and Hudson's Bay Company (HBC) factory (trading post) located on the southwestern shore of Hudson Bay in northeastern Manitoba, Canada, at the mouth of the Hayes River, approximately 200 kilometers south-southeast of Churchill.