The Midland line is a suburban rail service on the Transperth network in Perth, Western Australia. It runs on the Eastern Railway through Perth's eastern suburbs and connects Midland with Perth. Travelling from Midland, the trains terminate at Fremantle on the Fremantle line.