This replication package contains code and documentation for reproducing the analyses in "With whom and doing what? Time-use differences among rural and urban older adults in China," published in Chinese Sociological Review. The original data are not included in this repository. Users must obtain access to the original data from the National Bureau of Statistics of China. After obtaining the data, users should place the raw data files in the directories specified in the README file and follow the replication instructions provided in this package. This package includes data processing scripts, analysis scripts, rendered log files, and instructions for generating the main tables and figures.