The present invention relates to a foodstuff for pigs that has a high percentage of moisture and a pasty consistency. The paste foodstuff is prepared from meal made from grains cooked in alkali and ingredients that are commonplace in animal nutrition, with subsequent mixing with water in order to form a paste prior to serving in a free-access trough. The advantages thereof include a reduction in the amount of foodstuff consumed by the animal and a reduction in the amount of foodstuff wasted, thereby enhancing the foodstuff conversion efficiency and thus reducing overall nutrition costs in a pig-rearing facility. The invention includes the paste foodstuff and the method for the production thereof.