Magistrates were told that the accused was caught after being discovered by a customer who then alerted staff, the UK's Daily Mail reported.
Singh fled but was tracked by the CCTV operators and his image was passed to police officials.
Police arrested Singh, from Handsworth, Birmingham, 10 days later after he was recognised at junction 7 of the M6 motorway.
Singh has also been charged with a similar offence where he peeped into the ladies room of the restaurant chain on February 3.
Singh has been handed an anti-social behaviour order, banning him from women's changing rooms, toilets and all 1,200 McDonald's branches in England and Wales.
Singh denied the charges but was found guilty of secretly "observing another person doing a private act for sexual gratification" after a trial at Birmingham Magistrates Court on July 20.
It is the first time a Peeping Tom has been banned from the fast food chain after committing a sexual offence on the premises.
Singh was given a six-month conditional discharge and handed a 12-month community order. He was also ordered to carry out 100 hours unpaid work and pay 50 pounds ($80) compensation to each victim and a further 620 pounds ($985) in court costs.