Robert Newman, 23, originally denied having sex with the living animal in a barn in Wiltshire, south west England, but he later changed his plea and admitted the charge.
Speaking at North West Wiltshire Magistrates Court, Newman said: “I don’t want to be this bad person anymore, I just want to get on with my life and do good.
“I want to stand before you and say I am sorry and I just want to be back with my family.”
The goat’s female owner – who was not named – said: “My husband is worried about me being on the farm on my own.
“This person has cost us a considerable amount of money because we have had to install security cameras.
“We have also had to pay for vets fees and antibiotics for the injuries sustained by the goat.”
But solicitor Anne Ellery, defending, told the court Newman’s behaviour was a “symptom of isolation rather than depravity”.