The best time to book train tickets for discounts is typically several weeks in advance. Many rail companies release tickets up to 90 days before the travel date, and prices are often lower when booked early.