Palmyra is a borough in Lebanon County, Pennsylvania, United States. It is part of the Lebanon, Pennsylvania Metropolitan Statistical Area. The population was 7,807 at the 2020 census. Palmyra is located at 40°18′29″N 76°35′38″W / 40.307960°N 76.593782°W.