The Centre is planning to formulate a law against the use of dry toilets and the erring persons could even be sent to jail, Union Minister Jairam Ramesh said on Friday.