It is understood the deceased was married with children.
Gardaí said they responded to reports of a workplace accident in the Castletown area shortly after 12.30pm on Tuesday afternoon.
The man in his thirties, who is yet to be named, is reported to have suffered fatal injuries.
Gardaí and the Health and Safety Authority are investigating, and the local coroner has been notified.
It is understood the deceased was married with children.
It's the second incident on a farm in three days. An investigation was launched after a man was seriously injured while working on his farm in Co Cavan at the weekend.
He was air-lifted to hospital in Dublin after emergency services were called to the scene at Butlerbsbridge, shortly before 11am on Saturday morning.
The Health and Safety Authority are also investigating this incident.

Irish Rugby Legend Sets Off On Kildare Leg Of Nine-Marathon Charity Event
The 95th Edition Of The National Ploughing Championships Gets Underway This Morning
Occupied Territories Bill Comes Into Effect
EU To Propose Social Media Restrictions For Under 15s
Revolut Scammed After Passing On Data To "Unauthorised Third Party"
"Westminster's Time Is Coming To An End": SF, SNP, And Plaid Cyrmu Call On British Government For Constitutional Change
Trump Removes Whiskey Levy For Ireland Only
Trump Attends Irish Open In Doonbeg After Protests Over Ireland Visit