About 55 miles northwest of Beijing lies the impressive ancient cave dwelling site of Guyaju. The complex, which resembles stone apartment buildings, is believed to have been carved from the cliff faces by the Xiyi ethnic minority during the Tang dynasty (618-907 AD).
Guyaju is off the main tourist circuit and takes a bit more effort to visit than Beijing's flagship tourist destinations. Either hire a driver for the day, or take the 919 bus from the Deshengmen transport hub. At Xiaying, change to bus 920, and then exit at the Xiaying stop. Minibus drivers will transport you the final leg of the journey. Admission is RMB 40 but free for young children.