Due to COVID-19 Kereta Api Indonesia has made new rules for boarding a train, amongst others the need to show a negative corona test. Check the KAI website before booking.
Looking for a train ticket to Cilacap? Find here easily all available train tickets and other relevant information. You can search for cheap train tickets to Cilacap and easily compare ticket prices for different dates and stations.
These are the stations near Cilacap for which you can book a train ticket online. There may be more stations near Cilacap but they are only for local trains.