Buses from Edinburgh Bus Station to Stirling take around one hour 30 minutes. If you prefer the train – the journey time from Edinburgh Waverley to Stirling is less than an hour for most trains. A further 10-15 minutes walk, mostly uphill, will take you to the castle.