The Brisbane Valley railway line was a railway connection in Queensland, Australia connecting Ipswich, west of Brisbane, to the upper Brisbane River valley. Progressively opened between 1884 and 1913, the railway provided a vital transport link between Ipswich and Yarraman and forged development and prosperity along its path. The line acquired its serpentine reputation because it did not take a straight course when faced with a hill or gully.