Police said they were called at around 3.30pm today (Friday) to reports of an incident close to Outwood railway station, near Wakefield.
A deceased male was found at the scene.
The incident is not thought to be suspicious and enquiries are ongoing, a police spokesman added.