Leixlip is a town in north-east County Kildare, Ireland. It is situated about 16 km (10 mi) west of Dublin city centre, and parts of the town's outskirts are in County Dublin. Its location on the confluence of the River Liffey and the Rye Water has marked it as a frontier town historically: on the border between the ancient kingdoms of Leinster and Brega, as an outpost of the Pale, and on Kildare's border with County Dublin. Leixlip was also a civil parish in the ancient barony of Salt North.