Controlled discharge sanitary system is a step towards "Eco-friendly sanitary system" which focuses on ensuring the faecal matter from the railways not to be disposed on railway tracks. It generates the energy for the remote areas with the help of biogas plant. Thus this will keep the city, countryside, railway station premises and the railway tracks hence this idea helps to keep environment clean and produce alternate energy for society.