A 42-year-old Shoalwater man appeared Rockingham Magistrates Court accused of spitting at passengers on a Transperth train on March 17.
Clinton James Warra pleaded not guilty to two counts of assault.
Police claim he walked past the two victims – aged 58 and 71 years old – and made a guttural noise before spitting at them.
Get in front of tomorrow's news for FREE
Journalism for the curious Australian across politics, business, culture and opinion.
READ NOWThey were travelling on the Mandurah line at the time.
He will reappear on December 12 for a trial allocation date.
MORE: Perth weather: sun’s out but storms could be coming
MORE: West Australians getting more frustrated with telecommunications services, NBN a big headache
MORE: Need for Swan River flood barrier: UWA study
MORE: Woman who used own Flybuys cards on purchases made with stolen credit card avoids prison