Rail Corporation New South Wales (RailCorp) was an agency of the State of New South Wales, Australia established under the Transport Administration Act 1988 in 2004. It was a division under the control of Transport for NSW since the latter's establishment in 2011. RailCorp was converted into a state-owned corporation and renamed Transport Asset Holding Entity (TAHE) on 1 July 2020.