You can take the direct Student Agency line to Carlsbad. From here there are local buses to Loket. The journey from Prague would take about 3 hours. www.idos.cz
The journey from Prague to Loket by train takes about 3 hours and 45 minutes. You have to change the line in Nové Sedlo or in Chodov and use a small diesel train, which will take you to the Loket train station. From here it is about 10 minutes slightly uphill towards the town center. Once you reach the center, you can head to the castle as the hostel is situated right beneath its stairway.
Take the direct E48 / R6 road to Carlsbad, then follow the signs to Sokolov and Cheb (still via E48 / R6), after 8 kms you can see the sign to Loket, from the highway exit it is just about 2 kms to our hostel. The journey from Prague is about 140 kms and takes about two hours. Parking in front of the hostel is possible. GPS: 50.1864175N, 12.7544800E