You can reach Koyasan from major cities such as Osaka or Kyoto by train. The closest station is Gokurakubashi Station, which is about one hour from Osaka or Kyoto by train. From Gokurakubashi Station, you can take the Nankai Koya Line to Koyasan Station.