Cooperation between specialized livestock and crop farms can reduce environmental footprints and increase net profits in livestock production.