A tanning wastewater recycling device and method based on electrochemistry and ultrafiltration relate to the treatment of one kind of wastewater. The invention provides a tanning wastewater recycling device and method based on electrochemistry and ultrafiltration, wherein the device and method have high CODCr removal rate (chemical oxygen demand), low chemical agent consumption, low sludge yield, thorough treatment and high water reuse rate. The device is provided with a grid filter, an adjusting pool, a hydraulic sizer, a nanocatalysis electrolysis flocculating machine, a sedimentation tank, an air floatation device, a biochemical tank, a secondary sedimentation tank, a secondary nanocatalysis electrolysis flocculating machine, a filter and a filter press. The method comprises the steps of flocculation and filtration, nanocatalysis electrolysis, sedimentation, air floatation, biochemical treatment, secondary catalysis electrolysis, filtration and ultrafiltration.