Ancaster is a community and former municipality in Hamilton, Ontario, Canada, located on the Niagara Escarpment.