Heidlersburg is located at the crossroads of Pennsylvania Route 234 and Old Harrisburg Road, the former U.S. Route 15. Route 15 now bypasses the town to the east, with access from an exit at Route 234. Gettysburg is 9 miles (14 km) to the south, and Harrisburg is 28 miles (45 km) to the north.
Heidlersburg used to be known as Starry Town. It contains a few garages. There is a volunteer fire company, Company 25. The two churches in Heidlersburg are Heidlersburg United Brethren in Christ Church and St. Mark's Lutheran Church.