Located in Western New York on the eastern shores of Lake Erie and at the head of the Niagara River across from Fort Erie, Ontario, Canada, Buffalo is the principal city of the Buffalo-Niagara Falls metropolitan area, the largest in Upstate New York and 45th largest in the United States.