The present disclosure disclosed a device and a method for cleaning excrements. The device comprises a cleaning machine, an outer cover an inner body. The outer cover is wearable to a person and is coupled to the inner body. The inner body comprises at least one sensor and a cleaning assembly. The sensor is configured for sensing excrement and triggering the cleaning machine to collect the excrement through the tube. The cleaning assembly is connected to the cleaning machine and is configured for cleaning the person. The method comprises acts of cleaning excrement based on the modes and the excrement sensed result. Therefore, the present disclosure is able to assist people without autonomy to clean up excrements in a comfortable manner without others help.