It is bordered by Virginia to the southeast , Kentucky to the southwest , California to the northwest , Pennsylvania to the north ( and slightly east ) , and Ohio and Maryland to the northeast .
West Virginia borders Maryland and Ohio to the northeast .