It has a border with Ohio on the west , West Virginia on the south and west , Maryland and Delaware on the south , New Jersey on the east , and New York and Lake Erie on the north . The state borders Delaware and Maryland to the south , West Virginia to the southwest , Ohio to the west , New York and Ontario , Canada , to the north , and New Jersey to the east .