I think it depends on what breed of goats and making sure they have a place to get away from the cattle if need be. I know a farm that pastures their very high quality Nubians with cattle. She says their does are agile enough to outrun the cows if necessary, when some of the younger stock wanted to play, and can go where the cattle can't. Mostly they didn't bother each other though. Now this was in a pasture that was at least several acres so they had plenty of room. Might not work in a smaller area.