Pilrig lies midway between Leith and Edinburgh, west of Leith Walk. It is split by Pilrig Street, which marks the division between the EH6 and EH7 postcode districts (also the old division between Edinburgh and Leith hence the name of the bar opposite being originally the Boundary Bar,then City Limits and now known simply as "the Boundary"). Along the north-east side of Pilrig Street lies Pilrig Park, within which is Pilrig House, the heart of the former estate of the Balfour family. The 19th-century Rosebank Cemetery is located at the west end of Pilrig Street, at the junction of Broughton Road.