You cannot buy train tickets if your ID card has expired. According to relevant laws and regulations of our country, ticket buyers need to hold valid ID documents to purchase tickets. Expired ID cards are not considered valid documents. Therefore, in order to purchase tickets smoothly, it is recommended that you change your ID card in time.