The invention discloses an automated biogas collecting system for livestock and poultry husbandry. The automated biogas collecting system comprises a pigsty, wherein a fermentation bed is arranged in one half of the interior of the pigsty, a filter plate is arranged in the other half of the interior of the pigsty, a biogas digester is further arranged below the pigsty, the bottom, located below the filter plate, of the biogas digester is of an inclined flat face, the fermentation bed part is made of metallic flat plates, rotating shafts are arranged at the two sides of each metallic flat plate, through holes corresponding to the rotating shafts are formed in the ground of the pigsty, and the metallic flat plates can turn along the rotating shafts. According to the automated biogas collecting system for the livestock and poultry husbandry, provided by the invention, the filter plate is arranged in the pigsty so as to treat liquid in excrement of breeding pigs and discharge the liquid into the biogas digester, manure is subjected to preliminary fermentation in the fermentation bed, and the swine excrement is discharged into the biogas digester periodically, and thus the organic combination of excrement treatment by the fermentation bed and the biogas digester is achieved, so that zero discharge is achieved, environmental pollution is avoided, the requirements of live pigs on benefits can be met, and land saving, water saving, labor saving and the like are also achieved.