Parlindungan Siregar broke into the house of Asgim Irianto, 60, in South Tapanuli Regency of North Sumatra and attacked him with a wooden stick on the evening of July 29, Indonesian news site Kompas reported, citing local police.
According to the police, Asgim's wife stated that the victim tried to run to the street but was chased by Parlindungan, who knocked him down and repeatedly struck him on the head.
Residents in the area intervened to stop the beating and took Asgim to hospital, but he succumbed to severe injuries.
The police arrested Parlindungan about an hour later.
After his arrest, Parlindungan confessed that he attacked his neighbor because he felt "hurt" by the latter's frequent teasing about why he was still unmarried at the age of 45, The Strait Times reported.
Local media reported that the two had previous conflicts related to their chickens, which often strayed into each other's coops.