St Marys is a suburb in western Sydney, in the state of New South Wales, Australia. It is 45 kilometres west of the Sydney central business district, in the local government area of the City of Penrith. St Marys sits between South Creek which forms the western boundary and Ropes Creek, its eastern boundary.