Police were called at 2.04pm on Thursday and attended a house on Whinney Hill Park in Brighouse and found a body of a man.
The 28-year-old man was pronounced deceased at the scene.
A 38-year-old man was arrested in connection with this incident but has been released pending further investigations.
Enquiries are ongoing.
Anyone with any information is asked to contact the Homicide and Major Enquiry Team via 101 quoting crime reference number 13180172665 or information can also be given to Crimestoppers anonymously on 0800 555 111.